2018-04-04 13:52:46.017830 zmcontrol 24129 ERR Cmd:HTTP::Request=HASH(0x2a85a30) zmcontrol.pl
2018-04-04 13:52:45.917550 zmcontrol 24129 ERR Error REALLY check failed:'500 Can't connect to 172.17.255.235:80' zmcontrol.pl
Any help would be appreciated.
The error appears to be coming from here in the FI8918W.pm control script:
Code: Select all
sub sendCmd
{
my $self = shift;
my $cmd = shift;
my $result = undef;
printMsg( $cmd, "Tx" );
# PP Old cameras also support onstep=1 but it is too granular. Instead using moveCon and stop after interval
# PP - cleaned up URL to take it properly from Control device
# Control device needs to be of format user=xxx&pwd=yyy
my $req = HTTP::Request->new( GET=>"http://".$self->{Monitor}->{ControlAddress}."/$cmd"."&".$self->{Monitor}->{ControlDevice});
print ("Sending $req\n");
my $res = $self->{ua}->request($req);
if ( $res->is_success )
{
$result = !undef;
}
else
{
Error( "Error REALLY check failed:'".$res->status_line()."'" );
Error ("Cmd:".$req);
}
return( $result );
}