i had one player that this kept happening to and the way i fixed to was changing compression-level: 9 and max-mtu-size: 600 in network section of pocketmine.yml (the 300 second block is caused by clients requesting 5000 or more packets/tick)
i trieds this setup but don't work for my on my server all players are disconnect at same hour/minute/second with message logged out due to timeout. it happened 'randomly' with just 1/2 or 40 players i don't find the solution thanks for your help
i dont think so. but you can make a backup of your world , download everything again https://github.com/pmmp/PocketMine-MP and paste the world in it
InvalidStateException: "Trying to get permissions of closed player" (EXCEPTION) in "src/pocketmine/Player" at line 616 sometimes my server is spammed by this error on log grabbag, essentialstp, raklib, or PMMP issue PMMP and these 3 plugins are on latest release version on my server i opened an issue is there a relationship with massive players logged out due to timeout ? thanks Code: 2018-07-31 [13:15:34] [Server thread/CRITICAL]: Unhandled exception executing command 'tpahere Alix' in tpahere: Trying to get permissions of closed player 2018-07-31 [13:15:34] [Server thread/CRITICAL]: InvalidStateException: "Trying to get permissions of closed player" (EXCEPTION) in "src/pocketmine/Player" at line 616 2018-07-31 [13:15:34] [Server thread/DEBUG]: #0 src/pocketmine/command/Command(147): pocketmine\Player->hasPermission(string essentialstp.command.tpahere) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #1 src/pocketmine/command/Command(123): pocketmine\command\Command->testPermissionSilent(pocketmine\Player object) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #2 src/pocketmine/command/PluginCommand(54): pocketmine\command\Command->testPermission(pocketmine\Player object) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #3 src/pocketmine/command/SimpleCommandMap(258): pocketmine\command\PluginCommand->execute(pocketmine\Player object, string tpahere, array Array()) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #4 src/pocketmine/Server(1958): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string tpahere Alix) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #5 GrabBag_dev-20.phar/src/aliuly/grabbag/CmdSelMgr(55): pocketmine\Server->dispatchCommand(pocketmine\Player object, string tpahere Alix) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #6 src/pocketmine/plugin/MethodEventExecutor(38): aliuly\grabbag\CmdSelMgr->onPlayerCmd(pocketmine\event\player\PlayerCommandPreprocessEvent object) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #7 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(aliuly\grabbag\CmdSelMgr object, pocketmine\event\player\PlayerCommandPreprocessEvent object) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #8 src/pocketmine/plugin/PluginManager(749): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerCommandPreprocessEvent object) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #9 src/pocketmine/Player(2179): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerCommandPreprocessEvent object) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(222): pocketmine\Player->chat(string /tpahere @a) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(54): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/protocol/BatchPacket(114): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #15 src/pocketmine/Player(3033): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/RakLibInterface(158): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #17 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 86.246.138.71 38492, raklib\protocol\EncapsulatedPacket object, integer 0) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #18 src/pocketmine/network/mcpe/RakLibInterface(103): raklib\server\ServerHandler->handlePacket() 2018-07-31 [13:15:34] [Server thread/DEBUG]: #19 src/pocketmine/network/Network(94): pocketmine\network\mcpe\RakLibInterface->process() 2018-07-31 [13:15:34] [Server thread/DEBUG]: #20 src/pocketmine/network/mcpe/RakLibInterface(80): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #21 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}() 2018-07-31 [13:15:34] [Server thread/DEBUG]: #22 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications() 2018-07-31 [13:15:34] [Server thread/DEBUG]: #23 src/pocketmine/Server(2261): pocketmine\snooze\SleeperHandler->sleepUntil(double 1533035734.4473) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #24 src/pocketmine/Server(2132): pocketmine\Server->tickProcessor() 2018-07-31 [13:15:34] [Server thread/DEBUG]: #25 src/pocketmine/Server(1713): pocketmine\Server->start() 2018-07-31 [13:15:34] [Server thread/DEBUG]: #26 src/pocketmine/PocketMine(237): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/gsp_1485/g3.hmserv.eu-19144/, string /home/gsp_1485/g3.hmserv.eu-19144/plugins/) 2018-07-31 [13:15:34] [Server thread/DEBUG]: #27 /home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar(1): require(string phar:///home/gsp_1485/g3.hmserv.eu-19144/PocketMine-MP.phar/src/pocketmine/PocketMine.php) another information often before massive logged out due to timeout 1 or 2 players are kicked by server for flying (false positive ?) Code: 2018-07-31 [14:34:30] [Server thread/INFO]: [14:34:30] zolebo551 [-] 2018-07-31 [14:34:30] [Server thread/INFO]: zolebo551[/xx.xxx.161.248:58004] logged out due to Kicked by admin. Reason: Flying is not enabled on this server 2018-07-31 [14:34:31] [Server thread/INFO]: [14:34:31] Atoltou53 [-] 2018-07-31 [14:34:31] [Server thread/INFO]: Atoltou53[/xx.xxx.8.234:36796] logged out due to Kicked by admin. Reason: Flying is not enabled on this server 2018-07-31 [14:34:35] [Server thread/INFO]: [14:34:35] Mgser47 [-] 2018-07-31 [14:34:36] [Server thread/INFO]: Mgser47[/xx.xxx.xxxx.193:57832] logged out due to timeout 2018-07-31 [14:34:36] [Server thread/INFO]: [14:34:36] Comabea [-] 2018-07-31 [14:34:36] [Server thread/INFO]: Comabea[/xxx.188.63.99:34078] logged out due to timeout 2018-07-31 [14:34:36] [Server thread/INFO]: [14:34:36] Wintings663 [-] 2018-07-31 [14:34:36] [Server thread/INFO]: Wintings663[/94.239.70.254:35675] logged out due to timeout 2018-07-31 [14:34:36] [Server thread/INFO]: [14:34:36] Fourth99 [-] 2018-07-31 [14:34:36] [Server thread/INFO]: Fourth99[/81.50.169.9:35670] logged out due to timeout 2018-07-31 [14:34:36] [Server thread/INFO]: [14:34:36] Verydragon02 [-]
I'd report that on the GitHub repo for EssentialsPE if it isn't already. The current developers are very active.
@corytortoise what do you think of that another information often before massive logged out due to timeout 1 or 2 players are kicked by server for flying (false positive ?) Code: 2018-07-31 [14:34:30] [Server thread/INFO]: [14:34:30] zolebo551 [-] 2018-07-31 [14:34:30] [Server thread/INFO]: zolebo551[/xx.xxx.161.248:58004] logged out due to Kicked by admin. Reason: Flying is not enabled on this server 2018-07-31 [14:34:31] [Server thread/INFO]: [14:34:31] Atoltou53 [-] 2018-07-31 [14:34:31] [Server thread/INFO]: Atoltou53[/xx.xxx.8.234:36796] logged out due to Kicked by admin. Reason: Flying is not enabled on this server 2018-07-31 [14:34:35] [Server thread/INFO]: [14:34:35] Mgser47 [-] 2018-07-31 [14:34:36] [Server thread/INFO]: Mgser47[/xx.xxx.xxxx.193:57832] logged out due to timeout 2018-07-31 [14:34:36] [Server thread/INFO]: [14:34:36] Comabea [-] 2018-07-31 [14:34:36] [Server thread/INFO]: Comabea[/xxx.188.63.99:34078] logged out due to timeout 2018-07-31 [14:34:36] [Server thread/INFO]: [14:34:36] Wintings663 [-] 2018-07-31 [14:34:36] [Server thread/INFO]: Wintings663[/94.239.70.254:35675] logged out due to timeout 2018-07-31 [14:34:36] [Server thread/INFO]: [14:34:36] Fourth99 [-] 2018-07-31 [14:34:36] [Server thread/INFO]: Fourth99[/81.50.169.9:35670] logged out due to timeout 2018-07-31 [14:34:36] [Server thread/INFO]: [14:34:36] Verydragon02 [-]
You should include more detail as to how you solved something when you mark as 'solved', so that other people with the same problem don't have to guess how you fixed it.
Oops sorry you're right I opened an issue on my hosting services. my provider has identified lost packets while backing up their servers always early in the morning the problem was packet loss due to insufficient bandwidth during his backup my provider increased the bandwidth of his servers sorry for my bad english