Web notifications not working

gabriel853 years ago

Instead of using domain.com:8082 I login through domain.com/gps
(See apache directives below)
However I noticed that web notifications are not working/showing when I'm in the portal with domain.com/gps
However when logging in through domain.com:8082 it works correctly.

Is anything wrong with the script below? or what else could be the problem.
Thanks.

ProxyRequests off

ProxyPass /gps/api/socket ws://domain.com:8082/api/socket disablereuse=On
ProxyPassReverse /gps/api/socket ws://domain.com:8082/api/socket disablereuse=On

ProxyPass /gps/ http://domain.com:8082/ disablereuse=On
ProxyPassReverse /gps/ http://domain.com:8082/ disablereuse=On
ProxyPassReverseCookiePath / /gps/

Redirect permanent /gps /gps/
Anton Tananaev3 years ago

Have you checked browser developer tools for errors? My guess is that you have some issue with WebSocket connection.

gabriel853 years ago

Found out that there was a space in my domain, but I didn't see it because the code continued on the next line. So didn't notice the space. Now it works correctly with those directives.