# EOS AntiCheat authentication fails for some clients 

**URL:** <https://forums.unrealengine.com/t/eos-anticheat-authentication-fails-for-some-clients/2858187>\
**Category:** Multiplayer\
**Tags:** epic-online-services, question\
**Created:** [January 11, 2025, 8:26pm UTC](https://forums.unrealengine.com/t/eos-anticheat-authentication-fails-for-some-clients/2858187 "2025-01-11T20:26:14Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [January 11, 2025, 8:26pm UTC](https://forums.unrealengine.com/t/eos-anticheat-authentication-fails-for-some-clients/2858187/1 "2025-01-11T20:26:14Z")

</div>

I have followed the AntiCheat Interface docs and sample code to integrate it into our game in UE5.4. The anti-cheat callbacks and messages seem to be working correctly.

I am getting authentication failed errors during protected session for clients running without anti-cheat bootstrapper with the below log, which is expected behaviour.

`LogEOSSDK: LogEOSAntiCheat: [AntiCheatServer] Queueing action to remove Client: 000001D5C5D660A0 ActionReason: 3 Details: Authentication timed out (1/2)`

But for some clients running with anti-cheat bootstrapper are sometimes getting authentication failed error with below log which seem to be incorrectly failing.

`LogEOSSDK: LogEOSAntiCheat: [AntiCheatServer] Queueing action to remove Client: 000001D5B4BD8B20 ActionReason: 3 Details: Authentication timed out (2/2)`

Notice: the (1/2) and (2/2) in both the log.

I couldn’t find any more info on the authentication failing reason for such clients who are running anti-cheat bootstrapper. Other clients do not have any issue authenticating but happens only for some clients.

Please help me debug this. Thanks.

---

<div class="post-metadata">

**Author:** ![SebBergy2.0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebbergy2.0/32/1214708_2.png) [@SebBergy2.0](https://forums.unrealengine.com/u/SebBergy2.0)\
**Post date:** [January 13, 2025, 1:39pm UTC](https://forums.unrealengine.com/t/eos-anticheat-authentication-fails-for-some-clients/2858187/2 "2025-01-13T13:39:15Z")

</div>

You can increase the logging level using [EOS\_Loggin\_SetLogLevel.](https://dev.epicgames.com/docs/en-US/api-ref/functions/eos-logging-set-log-level)

The most common cause for AuthenticationFailed is the messages between client-server (or between clients in P2P) isn’t working correctly. Can you add some log messages to your code where the messages are sent and received to confirm the messages are exactly the same as our sender and receiver? We’ve had numerous partners run into issues because messages were being modified in their networking code.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [January 14, 2025, 7:45pm UTC](https://forums.unrealengine.com/t/eos-anticheat-authentication-fails-for-some-clients/2858187/3 "2025-01-14T19:45:42Z")

</div>

Hi Seb,

Thanks for your quick response.

I’ve had to make several changes to the AntiCheat usage in our game. Finally, it looks like it’s working as expected. However, I sometimes get the Authentication timed out (2/2).

I have logs from a session where the Server registers the client and then they exchange a few messages and I can confirm they are being sent correctly over the network from the game’s end. But then the client stops getting callbacks from OnMessageToServerCallback (bound to EOS\_AntiCheatClient\_AddNotifyMessageToServer) and there’s nothing to send to Server. But the networked game just works fine and the client can play game fine (since we are not actually kicking them for debug purposes).

Here’s logs of host and client with VeryVerbose logging for LogEOSSDK.

Please help.

---

<div class="post-metadata">

**Author:** ![SebBergy2.0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebbergy2.0/32/1214708_2.png) [@SebBergy2.0](https://forums.unrealengine.com/u/SebBergy2.0)\
**Post date:** [January 17, 2025, 4:57pm UTC](https://forums.unrealengine.com/t/eos-anticheat-authentication-fails-for-some-clients/2858187/4 "2025-01-17T16:57:50Z")

</div>

Glad this is mostly resolved. Could you share your ProductId? I’ll have a look at our backend. Thanks!

---

<div class="post-metadata">

**Author:** ![SebBergy2.0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebbergy2.0/32/1214708_2.png) [@SebBergy2.0](https://forums.unrealengine.com/u/SebBergy2.0)\
**Post date:** [January 21, 2025, 7:12pm UTC](https://forums.unrealengine.com/t/eos-anticheat-authentication-fails-for-some-clients/2858187/5 "2025-01-21T19:12:19Z")

</div>

Sorry for the delay in responding. I’m not seeing any data on our backend. Could you send me the logs from the game start to when the error is returned? If you still have the previous logs, sending me the full file would be helpful. Thanks!

---

<div class="post-metadata">

**Author:** ![SebBergy2.0](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebbergy2.0/32/1214708_2.png) [@SebBergy2.0](https://forums.unrealengine.com/u/SebBergy2.0)\
**Post date:** [January 21, 2025, 8:53pm UTC](https://forums.unrealengine.com/t/eos-anticheat-authentication-fails-for-some-clients/2858187/6 "2025-01-21T20:53:52Z")

</div>

Yes of course! Sorry I should have mentioned you can create a private discussion to share them in my previous reply.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [January 14, 2025, 7:46pm UTC](https://forums.unrealengine.com/t/eos-anticheat-authentication-fails-for-some-clients/2858187/7 "2025-01-14T19:46:20Z")

</div>

And Client logs.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [January 17, 2025, 6:54pm UTC](https://forums.unrealengine.com/t/eos-anticheat-authentication-fails-for-some-clients/2858187/8 "2025-01-17T18:54:12Z")

</div>

Sure, here’s our ProductId 704631b0c18b4c20985467ebce6f2729.

Looking forward to getting this resolved.

Thanks

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [January 21, 2025, 8:44pm UTC](https://forums.unrealengine.com/t/eos-anticheat-authentication-fails-for-some-clients/2858187/9 "2025-01-21T20:44:41Z")

</div>

Is it okay if I create a private discussion and share logs there?

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [January 22, 2025, 11:18am UTC](https://forums.unrealengine.com/t/eos-anticheat-authentication-fails-for-some-clients/2858187/10 "2025-01-22T11:18:28Z")

</div>

Thank you very much for your persistent aid.

I’ve opened a private discussion and linked this discussion in the post. [Content removed]

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [January 14, 2025, 7:51pm UTC](https://forums.unrealengine.com/t/eos-anticheat-authentication-fails-for-some-clients/2858187/11 "2025-01-14T19:51:22Z")

</div>

We’ve added some logging on game side, and here’s client log for that.

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [January 14, 2025, 8:00pm UTC](https://forums.unrealengine.com/t/eos-anticheat-authentication-fails-for-some-clients/2858187/12 "2025-01-14T20:00:12Z")

</div>

And Host game logs.
