mojira.dev
BDS-17401

Cannot connect to server, malformed RakNet packet

Server shows up in the friends list as usual, I try to connect but connection times out after a minute or so.

 

Wireshark packet capture attached.

Linked issues

Attachments

Comments 10

I've turned on telemetry now for info

emit-server-telemetry=true

 

[media]

$  cat mc01.2022.08.05.08.15.58.log
[2022-08-05 08:15:58] NO LOG FILE! - setting up server logging...
[2022-08-05 08:15:58] [2022-08-05 08:15:58:932 INFO] Starting Server
[2022-08-05 08:15:58] [2022-08-05 08:15:58:933 INFO] Version 1.19.11.01
[2022-08-05 08:15:58] [2022-08-05 08:15:58:933 INFO] Session ID 22c7470d-be8e-4819-abca-60ef1bd39110
[2022-08-05 08:15:58] [2022-08-05 08:15:58:935 INFO] Level Name: Bedrock level
[2022-08-05 08:15:58] [2022-08-05 08:15:58:992 WARN] 'whitelist.json' will be deprecated. Please migrate to 'allowlist.json'.
[2022-08-05 08:15:58] [2022-08-05 08:15:58:994 INFO] Game mode: 0 Survival
[2022-08-05 08:15:58] [2022-08-05 08:15:58:994 INFO] Difficulty: 1 EASY
[2022-08-05 08:15:58] [2022-08-05 08:15:58:106 INFO] opening worlds/Bedrock level/db
[2022-08-05 08:16:00] [2022-08-05 08:16:00:094 INFO] IPv4 supported, port: 19132
[2022-08-05 08:16:00] [2022-08-05 08:16:00:095 INFO] IPv6 supported, port: 19133
[2022-08-05 08:16:01] [2022-08-05 08:16:01:460 INFO] Server started.
[2022-08-05 08:16:01] [2022-08-05 08:16:01:486 INFO] IPv4 supported, port: 54318
[2022-08-05 08:16:01] [2022-08-05 08:16:01:487 INFO] IPv6 supported, port: 43009

 

Small script I use to easily check the latest log file.

$ cat /usr/local/bin/log
folder='/home/xxxx/minecraftbe/mc01/logs/'
newlog=`ls -lat $folder | head -n 2 | awk ' NR==2 {print $NF} '`
cat $folder$newlog

Auto Compaction may be broken as well, it ran for the whole day until it's nightly reboot...

 

cat mc01.2022.08.06.04.00.46.log
[2022-08-06 04:00:46] NO LOG FILE! - setting up server logging...
[2022-08-06 04:00:46] [2022-08-06 04:00:46:844 INFO] Starting Server
[2022-08-06 04:00:46] [2022-08-06 04:00:46:844 INFO] Version 1.19.11.01
[2022-08-06 04:00:46] [2022-08-06 04:00:46:844 INFO] Session ID 11ad9264-e4f4-4314-9926-de83887d5494
[2022-08-06 04:00:46] [2022-08-06 04:00:46:844 INFO] Level Name: Bedrock level
[2022-08-06 04:00:46] [2022-08-06 04:00:46:867 WARN] 'whitelist.json' will be deprecated. Please migrate to 'allowlist.json'.
[2022-08-06 04:00:46] [2022-08-06 04:00:46:867 INFO] Game mode: 0 Survival
[2022-08-06 04:00:46] [2022-08-06 04:00:46:867 INFO] Difficulty: 1 EASY
[2022-08-06 04:00:46] [2022-08-06 04:00:46:904 INFO] opening worlds/Bedrock level/db
[2022-08-06 04:00:47] [2022-08-06 04:00:47:478 INFO] IPv4 supported, port: 19132
[2022-08-06 04:00:47] [2022-08-06 04:00:47:479 INFO] IPv6 supported, port: 19133
[2022-08-06 04:00:47] [2022-08-06 04:00:47:755 INFO] Server started.
[2022-08-06 04:00:47] [2022-08-06 04:00:47:781 INFO] IPv4 supported, port: 48880
[2022-08-06 04:00:47] [2022-08-06 04:00:47:782 INFO] IPv6 supported, port: 42155
[2022-08-06 04:06:47] [2022-08-06 04:06:47:943 INFO] Running AutoCompaction...
[2022-08-06 04:12:47] [2022-08-06 04:12:47:944 INFO] Running AutoCompaction...
[2022-08-06 04:18:47] [2022-08-06 04:18:47:944 INFO] Running AutoCompaction...
[2022-08-06 04:24:47] [2022-08-06 04:24:47:945 INFO] Running AutoCompaction...
<snip>
[2022-08-07 03:30:47] [2022-08-07 03:30:47:122 INFO] Running AutoCompaction...
[2022-08-07 03:36:47] [2022-08-07 03:36:47:123 INFO] Running AutoCompaction...
[2022-08-07 03:42:47] [2022-08-07 03:42:47:124 INFO] Running AutoCompaction...
[2022-08-07 03:48:47] [2022-08-07 03:48:47:124 INFO] Running AutoCompaction...
[2022-08-07 03:54:47] [2022-08-07 03:54:47:125 INFO] Running AutoCompaction...
say Server is restarting in 30 seconds! 
say Server is restarting in 7 seconds! 
say Server is restarting in 6 seconds! 
say Server is restarting in 5 seconds! 
say Server is restarting in 4 seconds! 
say Server is restarting in 3 seconds! 
say Server is restarting in 2 seconds! 
say Server is restarting in 1 second! 
say Closing server...
stop
[2022-08-07 04:00:31] [2022-08-07 04:00:31:588 INFO] Server stop requested.
[2022-08-07 04:00:31] [2022-08-07 04:00:31:637 INFO] Stopping server...
[2022-08-07 04:00:31] Quit correctly

I am having to same Problem Here I am running it on the Pterodactyl Panel in Ubuntu 20.04.4 LTS Running in Hyper-V

Recent minor update didn't fix the problem

Last login: Mon Aug  8 21:44:05 2022 from 192.168.222.2
[2022-08-10 04:00:57] NO LOG FILE! - setting up server logging...
[2022-08-10 04:00:57] [2022-08-10 04:00:57:816 INFO] Starting Server
[2022-08-10 04:00:57] [2022-08-10 04:00:57:816 INFO] Version 1.19.20.02
[2022-08-10 04:00:57] [2022-08-10 04:00:57:816 INFO] Session ID 79f229b0-f827-469c-a58f-918885e9803b
[2022-08-10 04:00:57] [2022-08-10 04:00:57:817 INFO] Level Name: Bedrock level
[2022-08-10 04:00:57] [2022-08-10 04:00:57:843 WARN] 'whitelist.json' will be deprecated. Please migrate to 'allowlist.json'.
[2022-08-10 04:00:57] [2022-08-10 04:00:57:844 INFO] Game mode: 0 Survival
[2022-08-10 04:00:57] [2022-08-10 04:00:57:844 INFO] Difficulty: 1 EASY
[2022-08-10 04:00:57] [2022-08-10 04:00:57:884 INFO] opening worlds/Bedrock level/db
[2022-08-10 04:00:58] [2022-08-10 04:00:58:453 INFO] IPv4 supported, port: 19132
[2022-08-10 04:00:58] [2022-08-10 04:00:58:453 INFO] IPv6 supported, port: 19133
[2022-08-10 04:00:58] [2022-08-10 04:00:58:810 INFO] Server started.
[2022-08-10 04:00:59] [2022-08-10 04:00:59:974 INFO] IPv4 supported, port: 38122
[2022-08-10 04:00:59] [2022-08-10 04:00:59:974 INFO] IPv6 supported, port: 54922
[2022-08-10 04:06:58] [2022-08-10 04:06:58:930 INFO] Running AutoCompaction...
[2022-08-10 04:12:58] [2022-08-10 04:12:58:931 INFO] Running AutoCompaction...
[2022-08-10 04:18:58] [2022-08-10 04:18:58:931 INFO] Running AutoCompaction...
[2022-08-10 04:24:58] [2022-08-10 04:24:58:932 INFO] Running AutoCompaction...

Same issue here.  I have to remove most recent security patches on windows host to get it to work. See comments here.  These all looks like similar issues.

BDS-17313

https://bugs.mojang.com/browse/BDS-17499

BDS-17401

https://bugs.mojang.com/browse/BDS-17307

Also tried installing it on a new ubuntu 22.04 with same results.

Indeed, it's just broken

Nothing firewall related as the packet capture shows bi-directional comms with the server but something seems to break within the protocol

I did a RAKNET comparison between with and without the KB5015807.  What I am seeing is that the Client sends an ACK (0xc0), it passes through the Hyper-V HOST/Server, the Ubuntu server sees it and responds with it's own ACK, but that ACK is not passed through the Hyper-V Host back the the client.

The malformed packet (0x9) from the MC client to the Bedrock server shows up with and without the KB. 

Thank you for your report!
We're tracking this issue in BDS-17307, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 BDS Wiki – 📖 FAQs

migrated

(Unassigned)

Unconfirmed

Retrieved