Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
v-vp35355yThis is seriously pissing me off. This is not supposed to happen. I checked stackoverflow and trello which use websockets and they too are facing the same problems.
But web.whatsapp.com is able to maintain websocket connection without any problem. Wtf is going on??? -
v-vp35355y@dynamitesushi that's not the point. How often should I send the heartbeat? Today it's getting disconnected every 5 seconds. Tomorrow it might happen every 1 second.
Wtf. What is point of websocket then. I might as well use polling. -
@v-vp
That suggests their model of websocket support is intended for firehose style work. I can kind of understand purging idle connections, but for worker-style operations that model doesn't really present any advantages over, say http/2. -
@v-vp
Based on the last time I worked with them, you can probably just say AT&T at this point.
Related Rants
Fuck this shit. Any socket connection on JIO's fucking network gets dropped after 5 seconds if no data is sent. It's working on any other network. Wtf is going on???
Does anyone have any idea on this?
If someone has jio network please go to https://www.websocket.org/echo.html
And connect and check how long until it gets disconnected. Would be greatful if someone can validate this.
The project I am working on uses websockets extensively and this thing is screwing it up. I have temporarily set websocket ping interval to 3 seconds but what if the f**ckers over at JIO decide to start dropping connections every 1 second?
rant
wtf?