mineflayer
mineflayer copied to clipboard
Chunk size is X but only 1 was read ; partial packet : {"name":"bundle_delimiter"}; buffer
- [ ] 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.
Well maybe its because the server is 1.20.2 and your bot is 1.20.1
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.
Let's check how bundle delimiter is done in paper code maybe ?
But also btw this is a warning not an error
Do you have any error ?
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)