Open MeGaPk opened 8 years ago
Hello! My setup:
Description: After fail answer from server, client open again connection, try use emitWithAck and... nothing. On 5.5.0 version it works.
Log:
2016-04-07 16:16:40.479 [321:21959] LOG SocketParser: Decoded packet as: SocketPacket {type: 2; data: [message, { 2016-04-07 16:16:50.964 [321:21959] LOG SocketEnginePolling: Got polling response 2016-04-07 16:16:50.975 [321:21959] LOG SocketEnginePolling: Doing polling request 2016-04-07 16:16:50.976 [321:21958] LOG SocketEngine: Got message: <html><body><h1>504 Gateway Time-out</h1> 2016-04-07 16:16:50.986 [321:21958] LOG SocketIOClient: Handling event: error with data: ( 2016-04-07 16:16:50.987 [321:21958] LOG SocketEngine: Engine is being closed. 2016-04-07 16:16:50.987 [321:21958] LOG SocketEnginePolling: Created POST string: 1:1 2016-04-07 16:16:50.994 [321:21958] LOG SocketEnginePolling: Doing polling request 2016-04-07 16:16:51.096 [321:21959] LOG SocketIOClient: Starting reconnect 2016-04-07 16:16:51.097 [321:21959] LOG SocketIOClient: Handling event: reconnect with data: ( 2016-04-07 16:16:51.100 [321:21959] LOG SocketIOClient: Trying to reconnect 2016-04-07 16:16:51.100 [321:21959] LOG SocketIOClient: Handling event: reconnectAttempt with data: ( 2016-04-07 16:16:51.101 [321:21959] LOG SocketEngine: Starting engine 2016-04-07 16:16:51.101 [321:21959] LOG SocketEngine: Handshaking 2016-04-07 16:16:51.109 [321:21959] LOG SocketEnginePolling: Doing polling request 2016-04-07 16:16:51.120 [321:21959] LOG SocketEnginePolling: Got polling response 2016-04-07 16:16:51.126 [321:21610] LOG SocketEngine: Got message: {"code":1,"message":"Session ID unknown"} 2016-04-07 16:16:51.132 [321:21610] LOG SocketEngine: Engine is being closed. 2016-04-07 16:16:51.134 [321:21610] LOG SocketEnginePolling: Created POST string: 1:1 2016-04-07 16:16:51.136 [321:21610] LOG SocketEnginePolling: Doing polling request 2016-04-07 16:16:51.232 [321:22365] LOG SocketEnginePolling: Got polling response 2016-04-07 16:16:51.311 [321:21610] LOG SocketEnginePolling: Got polling response 2016-04-07 16:16:51.312 [321:21610] LOG SocketEngine: Got message: 40 2016-04-07 16:16:51.313 [321:21610] LOG SocketIOClient: Should parse message: 0 2016-04-07 16:16:51.313 [321:21610] LOG SocketParser: Parsing 0 2016-04-07 16:16:51.314 [321:21610] LOG SocketParser: Decoded packet as: SocketPacket {type: 0; data: []; id: -1; placeholders: 0; nsp: /} 2016-04-07 16:16:51.314 [321:21610] LOG SocketIOClient: Socket connected 2016-04-07 16:16:51.315 [321:22363] LOG SocketIOClient: Emitting: 22["message",{"action":"check_session"}]
Best regards, Ivan.
Ping?
From your log it looks like the connection is failing to be established
Hello! My setup:
Description: After fail answer from server, client open again connection, try use emitWithAck and... nothing. On 5.5.0 version it works.
Log:
Best regards, Ivan.