[solved] Gateway 1.0 and websockets

I’m seeing 2 issues with Gateway 1.0 regarding the webpage. Can anyone advise?

  1. The Nginx reverse proxy setup that I’ve been using instead of the PageKite tunnel no longer works. When going direct on my home network, it works in Firefox.

  2. On IOS Safari, all of the Things appear disconnected / greyed out. However clicking things will, for example, turn them on and off.

I suspect this is due to some changes in the way the Gateway uses websockets but have been too busy with the ZigBee adapter and $other-life to look into this issue.

Huh! I restarted my router (which hosts the reverse proxy) and all works now.

For reference, the Nginx configuration I use is here: https://github.com/WebThingsIO/gateway/issues/1806#issuecomment-739466626

1 Like