SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
83 stars 18 forks source link

After update 3.22.16.0 some players can't connect and are stuck in queue #1 #3442

Closed gegtor closed 1 year ago

gegtor commented 1 year ago

This issue is currently being discussed at Unturned official Discord

After update 3.22.16.0 some players can't connect and are stuck in queue #1

SDGNelson commented 1 year ago

Is this happening on your server? Are they actually in the queue (server full), or stuck in the queue screen?

gegtor commented 1 year ago

Yes it's happening on my network of 23 servers

They are stuck in the queue screen even on empty or half full servers

SDGNelson commented 1 year ago

Have you already tried disabling plugins? Would recommend the usual of enabling a couple at a time to narrow down the cause.

If you can attach the Client.log from a player stuck in the queue or the Server.log there might be a clue.

gegtor commented 1 year ago

I doubt it's plugin related as reports of the same issue on Discord state that it happens even on vanilla servers Also I never saw this issue in the past and it popped up only today after the update

Here are client and player logs I found on Unturned official Discord because I myself can't replicate the issue Player.log Client.log

Screenshot 2022-09-30 at 21 15 15

You can find the discussion about it here

SDGNelson commented 1 year ago

In those logs it looks like the player components are throwing an exception in Update, but unsure what is causing it. Could I try joining your server to see if I can reproduce it?

gegtor commented 1 year ago

These logs aren't from my server but sure

Try this server IP: S5.RAID-CITY.COM Port: 27055

Rattman1233 commented 1 year ago

hey, im the guy who started that discussion on discord, heres some info that might/might not be useful and fixes weve already tried:

Akos60 commented 1 year ago

I tried to join the server mentioned above and I have the same issue. I tried the following:

Here are my log files: Client.log Client_Prev.log Player.log Player-prev.log

Edit: I did some further testing:

SDGNelson commented 1 year ago

I tried joining the S5.RAID-CITY.COM server and got as far as authenticating with server, but did not receive the "accepted" response.

Is S5.RAID-CITY.COM your server @gegtor? Since Akos mentioned it worked fine with a VPN: is your server in or around the RU region? There have been reports that RU traffic is flaky recently. Otherwise my guess is that a plugin on the server is patching one of the methods related to accepting new clients. There might be an exception if you can share the log file, but otherwise I would still recommend testing without plugins.

@Rattman1233 if you would be more comfortable could you email me your server's IP privately please? (nelson@smartlydressedgames.com) I could try connecting and see if it gets stuck in the same place.

@Akos60 Do you have a server experiencing the same problem?

Edit: actually I can join S5.RAID-CITY.COM if I use a Russian VPN.

gegtor commented 1 year ago

@SDGNelson Yes I own RAID-CITY

Our servers are hosted in Germany and recently our data center had an issue with it's connectivity because of severed fiber cable https://status.hetzner.com/incident/d2b7730f-06ed-415a-b988-f25876ff86f3 I think they are still fixing stuff and we are experiencing 4-10% packet loss Can packet loss be the reason for failed authentication?

This outage coincided with Friday update

We had 190 players online today at the same time and they haven't experienced any issues and got around 10-15 reports of this issue

Rattman1233 commented 1 year ago

@SDGNelson alright, i shot you an email with the IP.

Akos60 commented 1 year ago

@SDGNelson I'm just an admin on RAID-CITY experiencing the same issue.

Edit: I connected to Austria with the VPN and I live in Hungary.

SDGNelson commented 1 year ago

Maybe it is related to that data center outage then. The messages are sent in reliable mode, but if all of them are getting dropped - maybe on a specific route - there is nothing the game can do.

Rattman1233 commented 1 year ago

alright, so with the logs from my server nelson determined that the reason my server had this problem was that it was set to third person only. i dont know if thats whats causing other peoples issues, but setting my server to first person solved it for me

gegtor commented 1 year ago

I can confirm now this was a strange networking issue

This ticket can be closed

SDGNelson commented 1 year ago

Glad to hear it is all sorted out! The third-person-only issue will be fixed for the next update as well.