Page MenuHomeFeedback Tracker

AuthPlayerLoginState caused by BattlEye/Steam login timer being too short
Reviewed, NormalPublic

Description

DayZ will randomly fail to allow you to join a server and kick to main menu with "AuthPlayerLoginState". I run one of the largest DayZ community servers in the world and have noticed this problem getting worse. We have thousands of cases of this error throughout our log files and it is well documented on Reddit, Discord, here - etc.

It may be related to Steam API limits or BattlEye login timer (unsure). Through trial and error I can tell you that it isn't some of these things commonly suggested:

  1. Not related to Discord or any overlay - I get this error on separate computers on different ISPs with Steam overlay disabled, NVIDIA disabled, Discord not even running etc
  2. This error happens even on a fresh install of a server running on the localhost
  3. This error happens on a fresh format of Windows 10 and 11
  4. This happens on Wifi and LAN
  5. No ipconfig or network stack commands fix this
  6. Exiting Steam and restarting the PC work sometimes but often do not
  7. Doesn't matter if its the first join of the day, exit and come back later, exit before timer counts down, wait for timer, minimize - none of these things reliably make any difference in ability to reproduce or not reproduce the error

After extensive troubleshooting it appears that the login timer waits 10 seconds for the client then drops the connection if it fails in that time. There is no apparent reason why some logins take longer than others and it isn't a server load issue as it happens even on a server on localhost (lots of processor and RAM to spare) . However we have reliability determined that if it stays in the login state for beyond 10 seconds the user will get kicked with the error.

If this is Steam API related it may not be an easy fix, buf it this is BattlEye we just need to ask them to increase the time it waits for login.

Details

Severity
Major
Resolution
Open
Reproducibility
Sometimes
Operating System
Windows 10 x64
Operating System Version
22H2
Category
Error Message
Steps To Reproduce

Join server
Will work 10x in a row or will refuse to work for hours
No rhyme or reason to why it happens sometimes and not others
Rebooting or closing/reopening Steam works sometimes but I've had it fail to work even after reboot 10-15x+

Additional Information

This guy is onto something and I think you should read over it again:
https://feedback.bistudio.com/T163527

Event Timeline

operativo created this task.Apr 8 2024, 2:35 AM
Geez changed the task status from New to Reviewed.Apr 8 2024, 2:33 PM
Geez added a subscriber: Geez.

Hello operativo.
We are aware of the issue, however increasing the timer may not solve the issue as it is indeed tied to Steam authentication.
Regards,
Geez

csatx added a subscriber: csatx.Apr 8 2024, 6:49 PM

Hello @Geez
Thanks for the quick response. Is there anything we can do as server admins to minimize the frequency of this issue?
Is there anything that Bohemia can do with Steam or have they already been made aware of this issue?
Thanks again for your continued support of DayZ

@Geez
Hello good day
Do you know of a way we can escalate this issue with Steam support?
I did a fresh install of Dayz 1.25 today on a clean install of my OS - all ports are forwarded correctly.
Here are the errors I have had in just the last hour alone
Line 339: 9:24:21 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 341: 9:24:21 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 493: 9:25:10 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 565: 9:25:49 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 671: 9:26:51 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 764: 9:27:37 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 772: 9:27:38 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 796: 9:27:58 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 864: 9:28:39 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 872: 9:28:44 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 886: 9:28:44 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 1062: 9:30:18 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 1100: 9:31:01 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 1151: 9:31:38 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 1300: 9:34:54 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 1357: 9:36:01 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 1401: 9:36:51 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 1629: 9:43:00 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 1784: 9:48:11 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 1810: 9:49:18 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 2162: 10:01:23 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 2242: 10:07:19 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 2283: 10:09:43 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 2360: 10:14:11 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 2412: 10:16:05 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 2457: 10:17:04 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 2794: 10:31:12 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 2802: 10:31:31 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 2908: 10:32:15 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 2916: 10:32:22 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 2944: 10:33:15 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 3110: 10:39:42 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 3128: 10:40:17 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 3169: 10:41:48 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 3221: 10:43:24 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 3246: 10:44:09 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 3302: 10:45:22 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 3481: 10:52:33 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 3495: 10:52:47 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 3616: 10:55:06 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
Line 3677: 10:56:13 Player Unknown (Anonymous) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
This is making player retention a real problem. Please let me know if you know a way to escalate to Steam or a name or email for someone I can contact if this is not a DayZ issue.

sileed added a subscriber: sileed.May 31 2024, 3:56 PM

Going to jump on this that this is still a continued issue and one that is causing player retention issues.

Relevant serverconsole.log entries from both success and failure:

Failure:

15:29:22 [Login]: Adding prioritized player Tony (26824966) to login queue at position 0
15:29:22 [LoginMachine]: Add player Tony (26824966 IP:59772)
15:29:22 [StateMachine]: Player Tony (dpnid 26824966 uid ) Entering AuthPlayerLoginState
15:29:52 Player Unknown (26824966) kicked from server: 49 (Login timed out. (AuthPlayerLoginState))
15:29:52 [StateMachine]: Kick player Tony (dpnid 26824966 uid ) State AuthPlayerLoginState

30s timeout, assumedly trying to connect to BE servers in the backend

Success

15:49:41 [Login]: Adding player Tony (224044486) to login queue at position 0
15:49:41 [LoginMachine]: Add player Tony (224044486 IP:63482)
15:49:41 [StateMachine]: Player Tony (dpnid 224044486 uid ) Entering AuthPlayerLoginState
15:49:42 BattlEye Server: Player #0 Tony (107.4.191.165:63482) connected
15:49:42 Player Tony connecting.
15:49:42 [StateMachine]: Player Tony (dpnid 224044486 uid ) Entering WaitAuthPlayerLoginState
15:49:42 BattlEye Server: Player #0 Tony - BE GUID: 1dc7c34e06ff981679c2e799070ba7cb
15:49:44 BattlEye Server: Verified GUID () of player #0 Tony 
15:49:44 Player Tony (id==) has connected.
15:49:44 Player "Tony " is connected (steamID=)
15:49:44 [StateMachine]: Player Tony (dpnid 224044486 uid ) Entering WaitPlayerAssignedLoginState
15:49:44 [StateMachine]: Player Tony (dpnid 224044486 uid ) Entering PlayerAssignedLoginState
15:49:44 [StateMachine]: Player Tony (dpnid 224044486 uid =) Entering DBGetLoginTimeLoginState
15:49:44 [StateMachine]: Player Tony (dpnid 224044486 uid =) Entering DBWaitLoginTimeLoginState
15:49:46 [IdleMode] Leaving OUT

@Geez is the steam connection timeout a connection that the dayz server is attempting to make? or something the client is doing? I assume the server? Is there some configuration we can do to ensure clean connection?

Has there been any progress to improve this for the next patch?
This has gotten worse with 1.26

@Bohemia @Geez As the comment above this has become absurdly unbearable with 1.26 more so since the last patch "Game version: 1.26.159040" this issue has become so much of a issue player retention is really taking a hit people are giving up on even trying to play DayZ this has become a issue for me as a server owner to even log in and perform admin duties on my own server even, We need a resolution priority ASAP.

Just had a BEDaisy.sys Blue screen crash so tells me a memory leak issue ? with DayZ -> BattleEye / Steam