"warning: no free slot for incoming connection"
So, I have a multiplayer game that usually works. A server starts up, uses the Unity Matchmaker and Routing service, players connect, they all have a great time.
However, sometimes, just sometimes, a server starts up, and no-one can connect. At all.
So, I crank the log file up to max:
"Increasing Log level to max!"
and I start getting network messages on a per-bit basis.
SetSyncVar UAV_RemoteDrone bit [4] 0->5
SetSyncVar UAV_RemoteDrone bit [8] 0->1
And then, all of a sudden
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
Warning: no free slot for incoming connection
So - the server is receiving incoming connections, somewhere, running out of them (It's set to 64 right now, and my retry is every 15 seconds, so there's little chance it's ACTUALLY running out)
Unsure where to progress here, and I have no info to help me debug further. This is latest 5.6, using uNet.
As for the Clients - well, they think they have connected just fine!
OnClientConnect - Client 6 connected ok!
But they never see any message back from the server telling them to progress (obviously,a s the server doesn't appear to be seeing them!)
Did you ever find the cause of this? I've just started seeing it too and it breaks our servers completely.
Sadly not, we just have to have a script listen out for it and reboot the server when it happens.
We're facing the exact same issue in Unity 2020.3.10f1. Does anyone have any insight on this issue?
Your answer
Follow this Question
Related Questions
Network Transport Layer API does not work with iOS to PC???? 0 Answers
Unity 5 Unet Network Rigidbody Syncing - Client sinking through objects. 0 Answers
Is there any way to do automatic p2p matchmaking system via Unet? 0 Answers
[Hololens] Connecting using Unity's UNET doesn't work after the first time connecting 1 Answer
UNET Spawning armor 1 Answer