1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved massive players logged out due to timeout

Discussion in 'Help' started by TeraCube, Jun 16, 2018.

  1. hikingjungle

    hikingjungle Baby Zombie

    Messages:
    123
    GitHub:
    hikingjungle
    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)
     
  2. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    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
     
  3. Destroyer57

    Destroyer57 Zombie

    Messages:
    275
    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
     
  4. hikingjungle

    hikingjungle Baby Zombie

    Messages:
    123
    GitHub:
    hikingjungle
    do you have a good internet?
     
  5. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    yes i have a good internet at home and at office
    and ping off the hosted server is < 10 ms
     
  6. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    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 [-]
     
    Last edited: Jul 31, 2018
  7. corytortoise

    corytortoise Skeleton

    Messages:
    825
    GitHub:
    corytortoise
    I'd report that on the GitHub repo for EssentialsPE if it isn't already. The current developers are very active.
     
    TeraCube likes this.
  8. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    thanks but i reported that issue on EssentialsTP yesterday ( i have not EssentialsPE on my server)
     
  9. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    @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 [-]
     
  10. hikingjungle

    hikingjungle Baby Zombie

    Messages:
    123
    GitHub:
    hikingjungle
    Could it be your ddos blocking players?
     
  11. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    i'll ask server hoster ...
    it's seem to be an issue with anti fly
     
  12. Destroyer57

    Destroyer57 Zombie

    Messages:
    275
    Anti Fly has nothing to do with timeouts
     
  13. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    solved
    i was a packet loss issue
     
  14. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    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.
     
  15. TeraCube

    TeraCube Zombie

    Messages:
    262
    GitHub:
    teracube
    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
     
    Muqsit and Awzaw like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.