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
Took too long to log in #1762
Comments
It's not an error, its a kicked message. maybe try getting rid of checkTimeoutInterval |
Returned the same thing! Looking at the server console we have this: Disconnecting com.mojang.authlib.GameProfile@412a81ea[id=<null>,name=Lusinho555,a={},legacy=false] (/myip): Took too long to log in
com.mojang.authlib.GameProfile@412a81ea[id=<null>,name=Lusinho555,properties={},legacy=false] (/myip) lost connection: Timed out For some reason it takes to long to return the error message My current code: const mineflayer = require('mineflayer')
let player = mineflayer.createBot({
host: "localhost",
port: 25565,
username: 'email',
password: 'password',
})
player.on('kicked', console.log);
player.on('error', console.log);
player.on('login', () => { console.log("I Joined") }); |
|
It returned the same message ""Took too long to log in" false" actually! Regarding your suggestion, I noticed that the default of the By the name I imagine it is what determines the time interval in which you check if you have been kicked. |
Error Message
For some reason when i try to log in in minecraft with method createBot it appears a message saying " "Took too long to log in" false", how can i fix it?
What did you try yet?
I changed the username, password and ... nothing happened.
Current code
My code:
The text was updated successfully, but these errors were encountered: