4 ms·
WebSockets can't go through proxies.
by Dwedit 2y ago
WebSockets can't go through proxies.
- kingforaday 2y agoI think what you are getting at is that websockets aren't as simple as http traffic through a proxy, but you absolutely can use proxies and ws connections just fine and for a variety of reasons.
- Austizzle 2y agoI've definitely used websockets through nginx
- hombre_fatal 2y agoThey even go through Cloudflare.
- pier25 2y agoor Fly.io
- paxys 2y agoSays who?
- bastawhiz 2y agoThis isn't based on any facts
- andrewmcwatters 2y agohttps://nginx.org/en/docs/http/websocket.html https://nginx.org/en/docs/http/websocket.html
- mad_vill 2y agoFor all the other comments, parent is probably talking about forward proxies and to their point many forward/enterprise proxies have configurations which cause websockets to break and it is a pain to debug this if you have many enterprise customers.
- mappu 2y agoEchoing this. At $DAYJOB some 5-10% of customers will fail to initiate a websocket connection, even over wss:// despite plain HTTPS requests working fine. This is a client-side issue with whatever outdated HTTP CONNECT implementation the enterprise has.
- gregors 2y agoWorks completely fine in Haproxy
- shadowangel 2y agoI use them though nginx/cloudflare. they work fine.