-
Notifications
You must be signed in to change notification settings - Fork 10
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
Socket got disconnected after a few second #12
Comments
I just found out. It was because of the client module does not ping back to the server. I had to modified the package. |
@chounry I got same issue, any workaround you did to fix this? |
Hi, @egiadtya socketcluster_client/lib/src/socket.dart Lines 123 to 193 in fcdc48f
From this : if (message == "#1") {
sendOrAdd('#2');
} else {
....
} To this: if (message == "#1") {
sendOrAdd('#2');
} else if(message.isNotEmpty){
...
}else {
sendOrAdd('');
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am be able to publish and retrieve data of a channel. But the connection always got disconnected after a few seconds from where i call `Socket.connection.
Then the server cannot retrieve data anymore.
The text was updated successfully, but these errors were encountered: