Hi I have search here and I have see I’m not alone but have not find if someone have got it to work.
I have a windows server that run Milestone security system and also have a web client.
The old version I can disable websock but it looks like it I can’t do d that in the latest version (Have ask for help from the support if I can disable it).
I use Reverse proxy so my https address go to the server and I can login but I can’t see my camera.
It just loading and loading and loading nothing more.
I run the latest update of Nethserver and still not got it to work.
Do I have to add something or do any work around to get my https to work with websock.
With the newest version of NS there should be a check box to activate automatic websocket handling in the reverse proxy settings. Try to enable this (let websocket path empty).
Well I do not get any error.
I can access the web client thru Proxy reverse and I can login but after that I just see my three camera just loading and loading and nothing more. No error at all
when I’m home and access the web client from my network with IP to the server and not thru Proxy reverse I have no problem to watch my camera.
Try to check “host header to target”. Also I had problems forwarding https to http, whereas I had fewer porblems with https to https. If destination server also supports https you could try that.
To debug look in the borwser log (F12 in Firefox" what the problem is or use fiddler.
I have check “host header to target” and it same problem. I can’t change the target address to https because server does not like it. Not even if I trying in my local network with IP address.
I have look in the debug log (F12 in firefox) with IP address in the local network and it looks fine. No error and it show the camera. I then trying same with the subdomain and proxy then I get some error.
Server prepared video ID be3f3b0b-5888-40bf-a99b-a3a0edbc0785 for camera 009bab80-d4fb-4892-b168-1a163687660c
Firefox can not establish a connection to the server on wss://vakt.xxxxx.nu/XProtectMobile/Video/be3f3b0b-5888-40bf-a99b-a3a0edbc0785
This is more then one error but I guess I when I have 4 camera it show 4 error, it only change the last id code in the error in the log.
Your destination 192.168.1.4 work only with http not with https, right? Then you have to use http.
What happens, if you look in the Firefox console (F12) when loading the page. Are there any errors?
You could also try fiddler as a man in the middle to check for errors.