News for hackers. Stuff that matters.
Re:You might not need WebSockets by Dwedit on Friday April 11, 2025 @07:24PM (#43659784)
WebSockets can't go through proxies.
Re:You might not need WebSockets by kingforaday on Friday April 11, 2025 @07:30PM (#43659833)
I 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.
Re:You might not need WebSockets by mad_vill on Friday April 11, 2025 @08:05PM (#43660057)
For 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.
Re:You might not need WebSockets by mappu on Friday April 11, 2025 @10:06PM (#43660688)
Echoing 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.
Re:You might not need WebSockets by gregors on Friday April 11, 2025 @08:15PM (#43660103)
Works completely fine in Haproxy
Re:You might not need WebSockets by bastawhiz on Friday April 11, 2025 @07:53PM (#43659993)
This isn't based on any facts
Re:You might not need WebSockets by Austizzle on Friday April 11, 2025 @07:31PM (#43659844)
I've definitely used websockets through nginx
Re:You might not need WebSockets by hombre_fatal on Friday April 11, 2025 @07:37PM (#43659872)
They even go through Cloudflare.
Re:You might not need WebSockets by pier25 on Friday April 11, 2025 @07:51PM (#43659972)
or Fly.io
Re:You might not need WebSockets by andrewmcwatters on Friday April 11, 2025 @08:01PM (#43660040)
Re:You might not need WebSockets by paxys on Friday April 11, 2025 @07:36PM (#43659869)
Says who?
Re:You might not need WebSockets by shadowangel on Friday April 11, 2025 @11:16PM (#43661022)
I use them though nginx/cloudflare. they work fine.