-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inbound messages halt after a few seconds on erts-10.3 #72
Comments
I confirm the issue, I was having an hard time to understand why my code wasn't working... thank you. downgrading to Erts 10.2 fixes the issue on OS X |
Awesome, thanks for the report. I'll look into it. |
I can also confirm that downgrading to erts-10.2 (by installing opt 21.2) fixes this issue. |
Looks like this might be related to #84 since running my repro in a Docker container running 1.8.0 has no issues at all |
I think this is fixed. |
I began noticing a strange issue when connecting / receiving messages after upgrading to
erts-10.3
. Originally noticed the issue when changing a docker image base fromelixir:1.8.0-alpine
toelixir:1.8.1-alpine
, and did some troubleshooting to isolate that it was theerts-10.3
upgrade from the 10.2 series. Neither the underlying os change (base, -slim, etc) seems to matter, and in fact, the same issue occurs on Mac OSX between the different erts versions. In other words, Elixir 1.8.1 works ok, so long aserts-10.2.x
is involved, instead oferts-10.3
.All tested versions of websockex appear to be affected (0.2.x, 0.3.x, 0.4.x).
I've assembled a toy example here:
https://github.com/bfolkens/socketfail
I chose a relatively active public websocket channel (BitMEX), and constructed a very bare test case using mostly example code from the Websockex and Elixir docs. After an initial burst of activity, the responses stop when using the
elixir-1.8.1
base image. However, when the base image is switched toelixir-1.8.0
, the example continues to run indefinitely.The text was updated successfully, but these errors were encountered: