Skip to content

Error TimeoutΒ #366

@MarceloRab

Description

@MarceloRab

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.

  1. Downgrade Socket.io node from 4.7.4 => 4.6.2. πŸ‘‰ Doesn't work

  2. Flutter = >

IO.io(socketUrl, <String, dynamic>{ 'autoConnect': false, 'transports': ['websocket'], 'rejectUnauthorized': false, 'withCredentials': false, });

πŸ‘‰ Doesn't work

  1. Node Server = >

this.io = new socketIo.Server(this.server, { colors: { origin: [ ''my_cors", //"*", ], credentials: false,

πŸ‘‰ Doesn't work

Error thrown β–Ά timeout in all states.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions