Closed alexarsh closed 8 years ago
It looks like this is nginx related, sending an http response code for /horizon
instead of the websocket upgrade.
For reference, there's more discussion on this issue on the forums: https://discuss.horizon.io/t/moving-to-horizon-2-0-0-and-express/509/12
Going to close since it looks like this was sorted out
Hi,
I moved to 2.0.0 and embedded my horizon app inside express and it totally broke my app. The errors I see in client In addition, my google login redirect me to: https://my_site.com/https://my_site.com/horizon/google#/?_k=cuwus9 And my facebook login just fail and brings me to an empty page.
On the server, the only suspicious thing is when I run: hz serve --debug --serve-static ./dist --start-rethinkdb --bind all I see the following error error: rethinkdb stderr: warn: Cache size does not leave much memory for server and query overhead (available memory: 812 MB)
although I already fixed that before upgrading to 2.0.0 following this thread.
I use nginx reverse proxy and tried to configure it both with and without upstream ssl on the horizon side. I'm not sure, but maybe it's related to ticket #639
server.js hz command output npm install command output nginx config
Server version: 2.0.0 Client version: 2.0.0