OnVIF probe detects, but barfs, on PTZ Optics PT-20X

Forum for questions and support relating to the 1.30.x releases only.
Locked
Baylink
Posts: 338
Joined: Sun Jun 19, 2005 3:19 am

OnVIF probe detects, but barfs, on PTZ Optics PT-20X

Post by Baylink »

It detects as "HI-35xx", but when I pick it and put in credentials, and click the button, I get this:

Code: Select all

Unable to probe network cameras, status is '255'. Output was:<br/><br/> No results from GetCapabilities: <Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP-ENV:Server</faultcode><faultstring>Error deserializing message: Bad top node HTML at /usr/share/perl5/ONVIF/Deserializer/MessageParser.pm line 89.<br/> at line 1 at /usr/share/perl5/SOAP/WSDL/Expat/Base.pm line 82.<br/>.<br/>Message was:<br/>&lt;HTML&gt;<br/>&lt;HEAD&gt;&lt;TITLE&gt;404 Not Found&lt;/TITLE&gt;&lt;/HEAD&gt;<br/>&lt;BODY BGCOLOR=&quot;#cc9999&quot; TEXT=&quot;#000000&quot; LINK=&quot;#2020ff&quot; VLINK=&quot;#4040cc&quot;&gt;<br/>&lt;H2&gt;404 Not Found&lt;/H2&gt;<br/>The requested URL &apos;/onvif/device_service&apos; was not found on this server.<br/>&lt;HR&gt;<br/>&lt;ADDRESS&gt;&lt;A HREF=&quot;http://www.acme.com/software/thttpd/&quot;&gt;thttpd/2.25b 29dec2003&lt;/A&gt;&lt;/ADDRESS&gt;<br/>&lt;/BODY&gt;<br/>&lt;/HTML&gt;<br/></faultstring><faultactor>urn:localhost</faultactor></Fault><br/><br/> Please the following command from a command line for more information:<br/><br/>/usr/bin/zmonvif-probe.pl profiles http://10.30.50.52:81/onvif/device_service 1.2 admin enterobserve
Just like that, unescaped HTML and everything! :-)

Here's the requested output:

Code: Select all

jra@pano:/var/log/apache2$ /usr/bin/zmonvif-probe.pl profiles http://10.30.50.52:81/onvif/device_service 1.2 admin enterobserve
No results from GetCapabilities: <Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP-ENV:Server</faultcode><faultstring>Error deserializing message: Bad top node HTML at /usr/share/perl5/ONVIF/Deserializer/MessageParser.pm line 89.
 at line 1 at /usr/share/perl5/SOAP/WSDL/Expat/Base.pm line 82.
.
Message was:
&lt;HTML&gt;
&lt;HEAD&gt;&lt;TITLE&gt;404 Not Found&lt;/TITLE&gt;&lt;/HEAD&gt;
&lt;BODY BGCOLOR=&quot;#cc9999&quot; TEXT=&quot;#000000&quot; LINK=&quot;#2020ff&quot; VLINK=&quot;#4040cc&quot;&gt;
&lt;H2&gt;404 Not Found&lt;/H2&gt;
The requested URL &apos;/onvif/device_service&apos; was not found on this server.
&lt;HR&gt;
&lt;ADDRESS&gt;&lt;A HREF=&quot;http://www.acme.com/software/thttpd/&quot;&gt;thttpd/2.25b 29dec2003&lt;/A&gt;&lt;/ADDRESS&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;
</faultstring><faultactor>urn:localhost</faultactor></Fault>
Can't call method "GetProfiles" on an undefined value at /usr/bin/zmonvif-probe.pl line 245.
Both devices on the same LAN; this installation (1.30.4 on Ubuntu Server 16.04.03LTS) correctly probes my other cameras, which are all identical TrendNet IP-314PI's; I'm told those are Hikvision hardware.

Any thoughts? I can probably set it up manually, but I thought I'd try to contribute to this fix as well...
erickit
Posts: 1
Joined: Mon Nov 27, 2017 2:30 am

Re: OnVIF probe detects, but barfs, on PTZ Optics PT-20X

Post by erickit »

Same issue here with a FOSCAM camera
Locked