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

Server disconnects players and restarts, kind of

Discussion in 'Help' started by artulloss, Apr 22, 2020.

  1. artulloss

    artulloss Witch

    Messages:
    63
    GitHub:
    artulloss
    I'm having an issue where my server disconnects all players and the console log looks like this.

    Code:
    2020-04-22 [14:56:15] [Server thread/INFO]: [175] [Player] wynterbeastmode ยป Want a rematch?
    2020-04-22 [14:56:16] [Server thread/CRITICAL]: Failed to send updated data to versai database.
    2020-04-22 [14:56:18] [Server thread/WARNING]: ChunkUtils extension is missing. Anvil-format worlds will experience degraded performance.
    2020-04-22 [14:56:18] [Server thread/INFO]: Loading pocketmine.yml...
    2020-04-22 [14:56:18] [Server thread/INFO]: Loading server properties...
    2020-04-22 [14:56:18] [Server thread/INFO]: Selected English (eng) as the base language
    2020-04-22 [14:56:18] [Server thread/INFO]: Starting Minecraft: Bedrock Edition server version v1.14.60
    2020-04-22 [14:56:18] [Server thread/INFO]: Starting remote control listener
    2020-04-22 [14:56:18] [Server thread/INFO]: RCON running on 0.0.0.0:19132
    2020-04-22 [14:56:18] [Server thread/NOTICE]: Online mode is enabled. The server will verify that players are authenticated to Xbox Live.
    2020-04-22 [14:56:18] [Server thread/NOTICE]: To disable authentication, set "xbox-auth" to "false" in server.properties.
    2020-04-22 [14:56:18] [Server thread/INFO]: Opening server on 0.0.0.0:19132
    2020-04-22 [14:56:18] [Server thread/INFO]: This server is running PocketMine-MP version 3.12.0
    2020-04-22 [14:56:18] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License
    2020-04-22 [14:56:18] [Server thread/INFO]: Loading resource packs...
    As you can see the server doesn't call the onDisable() function, it just acts like it was started again.

    I think this is caused by a segfault, I've been adding libasynql support to plugins on my server for a bit now and I think that could be the cause. Is there any way I can debug this to find the cause.
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    Try removing one plugin after another to see which one causes the crash (maybe enabling debug logging can help, too)
     
  3. artulloss

    artulloss Witch

    Messages:
    63
    GitHub:
    artulloss
    Where would I enabled debug logging?
     
  4. ethaniccc

    ethaniccc Baby Zombie

    Messages:
    189
    GitHub:
    ethaniccc
    In the pocketmine.yml file:
    Code:
    debug:
     #To enable assertion execution, set zend.assertions in your php.ini to 1
     assertions:
      #Warn if assertions are enabled in php.ini, due to assertions may impact on runtime performance if enabled.
      warn-if-enabled: true
     #If > 1, it will show debug messages in the console
     level: 1
     #Enables /status, /gc
     commands: false
     
  5. artulloss

    artulloss Witch

    Messages:
    63
    GitHub:
    artulloss
    Ok thank you.
     
  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.