Nginx. Event view issue
Posted: Tue Dec 25, 2018 3:54 pm
Working system configuration: ZM 1.30.4 installed by “easy way” wiki script. Ubuntu 16.04. Nginx.
Monitor is set to “Mocord” mode( to produce stable recordings for testing purposes). Live view works. But clicking on any of recorded events hangs with “Waiting for “host address” and in 60 sec fails. Nginx error log as well as ZM log show these errors:
...Socket /var/run/zm/zms-318561s.sock does not exist..
and
...Connection timed out while reading response header from upstream
A strange thing: viewing the same events works when called from Montage Review. I compared requests for event view from Console=>Monitor =>Event and Montage Review=>Monitor =>Event. They look quite identical.
I also started preparing for migration to Ubuntu 18/ZM 1.32. So I cloned the working system to another box and applied recommended upgrades. Everything looks working in the upgraded ZM 1.32/Ub18.04 with Apache.Can't check how it works with Apache on the original system 1.30.4 - I removed Apache after replaced it with Nginx
But with Nginx it shows the same issue: everything works except event viewing. And again, from Montage Review event viewing works.
Should be something simple but can't figure out what.
Thanks for any info
Monitor is set to “Mocord” mode( to produce stable recordings for testing purposes). Live view works. But clicking on any of recorded events hangs with “Waiting for “host address” and in 60 sec fails. Nginx error log as well as ZM log show these errors:
...Socket /var/run/zm/zms-318561s.sock does not exist..
and
...Connection timed out while reading response header from upstream
A strange thing: viewing the same events works when called from Montage Review. I compared requests for event view from Console=>Monitor =>Event and Montage Review=>Monitor =>Event. They look quite identical.
I also started preparing for migration to Ubuntu 18/ZM 1.32. So I cloned the working system to another box and applied recommended upgrades. Everything looks working in the upgraded ZM 1.32/Ub18.04 with Apache.Can't check how it works with Apache on the original system 1.30.4 - I removed Apache after replaced it with Nginx
But with Nginx it shows the same issue: everything works except event viewing. And again, from Montage Review event viewing works.
Should be something simple but can't figure out what.
Thanks for any info