NFIBrokerage / slipstream

A slick WebSocket client for Phoenix Channels
https://hex.pm/packages/slipstream
Apache License 2.0
155 stars 18 forks source link

bug: :gun_error message received when connection is lost #7

Closed the-mikedavis closed 3 years ago

the-mikedavis commented 3 years ago
19:43:52.840 [error] unknown message {:gun_error, #PID<0.3419.4>, {:websocket, #Reference<0.3754436833.3376939009.223252>, "VFeeglQh/qqSFe9rqSM5FQ==", [], %{}}, {:closed, 'The connection was lost.'}}
heard in Slipstream.Connection
please open an issue in NFIBrokerage/slipstream with this message and
any available information.

saw this at the tail end of a service using slipstream shutting down with a slipstream connection still open.

(we do our networking with Istio, so when our services shut down, the network shuts down faster than the app, leading to nice connection failure messages like this)