mojira.dev
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>

Attachments

Comments 17

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

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

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

7 more comments

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?

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!

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

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

Nate McMaster

(Unassigned)

awaiting-response

Retrieved