socket.io-unity
socket.io-unity copied to clipboard
there isn't stable connection
hey guys. we have some problem in connection, this package dosn't have stable connection and after a few minutes disconnect and connect to server. is there any one who can help me with this issue???
thnaks.
hi sepehrEslami81
At least I'm not disconnected from the 'NodeJS server + unity version' I use.
Could you tell me the server spec and Unity version you use? I'm going to experiment with unstable connections.
We have the same problem in connection. "EVENT_DISCONNECT: ping timeout", the test example also has the same problem. Unity 2020.1.8f1. Node js 2.3.0 Thanks
@EchinFer did you fix your problems?
the image, server is [ var server = http.createServer(app); ]
Sorry, I'm a little late.
Recently, I used to use sockets a lot through nodejs + express.
I had the same problem and now I changed the 'ping timeout' setting on the server.
I think It's not the perfect solution. I'm engineering a server these days. I'm not sure if it's the problem that can be solved perfectly.
@Rocher0724 , unfortunately for me those opts don't resolve connection-disconnection issue.
Anyone solved this issue?