zlib_decode(): data error" in my server test using: https://jenkins.pmmp.io/job/PocketMine-MP/1284/artifact/PocketMine-MP.phar PMMP or plugin issue thanks Code: 2018-07-22 [21:11:06] [Server thread/CRITICAL]: ErrorException: "zlib_decode(): data error" (EXCEPTION) in "src/pocketmine/network/mcpe/NetworkCompression" at line 35 2018-07-22 [21:11:06] [Server thread/DEBUG]: #0 (): pocketmine\utils\Utils::errorExceptionHandler(integer 2, string zlib_decode(): data error, string phar:///home/gsp_1485/urlmyservertest/PocketMine-MP.phar/src/pocketmine/network/mcpe/NetworkCompression.php, integer 35, array Array()) 2018-07-22 [21:11:06] [Server thread/DEBUG]: #1 src/pocketmine/network/mcpe/NetworkCompression(35): zlib_decode(string x...a``Z......>.., integer 67108864) 2018-07-22 [21:11:06] [Server thread/DEBUG]: #2 src/pocketmine/network/mcpe/NetworkSession(147): pocketmine\network\mcpe\NetworkCompression::decompress(string x...a``Z......>..) 2018-07-22 [21:11:06] [Server thread/DEBUG]: #3 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\network\mcpe\NetworkSession->handleEncoded(string x...a``Z......>..) 2018-07-22 [21:11:06] [Server thread/DEBUG]: #4 vendor/pocketmine/raklib/src/server/ServerHandler(98): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 31.36.68.27 46649, raklib\protocol\EncapsulatedPacket object, integer 0) 2018-07-22 [21:11:06] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/RakLibInterface(97): raklib\server\ServerHandler->handlePacket() 2018-07-22 [21:11:06] [Server thread/DEBUG]: #6 src/pocketmine/network/Network(91): pocketmine\network\mcpe\RakLibInterface->process() 2018-07-22 [21:11:06] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/RakLibInterface(74): pocketmine\network\Network->processInterface(pocketmine\network\mcpe\RakLibInterface object) 2018-07-22 [21:11:06] [Server thread/DEBUG]: #8 vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}() 2018-07-22 [21:11:06] [Server thread/DEBUG]: #9 vendor/pocketmine/snooze/src/SleeperHandler(82): pocketmine\snooze\SleeperHandler->processNotifications() 2018-07-22 [21:11:06] [Server thread/DEBUG]: #10 src/pocketmine/Server(2259): pocketmine\snooze\SleeperHandler->sleepUntil(double 1532286666.0694) 2018-07-22 [21:11:06] [Server thread/DEBUG]: #11 src/pocketmine/Server(2130): pocketmine\Server->tickProcessor() 2018-07-22 [21:11:06] [Server thread/DEBUG]: #12 src/pocketmine/Server(1709): pocketmine\Server->start() 2018-07-22 [21:11:06] [Server thread/DEBUG]: #13 src/pocketmine/PocketMine(243): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/gsp_1485/urlmyservertest/, string /home/gsp_1485/urlmyservertest/plugins/) 2018-07-22 [21:11:06] [Server thread/DEBUG]: #14 /home/gsp_1485/urlmyservertest/PocketMine-MP.phar(1): require(string phar:///home/gsp_1485/urlmyservertest/PocketMine-MP.phar/src/pocketmine/PocketMine.php) 2018-07-22 [21:11:06] [RakLibServer thread/NOTICE]: Blocked 31.XX.XX.27 for 5 seconds
Try your server with with a different version of pocketmine.phar, if that doesn't work try the server with no plugins. If it's the plugins, add plugins back to the server one by one until the problem happens again, and then you will know which is the offending plugin
@dktaps i tried PMMP #1288 https://jenkins.pmmp.io/job/PocketMine-MP/1288/artifact/PocketMine-MP.phar lot of players are blocked for 300 seconds or logged due to time out sorry i can not test server without plugins at the moment but with PMMP #1284 no problem
compression-level: 7 thanks Code: network: #Threshold for batching packets, in bytes. Only these packets will be compressed #Set to 0 to compress everything, -1 to disable. batch-threshold: 256 #Compression level used when sending batched packets. Higher = more CPU, less bandwidth usage compression-level: 7 #Use AsyncTasks for compression. Adds half/one tick delay, less CPU load on main thread async-compression: false #Experimental, only for Windows. Tries to use UPnP to automatically port forward upnp-forwarding: false #Maximum size in bytes of packets sent over the network (default 1492 bytes). Packets larger than this will be #fragmented or split into smaller parts. Clients can request MTU sizes up to but not more than this number. max-mtu-size: 1492
do you use the latest release or the latest dev release? i recomend you get your releases from here https://github.com/pmmp/PocketMine-MP/releases try using the one on top, I have no problems with it
solved with latest stable release https://jenkins.pmmp.io/job/PocketMine-MP/1269/artifact/PocketMine-MP.phar