Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chunk size is X but only 1 was read ; partial packet : {"name":"bundle_delimiter"}; buffer #3266

Open
1 task
LKits opened this issue Dec 31, 2023 · 6 comments
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f

Comments

@LKits
Copy link

LKits commented Dec 31, 2023

  • The FAQ doesn't contain a resolution to my issue

Versions

  • mineflayer: 4.16.0
  • server: paper 1.20.1
  • node: 18.15.0

Detailed description of a problem

Trying to connect to localhost server.
Getting error:
Chunk size is 119 but only 1 was read ; partial packet : {"name":"bundle_delimiter"}; buffer :0028e96c095c583fb29746e648019f351d0f737576616c696e65626f746e616d65011162756e67656567756172642d746f6b656e40316d5958694a455731627a4c53706b503147367a54437574674d414977634c4f63617264366c43353539514e31464642664444745a65317846704f546f366e640100

What did you try yet?

Different versions (Mineflayer, NodeJS, MC)

Did you try any method from the API?
Did you try any example? Any error from those?

Your current code

const mineflayer = require('mineflayer')

const bot = mineflayer.createBot({
  host: 'localhost',
  username: 'Bot',
  version: '1.20.1'
})

// Log errors and kick reasons:
bot.on('kicked', console.log)
bot.on('error', console.log)

Expected behavior

Joining the server.

Additional context

Add any other context about the problem here.

@LKits LKits added possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f labels Dec 31, 2023
@SilkePilon
Copy link
Contributor

Well maybe its because the server is 1.20.2 and your bot is 1.20.1

@LKits
Copy link
Author

LKits commented Dec 31, 2023

Well maybe its because the server is 1.20.2 and your bot is 1.20.1

No, I triedwith 1.20.1 as well, same error.

@rom1504
Copy link
Member

rom1504 commented Dec 31, 2023

Let's check how bundle delimiter is done in paper code maybe ?

@rom1504
Copy link
Member

rom1504 commented Dec 31, 2023

But also btw this is a warning not an error

Do you have any error ?

@LKits
Copy link
Author

LKits commented Dec 31, 2023

But also btw this is a warning not an error

Do you have any error ?

Oh, okay, no error, just disconnects after some time (ReadTimeoutException : null)

@Zitrone30
Copy link

I have the same issue and it is spamming my console. is there any way to hide it and just not fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Projects
None yet
Development

No branches or pull requests

4 participants