Mojira Archive
BDS-3245

PS4 player cannot authenticate to BDS LAN game when online-mode=true

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>

Attachments1

PS4 screenshot.jpeg
PS4 screenshot.jpeg

Nate McMaster

Comments5

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

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?

 

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.

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?

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

History3

Nate McMaster

Added attachment:

IonicEcko

Added labels: awaiting-response

Removed labels:

[Mod] OcelotOnesie

Resolution: UnresolvedFixed

Added affects versions: 1.14.32.1

Fixed
Nate McMaster
0
1
awaiting-response
1.14.30
1.14.32.1