socketio / socket.io-client-swift

Other
5.22k stars 841 forks source link

Cannot connect to server, when android client can connect #1468

Closed eyotaCao closed 8 months ago

eyotaCao commented 12 months ago

this is log : LOG SocketEnginePolling: Got poll message: 113:0{"sid":"b4cbd3f-4535-9767-2a5aa6618026","upgrades":["websocket"],"pingInterval":25000,"pingTimeout":60000} LOG SocketEngine: Got message: 113:0{"sid":"b4cbd3f1-ab2c-9767-2a5aa6618026","upgrades":["websocket"],"pingInterval":25000,"pingTimeout":60000} SocketIOManager:socket error Socket error: Tried emitting when not connected LOG SocketIOClient{/}: Handling event: error with data: ["Tried emitting when not connected"]

iishabrawy commented 9 months ago

the same here I can't connect cause the server needs connection over WebSocket and I pass forceWebSocket(true) and the server got it transport polling not WebSocket and in android it works without any issue

Crysis21 commented 8 months ago

found the issue with this?

eyotaCao commented 8 months ago

This issue is not issue, i add a config, then it is ok.