-
Notifications
You must be signed in to change notification settings - Fork 183
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
I'm getting on connect_error timeout #63
Comments
This example works for me - #36 (comment) |
I have the same problem with you |
This issue still persists. Is there any solution? |
Can any example code be shown here? |
The reconnect logic does not work well. Try connect to socket.io and then disable your WiFi, let it error awhile, then enable Wifi back. The reconnect logic is in the failed loop even the internet connection is restored. |
I have the same problem |
This example works to me: Flutter
Dart Server
Result
|
I had similar problem when I was starting to test this library for my project and I had 2 problems with the Node.JS server. First was that I could not use Socket.IO version 3 with, it had same problem on web sockets. |
@Jhellsten For Socket.io V3, please use v2.0.0-beta version - https://pub.dev/packages/socket_io_client/versions/2.0.0-beta.2 |
I'm also using a NestJS server and it doesn't seem to connect even when it receives 101 from the server. Following up on all the issues and guidelines in the repository isn't helping and neither is the "it's working for me" comment. This is what I have written on the client
This is what I'm using on web
I'm using namespaces, is this what creating the issue? Is there any other thing you'll require to debug this issue? |
I'm using
and now it works.
|
How ??? |
I have the same error! |
I have the same error. It was working a few days ago. Even though I changed nothing, it is not working now, it gives a timeout error. Were you able to find a solution ? |
I am having a similar issue, can anyone provide a solution |
Same problem here Connect Error: timeout. Anyone can provide us with a solution? |
same error |
i am trying to load test the app, so when i am using the socket.io-client to create 1000 connections sometimes i am getting Error:timeout. we are using aws k8 and alb for deployment, on localhost it's working fine. k8 pods have 6 to 15% of cpu usage so we have resources available there. So what is the reason for that timeout? |
I'm using NodeJS/NestJS for server-side socket.io
And your lib for client-side ( Flutter ) So I first have tried the example code and completely just nothing!!
So then I went to use
on
withconnect_error
to check if there are any errors or something and it showed just one word on the console every couple of seconds and it'stimeout
The text was updated successfully, but these errors were encountered: