Closed JDeepD closed 4 weeks ago
I am also using Cloudflare for managing DNS and I have enabled Websockets as well as set SSL/TLS to Strict(Full).
Okay, After countless hours of mindless debugging, here is what fixed it. In Cloudflare, disabling "Proxy through Cloudflare" in DNS Panel
Thanks for sharing this info!
I know this is a common issue and I have spent the last 2 days just going through the solutions but still not being able to fix it.
Okay, so here is the scenario. I am running an Express Backend on AWS EC2 and using Nginx as reverse proxy (SSL certificates are provisioned by letsencrypt). Here is my config:
The command that I am running is:
Now, When I try to go to
wss://my.domain/ws
, it says Connection Refused.Upon Inspecting Nginx Logs, I get this:
GoAccess Logs are empty though. (Still waiting for websocket connections)
Additional: When I run goaccess as a background process and try to access the websocket from the machine itself (without using nginx), it fails to connect as well.