socket.io-unity icon indicating copy to clipboard operation
socket.io-unity copied to clipboard

there isn't stable connection

Open sepehrEslami81 opened this issue 4 years ago • 6 comments

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.

sepehrEslami81 avatar Sep 15 '20 15:09 sepehrEslami81

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.

Rocher0724 avatar Oct 12 '20 01:10 Rocher0724

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 avatar Oct 13 '20 13:10 EchinFer

image

image

EchinFer avatar Oct 13 '20 14:10 EchinFer

@EchinFer did you fix your problems?

ArkinSolomon avatar Oct 25 '20 01:10 ArkinSolomon

image

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 avatar Dec 09 '20 01:12 Rocher0724

@Rocher0724 , unfortunately for me those opts don't resolve connection-disconnection issue.

Anyone solved this issue?

biopowder avatar Jun 07 '21 08:06 biopowder