<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sat Jan 11 07:24:41 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[BDS-3245] PS4 player cannot authenticate to BDS LAN game when online-mode=true</title>
                <link>https://bugs.mojang.com/browse/BDS-3245</link>
                <project id="11700" key="BDS">Bedrock Dedicated Server</project>
                    <description>&lt;p&gt;I am trying to use BDS to run a LAN game for Xbox, Windows 10, and PS4.&#160; I would like to require authentication so I can feel more confident about expose my server&apos;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.&lt;/p&gt;

&lt;p&gt;Info (using placeholders instead of real usernames):&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;User has their PS4 account connected to a Microsoft account.
	&lt;ul&gt;
		&lt;li&gt;PS4 username = my_ps4_username&lt;/li&gt;
		&lt;li&gt;Xbox gamertag =&#160;MyXboxGamerTag&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;server.properties file has
	&lt;ul&gt;
		&lt;li&gt;online-mode=true&lt;/li&gt;
		&lt;li&gt;white-list=true&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;whitelist.json has both the PS4 username and xbox gamertag in the whitelist.json file&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;tt&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;\{&amp;quot;name&amp;quot;:&amp;quot;MyXboxGamertag&amp;quot;,&amp;quot;xuid&amp;quot;:&amp;quot;12345&amp;quot;},\{&amp;quot;name&amp;quot;:&amp;quot;my_ps4_username&amp;quot;}&amp;#93;&lt;/span&gt;&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;Users on Xbox and Windows 10 can connect, but the PS4 user still gets this error from the PS4 game:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;You need to authenticate to Microsoft services.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;When I set both online-mode and white-list to false, the PS4 player can connect and the server log shows&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;2020-02-16 22:52:54 INFO&amp;#93;&lt;/span&gt;&#160;Player connected: &amp;lt;MyXboxGamerTag&amp;gt;, xuid: &amp;lt;12345&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;</description>
                <environment></environment>
        <key id="290388">BDS-3245</key>
            <summary>PS4 player cannot authenticate to BDS LAN game when online-mode=true</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="natemcmaster">Nate McMaster</reporter>
                        <labels>
                            <label>awaiting-response</label>
                    </labels>
                <created>Mon, 17 Feb 2020 00:30:26 +0100</created>
                <updated>Tue, 10 Mar 2020 00:36:48 +0100</updated>
                            <resolved>Tue, 10 Mar 2020 00:36:48 +0100</resolved>
                                    <version>1.14.30</version>
                                    <fixVersion>1.14.32.1</fixVersion>
                                            <votes>0</votes>
                                    <watches>1</watches>
                                                                            <comments>
                            <comment id="645064" author="natemcmaster" created="Mon, 9 Mar 2020 15:48:56 +0100"  >&lt;p&gt;I upgraded my server to 1.14.32.1 and now things are working. Thanks!&lt;/p&gt;</comment>
                            <comment id="642799" author="ionicecko" created="Wed, 4 Mar 2020 14:04:53 +0100"  >&lt;p&gt;Just tested this on BDS 1.14.32.1 and PS4 1.14.31 and I can&apos;t get it to work in either config now.&lt;/p&gt;

&lt;p&gt;Both cause the PS Plus prompt to come up for me which seems odd.&lt;/p&gt;

&lt;p&gt;Are you able to retest on the latest version Nate?&lt;/p&gt;</comment>
                            <comment id="635419" author="ionicecko" created="Mon, 17 Feb 2020 06:51:39 +0100"  >&lt;p&gt;They shouldn&apos;t do. I have a similar setup but run my BDS from a Windows Server 2019 VM and haven&apos; seen any issues (even connected from a PS4 for giggles). I&apos;ve seen a few issues come in for Bedrock and Ubuntu but have been lax on getting my test environment fixed up.&lt;/p&gt;

&lt;p&gt;Will throw something together and test it. Keep in mind though PS4 doesn&apos;t support BDS so I may not be able to forward this on regardless of the outcome.&lt;/p&gt;</comment>
                            <comment id="635390" author="natemcmaster" created="Mon, 17 Feb 2020 04:52:37 +0100"  >&lt;p&gt;Thanks for the reply. Here is more information about my setup.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Server OS = Ubuntu 18.04.4&lt;/li&gt;
	&lt;li&gt;Server timezone = UTC&lt;/li&gt;
	&lt;li&gt;Server clock and my laptop are the same right now, so don&apos;t think it&apos;s an issue with the server clock being messed up&lt;/li&gt;
	&lt;li&gt;Bedrock is running on the &quot;bare metal&quot; e.g. not using a Docker container or Kubernetes deployment&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Clients that work:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Minecraft for Xbox One (v1.14.30)&lt;/li&gt;
	&lt;li&gt;Minecraft for Windows 10 Bedrock (v1.14.1)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Client that isn&apos;t working:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Minecraft for PS4 (v1.14.30)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Do server and client need to configured for the same timezone?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="635377" author="ionicecko" created="Mon, 17 Feb 2020 03:58:08 +0100"  >&lt;p&gt;Hi Nate,&lt;/p&gt;

&lt;p&gt;Could you provide more information about your setup? What OS the server is running on, any difference between your clients?&lt;/p&gt;

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

&lt;p&gt;Ionic&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="266132" name="PS4 screenshot.jpeg" size="488826" author="natemcmaster" created="Mon, 17 Feb 2020 00:33:13 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                    <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i17yhr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>