Pocketmine-mp: Some players cannot connect to the server.

Created on 26 Oct 2017  路  7Comments  路  Source: pmmp/PocketMine-MP

Issue description

Hello, some of my players has a problem. They cannot connect to my server, or nothing doesn鈥檛 work.

Why I decided to create an issue? I tested the latest version of PocketMine-MP and Steadfast2. Therefore, if I am connecting to the server with Steadfast2, everything is OK, but on the server based on PocketMine, anything like a commands or chat are not working, and the chunks are not loading.

A video that shows the problem: deleted

PocketMine-MP: 19132
Steadfast2: 19140

Two servers are installed on my dedicated server (MC-32 OVH).

Steps to reproduce the issue

Unfortunately, I was not able to understand the cause of this problem..

OS and versions

Plugins

  • Game servers are tested without plugins.

Crashdump, backtrace or other files

I can send you any types of debug logs or something like that if you want.

Network Fixed

Most helpful comment

I've pushed a bugfix to RakLib for another MTU size bug, please test https://github.com/pmmp/RakLib/commit/9142e7decec23b302ab470a55e5ed160df4878db

All 7 comments

I can confirm it

my best guess is that it's something to do with Steadfast2's lower maximum MTU size... that's not really solving such problems, but it would probably mitigate it... try lowering this 1464 to 1432 or lower and see if it resolves your issue (https://github.com/pmmp/RakLib/blob/master/server/OfflineMessageHandler.php#L58)

I've pushed a bugfix to RakLib for another MTU size bug, please test https://github.com/pmmp/RakLib/commit/9142e7decec23b302ab470a55e5ed160df4878db

The last fix works! Thank you very much! <3

@dktapps In some people the problem persists, I have to put 1432 everytime I update of pmmp.

This happens on very old routers, which are supplied as an additional service from provider.

Yes, I experienced the same problem on an old library router. As I recall, manually lowering the router MTU size to 1432 helped alleviate the issue. I've been experiencing that problem since at least 0.15, with vanilla and PocketMine both.

MCPE would often crash or fail to connect at all.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Muqsit picture Muqsit  路  3Comments

dktapps picture dktapps  路  3Comments

beetree picture beetree  路  3Comments

MisteFr picture MisteFr  路  3Comments

jasonwynn10 picture jasonwynn10  路  3Comments