IP Camera Viewer Proxy Issue

Hi Guys,

Ignition V7.9.1

Using the IP Camera Viewer to do Jpeg Stills with the following URL works when the client or designer is on the same subnet as the camera.

http://10.30.2.60/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=user&pwd=xxxx

However when using a client that is not directly on the same subnet i use the following URL I get “IOExcetion: URL is not a JPEG image” error.

http://server:8088/main/system/urlproxy?url=http://10.30.2.60/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=user&pwd=xxxx

The URL Proxy is enabled in the Ignition Gateway config file as below and has worked previously on a different camera.

wrapper.java.additional.10=-Dvision.urlproxy.enabled=true

Just wonder if there is a reason that the Proxy might not work in this case?

Cheers for any ideas.

Tim…

Did your previous success including proxying url GET parameters? You might need to urlencode the ? and & delimiters.

:prayer:

URL encoding did the trick

http://server:8088/main/system/urlproxy?url=http://10.30.2.60/cgi-bin/CGIProxy.fcgi%3Fcmd%3DsnapPicture2%26usr%3Duser%26pwd%3Dxxxx

Thanks for the help. :thumb_left:

HI,
It’s a bit old topic… but i try to connect my Hikvision camera trhow the ignition proxy gateway but i get “Exceptio: Receiver HTTP 401: Unauthorized” message (I modified the ignition.conf file to enable the proxy). If i connect directly with the url “http://admin:pass@192.168.100.250/Streaming/channels/102/httppreview” it work perfect, but only with one client-designer, that’s why i’m trying throw the gateway with the url “http://192.168.100.146:8088/main/system/urlproxy?url=http://admin:pass@192.168.100.250/Streaming/channels/102/httppreview” but nothing work. Any suggestion??
Thanks!