-
Notifications
You must be signed in to change notification settings - Fork 184
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
Error Timeout #366
Comments
Could you please try this v3.0.0-beta.0, and see if it solves your problem? |
Unfortunately it has the same result. Doesn't make the connection. π₯ Could it be due to the lack of key, cert.pem? |
@MarceloRab |
unfortunately, π₯, I couldn't find an example of Flutter web with socket client and server in production. Using https. |
This could help, and it works for me on self signing certificate at LocalHost. |
I ended up moving my project to Firebase with streams. |
I've been trying for 8 hours and nothing. π. Web app on localHost and Android works perfectly.
Only on flutter web (Chrome) and with server it doesn't work..β
Fluttter Web Site = > https://.... (Vercel)
Server = > https://... (Render)
My versions.
Flutter 3.19.0
Dart 3.3.0
socket_io_client 2.0.3+1
All these measures did not work.
Downgrade Socket.io node from 4.7.4 => 4.6.2. π Doesn't work
Flutter = >
IO.io(socketUrl, <String, dynamic>{ 'autoConnect': false, 'transports': ['websocket'], 'rejectUnauthorized': false, 'withCredentials': false, });
π Doesn't work
this.io = new socketIo.Server(this.server, { colors: { origin: [ ''my_cors", //"*", ], credentials: false,
π Doesn't work
Error thrown βΆ timeout in all states.
The text was updated successfully, but these errors were encountered: