[BDS-3245] PS4 player cannot authenticate to BDS LAN game when online-mode=true Created: 16/Feb/20  Updated: 09/Mar/20  Resolved: 09/Mar/20

Status: Resolved
Project: Bedrock Dedicated Server
Affects Version/s: 1.14.30
Fix Version/s: 1.14.32.1

Type: Bug
Reporter: Nate McMaster Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: awaiting-response

Attachments: JPEG File PS4 screenshot.jpeg    

 Description   

I am trying to use BDS to run a LAN game for Xbox, Windows 10, and PS4.  I would like to require authentication so I can feel more confident about expose my server's port to the internet for a remote player, but when I attempt to enable the whitelist and online-mode settings, the PS4 player cannot connect anymore.

Info (using placeholders instead of real usernames):

  • User has their PS4 account connected to a Microsoft account.
    • PS4 username = my_ps4_username
    • Xbox gamertag = MyXboxGamerTag
  • server.properties file has
    • online-mode=true
    • white-list=true
  • whitelist.json has both the PS4 username and xbox gamertag in the whitelist.json file

[\{"name":"MyXboxGamertag","xuid":"12345"},\{"name":"my_ps4_username"}]

Users on Xbox and Windows 10 can connect, but the PS4 user still gets this error from the PS4 game:

You need to authenticate to Microsoft services.

When I set both online-mode and white-list to false, the PS4 player can connect and the server log shows

[2020-02-16 22:52:54 INFO] Player connected: <MyXboxGamerTag>, xuid: <12345>



 Comments   
Comment by Nate McMaster [ 09/Mar/20 ]

I upgraded my server to 1.14.32.1 and now things are working. Thanks!

Comment by IonicEcko [ 04/Mar/20 ]

Just tested this on BDS 1.14.32.1 and PS4 1.14.31 and I can't get it to work in either config now.

Both cause the PS Plus prompt to come up for me which seems odd.

Are you able to retest on the latest version Nate?

Comment by IonicEcko [ 17/Feb/20 ]

They shouldn't do. I have a similar setup but run my BDS from a Windows Server 2019 VM and haven' seen any issues (even connected from a PS4 for giggles). I've seen a few issues come in for Bedrock and Ubuntu but have been lax on getting my test environment fixed up.

Will throw something together and test it. Keep in mind though PS4 doesn't support BDS so I may not be able to forward this on regardless of the outcome.

Comment by Nate McMaster [ 17/Feb/20 ]

Thanks for the reply. Here is more information about my setup.

  • Server OS = Ubuntu 18.04.4
  • Server timezone = UTC
  • Server clock and my laptop are the same right now, so don't think it's an issue with the server clock being messed up
  • Bedrock is running on the "bare metal" e.g. not using a Docker container or Kubernetes deployment

Clients that work:

  • Minecraft for Xbox One (v1.14.30)
  • Minecraft for Windows 10 Bedrock (v1.14.1)

Client that isn't working:

  • Minecraft for PS4 (v1.14.30)

Do server and client need to configured for the same timezone?

 

Comment by IonicEcko [ 17/Feb/20 ]

Hi Nate,

Could you provide more information about your setup? What OS the server is running on, any difference between your clients?

Other users have reported success fixing the timezone and time/date on their Linux instances (especially when using Docker) with this issue.

Ionic

Generated at Sat Jan 11 07:24:41 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.