{"action":"created","issue":{"url":"https://api.github.com/repos/GlowstonePlusPlus/GlowstonePlusPlus/issues/146","labels_url":"https://api.github.com/repos/GlowstonePlusPlus/GlowstonePlusPlus/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/GlowstonePlusPlus/GlowstonePlusPlus/issues/146/comments","events_url":"https://api.github.com/repos/GlowstonePlusPlus/GlowstonePlusPlus/issues/146/events","html_url":"https://github.com/GlowstonePlusPlus/GlowstonePlusPlus/issues/146","id":125343378,"number":146,"title":"mineflayer client hangs Glowstone++ server","user":{"login":"deathcap","id":5897956,"avatar_url":"https://avatars.githubusercontent.com/u/5897956?v=3","gravatar_id":"","url":"https://api.github.com/users/deathcap","html_url":"https://github.com/deathcap","followers_url":"https://api.github.com/users/deathcap/followers","following_url":"https://api.github.com/users/deathcap/following{/other_user}","gists_url":"https://api.github.com/users/deathcap/gists{/gist_id}","starred_url":"https://api.github.com/users/deathcap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deathcap/subscriptions","organizations_url":"https://api.github.com/users/deathcap/orgs","repos_url":"https://api.github.com/users/deathcap/repos","events_url":"https://api.github.com/users/deathcap/events{/privacy}","received_events_url":"https://api.github.com/users/deathcap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-07T07:49:13Z","updated_at":"2016-01-07T09:24:11Z","closed_at":null,"body":"Using the latest Glowstone++ (65111e) I can connect with the official client, but https://github.com/PrismarineJS/mineflayer (also latest dev version, c3f67f9) hangs and seems to DoS the server, but it does not crash:\r\n\r\n```\r\n# using simple mineflayer example client\r\nmineflayer $ NODE_DEBUG=minecraft-protocol node examples/echo.js  localhost 25565\r\nMC-PROTO: 65282 Old-styling packet\r\nMC-PROTO: 65282 writing packetId handshaking.set_protocol (0x0)\r\nMC-PROTO: 65282 { protocolVersion: 47,\r\n  serverHost: 'localhost',\r\n  serverPort: 25565,\r\n  nextState: 2 }\r\nMC-PROTO: 65282 Old-styling packet\r\nMC-PROTO: 65282 writing packetId login.login_start (0x0)\r\nMC-PROTO: 65282 { username: 'echo' }\r\n# hangs here until it eventually times out after a few seconds\r\nmineflayer $ \r\n```\r\n\r\nThe server kicks the client for timing out:\r\n\r\n```\r\n+ java -mx2G -jar target/glowstone++-1.8.9-SNAPSHOT.jar\r\n23:41:44 [INFO] This server is running Glowstone++ version null (Implementing API version null)\r\n23:41:45 [INFO] Recipes: 295 shaped, 63 shapeless, 24 furnace, 10 dynamic, 14 fuels.\r\n23:41:45 [WARNING] The server is running in offline mode! Only do this if you know what you're doing.\r\n23:41:45 [INFO] Scanning plugins...\r\n23:41:45 [INFO] Preparing spawn for world...\r\n23:41:45 [INFO] dungeon generated: -335,8,-325\r\n23:41:46 [INFO] Preparing spawn for world: 1%\r\n23:41:47 [INFO] Preparing spawn for world: done\r\n23:41:47 [INFO] Preparing spawn for world_nether...\r\n23:41:48 [INFO] Preparing spawn for world_nether: 76%\r\n23:41:48 [INFO] Preparing spawn for world_nether: done\r\n23:41:48 [INFO] Preparing spawn for world_the_end...\r\n23:41:48 [INFO] Preparing spawn for world_the_end: done\r\n23:41:48 [INFO] Binding to address: 0.0.0.0/0.0.0.0:25565...\r\n23:41:49 [INFO] Successfully bound to: /0:0:0:0:0:0:0:0:25565\r\n23:41:49 [INFO] Ready for connections.\r\n23:42:20 [INFO] [/127.0.0.1:60220] kicked: Timed out\r\n```\r\n\r\nAfter the server gets into this state, I can no longer connect even with the official client (it, too, times out), and the server console accepts input but does is not responsive to any commands.\r\n\r\nThread dump (from Ctrl-\\): https://gist.github.com/deathcap/f693a83c749199824926\r\n\r\nThere were Glowstone++ / mineflayer incompatibilities previously (I last tested with https://github.com/PrismarineJS/mineflayer/issues/253) but IIRC, this used to work - maybe regressed with protocol updates?"},"comment":{"url":"https://api.github.com/repos/GlowstonePlusPlus/GlowstonePlusPlus/issues/comments/169606735","html_url":"https://github.com/GlowstonePlusPlus/GlowstonePlusPlus/issues/146#issuecomment-169606735","issue_url":"https://api.github.com/repos/GlowstonePlusPlus/GlowstonePlusPlus/issues/146","id":169606735,"user":{"login":"mastercoms","id":2672245,"avatar_url":"https://avatars.githubusercontent.com/u/2672245?v=3","gravatar_id":"","url":"https://api.github.com/users/mastercoms","html_url":"https://github.com/mastercoms","followers_url":"https://api.github.com/users/mastercoms/followers","following_url":"https://api.github.com/users/mastercoms/following{/other_user}","gists_url":"https://api.github.com/users/mastercoms/gists{/gist_id}","starred_url":"https://api.github.com/users/mastercoms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mastercoms/subscriptions","organizations_url":"https://api.github.com/users/mastercoms/orgs","repos_url":"https://api.github.com/users/mastercoms/repos","events_url":"https://api.github.com/users/mastercoms/events{/privacy}","received_events_url":"https://api.github.com/users/mastercoms/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T09:24:11Z","updated_at":"2016-01-07T09:24:11Z","body":"Does this work in the build before Netty 5?"}}