Comments (5)
There was a bug with continuation frames in 0.4.2 can up update to 0.4.3 and try it?
from websockex.
There was a bug with continuation frames in 0.4.2 can up update to 0.4.3 and try it?
Ya, I tried that version too, same result.
from websockex.
So, I'm NOT getting this with
Elixir 1.11.3
Erlang/OTP 23.2
WebSockex 0.4.3 & 0.4.2
I'll try to test with a different version of Erlang.
from websockex.
@Azolo that seems to be the fix! Thanks for the help. I had tried a number of versions of Erlang which are more recent than 21.3, but ran into trouble getting them to finish building, and also conflicts with wxmac. Fortunately it seems that all is working seamlessly with 23.2.
from websockex.
@Azolo @rm-rf-etc I am getting the same issue now, but the socket works for a random(I guess) amount of time before the connection goes silent. What I mean by random is that sometimes it happens within hours, sometimes it happens within a week. I am not sure how to debug this case specifically because it's not easily reproducible and logs show nothing.
edit: Since I am not sure why that happens and how would one go about debugging it, I was thinking of a fix and a simple hacky solution would be to send pings and look for pongs and restart the websockex process if the pong doesn't come back in some time(I see that restarting the server actually fixes things), so would you please be able to provide me with some guidance as to how would I proceed with that idea and is that something you reckon is possible at all?
from websockex.
Related Issues (20)
- Performance optimisation
- Root URL without trailing slash leads to %WebSockex.ConnError{original: :closed}) HOT 1
- Send mesage from handle_frame HOT 1
- Websockex is causing my whole supervisor to shutdown HOT 3
- Async mode logging unnecessary messages HOT 4
- `handle_connect/2` first connection HOT 1
- handle disconnect backoff
- Rename reply action
- Is this still being maintained? HOT 4
- Supervised Clients don't raise crash errors HOT 13
- Closing connection? HOT 2
- [Bug]
- async option not working? HOT 1
- handle_cast not working?
- New hex release?
- No reconnection (and lack of debugger) HOT 1
- test suite fails in Erlang 24
- Add init and handle_call to seamlessly support behaviors designed around GenServer
- Telemetry Events? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from websockex.