Kick player for invalid login, k_EAuthSessionResponseAuthTicketCanceled

Schelter

New member
Hi All,

I know this issue has been posted here multiple times since 2017, I'm hosting a dedicated server since 2016, but got the issue the first time now with version 1.1(b14) stable!

None of the suggested solutions worked so far or are applicable in this case.

The issue is, that random players are being kicked at random times, the client does not crash - he is just kicked from the server and can reconnect immedeatly! However it keeps happening, sometimes 2-3 times in 5minutes, then no issue for hours - so I tried to troubleshoot the issue with one of the players.

What I can tell:

- the internet connection on client and server is available with no interruption

- steam is logged in at client side the whole time with no issues

- it's IPv4 on both sides, ping never stops, latency always <20ms, so the server is always reachable, even SSH to the server stays open with rolling logs where player can see that he is being kicked from the server....so it's definatelly not a connectivity issue...

- SteamNetworking is DISABLED on the server!

- no mods, all other settings on default, Navesgane map.

- happens mostly during active quests

I'm out of ideas what else to try. Is it maybe a bug? Can something be done to make the log more descriptive? Here is what can be seen in the server log, there are no other events or anything else going on, just the random kicks:

2024-11-27T15:33:31 240101.770 INF [Steamworks.NET] Authentication callback. ID: 76*************, owner: 76*************, result: k_EAuthSessionResponseAuthTicketCanceled
2024-11-27T15:33:31 240101.770 INF [Steamworks.NET] Kick player for invalid login: 76************* J****
2024-11-27T15:33:31 240101.771 INF [Auth] PlatformAuth authorization failed: EntityID=338, PltfmId='Steam_76*************', CrossId='EOS_0002b*************', OwnerID='Steam_76*************', PlayerName='J****', ClientNumber='9'
2024-11-27T15:33:31 240101.792 INF Kicking player (Platform auth failed: AuthTicketCanceled): EntityID=338, PltfmId='Steam_76*************', CrossId='EOS_0002b*************', OwnerID='Steam_76*************', PlayerName='J****', ClientNumber='9'
2024-11-27T15:33:31 240101.929 INF [Steamworks.NET] Authentication callback. ID: 76*************, owner: 76*************, result: k_EAuthSessionResponseAuthTicketCanceled

Has anyone an Idea what else to try?

 
A full log may help. In a general sense, what's going on is either the client or the server (likely the client) suddenly failed to prove authentication which happens quite often. Could be dropped packets, the wrong handful of packets got corrupted, numerous things. Firewall/antivirus exceptions, port forwarding on the server, make sure your router's securities aren't too strict are things to look at.

 
If devs could implement slightly better logging, that would be helpful as well. As a network engineer I can assure you there are no connection problems of any kind at any site. Looks like there is some kind of bug regarding this authentication, but nothing useful is being logged.

 
If devs could implement slightly better logging, that would be helpful as well. As a network engineer I can assure you there are no connection problems of any kind at any site. Looks like there is some kind of bug regarding this authentication, but nothing useful is being logged.


Ask your friends to try the network workaround option in the General settings. Also, log files can help from the clients. There are things in there we can spot.

 
Ask your friends to try the network workaround option in the General settings. Also, log files can help from the clients. There are things in there we can spot.


Will try the network workaround option later today.

Was trying to troubleshoot further the other day and got a client log from one of the players, now things are getting really interesting!

We made the following setup:

IPv4 Server, NAT through firewall with all port forwarded from this specific client, enabled logging on firewall to see the traffic, ping to client running

IPv4 Client connection directly to server Public IP, ping to server running, SSH Session open with tail -f /log/console/sdtdserver-console.log

Played for about 30mins, Client gets disconnected again, ping runs on both sides with no issues, SSH stays open, Client can see the logging continuously, Firewall sees all packets as valid, no corrupted packets seen, no dropped packets.

Issue occurs at 20:51:00 in the log

This is in the Client log:

2024-12-08T20:50:48 1356.914 INF Time: 22.31m FPS: 57.40 Heap: 1981.2MB Max: 2153.4MB Chunks: 331 CGO: 223 Ply: 3 Zom: 0 Ent: 10 (64) Items: 1 CO: 1 RSS: 4954.5MB
2024-12-08T20:51:00 1369.563 INF NET: LiteNetLib: Connection closed: Timeout, add: InvalidPassword
2024-12-08T20:51:00 1369.563 INF [NET] DisconnectedFromServer: Netzwerk-Timeout
2024-12-08T20:51:00 1369.564 INF [EOS-ACC] Disconnected from game server
 

But the network connection to the server is there! SSH is running, ping is running, and why does is state "InvalidPassword" on an already logged in user? Server Password does not change...

Full log:

https://pastebin.com/N9JYsUKj

 
Last edited by a moderator:
So, we tried the Network Workaround Option, but nothing changed. Disconnects are still there, still the same. We've done an update to 1.2(b27) as well - but the issue is still there.

 
ping runs on both sides with no issues, SSH stays open, Client can see the logging continuously, Firewall sees all packets as valid, no corrupted packets seen, no dropped packets.
As a guess I'd say the communication failure isn't between the server and client, but between one of them and the EOS authentication servers.

These are the most common causes of network issues:

    1: AntiVirus: Add folder exclusions for the game and save folders in your antivirus software.
    (on both client and host/server)

    2: oem gaming or network optimizers, like Gamefirst from Asus, Gigabyte LAN optimizer, Dell,
    HP, Corsair, Razor, etc. Uninstall all this junkware.
    
    3: VPN or proxy: Use split tunneling to add an exception for the game.
    Or turn off the vpn.
    
    4: Using Wifi. (WiFi is half-duplex, encrypted, and subject to interference) Use Ethernet instead.
    
    5: Many newer routers have built in security apps which may be interfering with the game's network.
       Log into your router to see if this is happening.
    
    Also you can try the "Network Workaround" option from the Options/General tab.
    (both clients and host)

 
As I mentioned in the post above, we tried the Network Workaround option, didn't changed anything.

The rest of the generec "advice" there - none of it applies to me, since none of the mentioned "issues" are used here. But thanks for trying I guess...

It's a bug, I wish I could have a useful log to diagnose it properly... :(  

 
Back
Top