braverhealth / phoenix-socket-dart

Cross-platform and stream-based implementation of Phoenix Sockets
https://pub.dev/packages/phoenix_socket
BSD 3-Clause "New" or "Revised" License
71 stars 35 forks source link

Socket closed error #75

Open redDwarf03 opened 3 months ago

redDwarf03 commented 3 months ago

Hello

i don't understand why, but sometimes i have these messages.. Any ideas of the meaning of these codes ? Thx

[phoenix_socket.socket] Socket closed with reason  and code 1000
[phoenix_socket.channel.__absinthe___control] Got error on channel
[phoenix_socket.socket] Socket open
[phoenix_socket.socket] Socket closed with reason  and code 1006
[phoenix_socket.channel.__absinthe___control] Got error on channel
[phoenix_socket.socket] Socket open
[phoenix_socket.socket] Socket closed with reason  and code 1006
[phoenix_socket.channel.__absinthe___control] Got error on channel
[phoenix_socket.socket] Socket open
[phoenix_socket.socket] Socket closed with reason  and code 1000
[phoenix_socket.channel.__absinthe___control] Got error on channel
[phoenix_socket.socket] Socket open
[phoenix_socket.socket] Socket closed with reason  and code 1006
[phoenix_socket.channel.__absinthe___control] Got error on channel
[phoenix_socket.socket] Socket closed with reason  and code 1006
[phoenix_socket.channel.__absinthe___control] Got error on channel

i'm using version: "0.6.4"

matehat commented 3 months ago

Some bugs were fixes since 0.6.4 that could be related to this. I'd suggest upgrading and checking if it solves your issue.

redDwarf03 commented 3 months ago

thx. i close the issue and will test with the new version

redDwarf03 commented 3 months ago

I update to 0.7.2 i have always with flutter web


[phoenix_socket.socket] Socket closed with reason  and code 1000
[phoenix_socket.channel.__absinthe___control] Got error on channel
[phoenix_socket.socket] Socket closed with reason  and code 1000
[phoenix_socket.socket] Socket open```
matehat commented 2 months ago

Can you provide the times for these messages? It can very well be periodical disconnection because some proxy in between drops the connection every once in a while.

matehat commented 2 months ago

@redDwarf03 any update on this?

redDwarf03 commented 2 months ago

Hello. I confess I have messages each day in my terminal but don’t understand why for the moment….