-
Notifications
You must be signed in to change notification settings - Fork 126
Description
HubConnection failed to start successfully because of error 'Server timeout elapsed without receiving a message from the server.'
This occurs when the client is trying to establish a connection with the SignalR server, but the server doesn't respond in time, causing the client to timeout and disconnect.
Logs
I/flutter (27056): FINER: 2025-01-02 12:29:40.824777: Selecting transport 'HttpTransportType.ServerSentEvents'.
I/flutter (27056): FINEST: 2025-01-02 12:29:40.831242: (SSE transport) Connecting
I/flutter (27056): FINER: 2025-01-02 12:29:40.838173: (SSE transport) connected to https://api.wappz.online/chatHub?id=00Un5q5Eb40JrGDsrqMWGw
I/flutter (27056): FINER: 2025-01-02 12:29:40.842983: The HttpConnection connected successfully.
I/flutter (27056): FINER: 2025-01-02 12:29:40.843633: Sending handshake request.
I/flutter (27056): FINEST: 2025-01-02 12:29:40.848666: (SSE transport) sending data.
I/flutter (27056): FINEST: 2025-01-02 12:29:40.870254: HTTP send: url 'https://api.wappz.online/chatHub?id=00Un5q5Eb40JrGDsrqMWGw', method: 'POST' content: '{"protocol":"json","version":1}�' content length = '32' headers: '{ content-type: application/json;charset=UTF-8 }, { X-Requested-With: FlutterHttpClient }'
I/flutter (27056): FINEST: 2025-01-02 12:29:41.413976: (SSE transport) request complete. Response status: 200.
I/flutter (27056): INFO: 2025-01-02 12:29:41.414832: Using HubProtocol 'json'.
I/flutter (27056): FINER: 2025-01-02 12:30:41.424272: HttpConnection.stopConnection(Unknown) called while in state ConnectionState.Disconnecting.
I/flutter (27056): SEVERE: 2025-01-02 12:30:41.425502: Connection disconnected with error 'Server timeout elapsed without receiving a message from the server.'.
I/flutter (27056): FINER: 2025-01-02 12:30:41.427793: HubConnection.connectionClosed(Server timeout elapsed without receiving a message from the server.) called while in state HubConnectionState.Connecting.
I/flutter (27056): FINER: 2025-01-02 12:30:41.429445: Hub handshake failed with error 'Server timeout elapsed without receiving a message from the server.' during start(). Stopping HubConnection.
I/flutter (27056): FINER: 2025-01-02 12:30:41.430845: Call to HttpConnection.stop(Exception: Server timeout elapsed without receiving a message from the server.) ignored because the connection is already in the disconnected state.
I/flutter (27056): FINER: 2025-01-02 12:30:41.435507: HubConnection failed to start successfully because of error 'Server timeout elapsed without receiving a message from the server.'.