Unable to see live Video and Event Videos

Forum for questions and support relating to 1.33.x development only.
Locked
vader699
Posts: 4
Joined: Fri Aug 02, 2013 7:41 am

Unable to see live Video and Event Videos

Post by vader699 »

I just updated to 1.33.14 from 1.32.4. Montage Review works fine. But Live video or montage do not. I am getting net::ERR_SSL_PROTOCOL_ERROR errors on /zm/cgi-bin/zms calls.

I have zoneminder set up behind an Nginx reverse proxy with a letsencrypt cert. The whole set up worked fine until the update. I noticed on the zms calls the URI is https://serverIp:80/zm/cgi-bin/zms?mode ... 1570945054

It appears that port 80 is being inserted into the URI for some reason. This is obviously a mismatch for https which I have running on 443.

Is there a way to change the port it is requesting?

Edit:
I do have a named subdomain that zm is accessed through not directly with an IP.
vader699
Posts: 4
Joined: Fri Aug 02, 2013 7:41 am

Re: Unable to see live Video and Event Videos

Post by vader699 »

I tried watching live video from inside my network connecting directly to the backend via the http://serverIp/zm and video plays just fine.

When looking at the console on my browser it is not inserting the port when over Http. I tried with is the IP address and named with the route in my hosts file.
vader699
Posts: 4
Joined: Fri Aug 02, 2013 7:41 am

Re: Unable to see live Video and Event Videos

Post by vader699 »

It was an error in my Nginx config. My proxy was not setting $_SERVER['HTTP_X_FORWARDED_PORT'] so ZM was assuming port 80. I change my proxy headers to proxy_set_header Host $host:$server_port; Added $server_port and it started working fine.
Locked