question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some servers are not working

See original GitHub issue
var bot = mineflayer.createBot({
  host: "ip", // optional
  port: 25565,       // optional
  username: "right", // email and password are required only for
  password: "right",          // online-mode=true servers
});
bot.on('chat', function(username, message) {
});

gives:

pi@raspberry:~/factions $ node index.js
/home/pi/node_modules/minecraft-protocol/src/transforms/framing.js:76
          throw e;
          ^

Error: Deserialization error for play.toClient : write callback called multiple times
    at afterTransform (/home/pi/node_modules/protodef/node_modules/readable-stream/lib/_stream_transform.js:96:33)
    at TransformState.afterTransform (/home/pi/node_modules/protodef/node_modules/readable-stream/lib/_stream_transform.js:79:12)
    at FullPacketParser._transform (/home/pi/node_modules/protodef/src/serializer.js:85:7)
    at FullPacketParser.Transform._read (/home/pi/node_modules/protodef/node_modules/readable-stream/lib/_stream_transform.js:182:10)
    at FullPacketParser.Transform._write (/home/pi/node_modules/protodef/node_modules/readable-stream/lib/_stream_transform.js:170:83)
    at doWrite (/home/pi/node_modules/protodef/node_modules/readable-stream/lib/_stream_writable.js:406:64)
    at writeOrBuffer (/home/pi/node_modules/protodef/node_modules/readable-stream/lib/_stream_writable.js:395:5)
    at FullPacketParser.Writable.write (/home/pi/node_modules/protodef/node_modules/readable-stream/lib/_stream_writable.js:322:11)
    at Decompressor.ondata (/home/pi/node_modules/minecraft-protocol/node_modules/readable-stream/lib/_stream_readable.js:612:20)
    at Decompressor.emit (events.js:159:13)

when starting

edit: latest version of mineflayer

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
rom1504commented, May 16, 2019

This is fixed

0reactions
rom1504commented, Jan 13, 2018

It would be very useful to make a list of servers with issues so someone (me or other contributors) can easily go through the list and solve the issues. If one of you want to create that list (in a new issue) it would be appreciated.

On Sat, Jan 13, 2018, 19:08 DesWurstes notifications@github.com wrote:

OK, now I see that it works on other servers, however it has problems with 2b2t’s weird void waiting queue.

No problems mostly. Thanks.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/PrismarineJS/mineflayer/issues/624#issuecomment-357454582, or mute the thread https://github.com/notifications/unsubscribe-auth/ACPN_lJHGpNsapdOQlpbavgZH_qEZa47ks5tKPEWgaJpZM4RTwl8 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

8 Common Server Problems & Troubleshooting Tips - Kirbtech
1. Power Outages ... Surges and power failures instantly affect the power of your server, which often causes a complete interruption of workflow...
Read more >
Server Not Found - Troubleshoot connection problems
If you can't connect to a website, you may see the Server Not Found error message. Learn how to troubleshoot and fix this...
Read more >
Website down? Server down? 5 network troubleshooting tools ...
A server can go down for many reasons. Maybe a physical machine loses power, or perhaps the operating system or network card experiences...
Read more >
How to fix the problem “can't connect to server, check internet ...
First, understand that when your browser tells you that a server is “not responding”, that's literally what it means — the browser is...
Read more >
What does "Can't Connect to Server" mean, and how to fix it?
Before we get into the solution to the "Cannot connect to server" problem. Let's look at some of the underlying causes of this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found