elm-websocket-client
elm-websocket-client copied to clipboard
clicking connect and close fast, breaks the all further connections permanently
log output
SocketNotOpenError "socket"
Sending "Hello World!"
LowLevelError { key = "Nothing", code = "keyused", description = "Key already has a socket open: socket", code = "Nothing" }
Connecting to wss://echo.websocket.org
UnexpectedConnectedError { key = "socket", description = "Socket connected for URL: wss://echo.websocket.org" }
Closing
Connecting to wss://echo.websocket.org
Closed, code: NoStatusRecvd, clean, expected
Closing
Connected: Socket connected for URL: wss://echo.websocket.org
Connecting to wss://echo.websocket.org
Closed, code: NoStatusRecvd, clean, expected
Closing
Connected: Socket connected for URL: wss://echo.websocket.org
Connecting to wss://echo.websocket.org
it looks to me like a race condition in the javascript code.
ps: great work, thanks for the package