Comments (4)
Turns out its an issue with the Microsoft account being type 'child' (<18), so changing the age on the account to anything over 18 works!
from hypixel-discord-chat-bridge.
Hi itsneyoa,
From reading through PrismarineJS/mineflayer#1549 and PrismarineJS/mineflayer#1577 the issue is most likely related to Mineflayer being out of date, I've gone ahead and updated the app to use the latest version of Mineflayer in the fcdc7b4 commit, so hopefully, all you'd need to do is update the app with a git pull
to get the changes, and run yarn install
to get the new versions of the dependencies.
I don't personally own a Microsoft Minecraft account so I can't actually test if this fixes your issue, however, let me know if it works out for you. 👍
from hypixel-discord-chat-bridge.
Hi,
Updating mineflayer prompted you to login with your microsoft account when running node index.js
for the first time, however after that I get this chaos:
Discord client ready, logged in as Trouble Bridge#4465
Unable to authenticate with Microsoft XboxReplayError: Request failed with status code 401
at Object.internal (~\Hypixel-Bridge\node_modules\@xboxreplay\errors\dist\index.js:33:77)
at ~\Hypixel-Bridge\node_modules\@xboxreplay\xboxlive-auth\dist\core\xboxlive\index.js:79:32
at processTicksAndRejections (node:internal/process/task_queues:93:5)
at async Object.authenticatePassword (~\Hypixel-Bridge\node_modules\minecraft-protocol\src\client\microsoftAuth.js:70:21) {
__XboxReplay__: true,
details: { statusCode: 500, reason: 'INTERNAL_SERVER_ERROR' }
}
Retrying auth with device code flow
XboxReplayError: Request failed with status code 401
at Object.internal (~\Hypixel-Bridge\node_modules\@xboxreplay\errors\dist\index.js:33:77)
at ~\Hypixel-Bridge\node_modules\@xboxreplay\xboxlive-auth\dist\core\xboxlive\index.js:79:32
at processTicksAndRejections (node:internal/process/task_queues:93:5)
at async XboxTokenManager.getXSTSToken (~\Hypixel-Bridge\node_modules\minecraft-protocol\src\client\tokens.js:216:18)
at async retry.msa.forceRefresh (~\Hypixel-Bridge\node_modules\minecraft-protocol\src\client\authFlow.js:105:22)
at async retry (~\Hypixel-Bridge\node_modules\minecraft-protocol\src\client\authFlow.js:26:14)
at async MsAuthFlow.getXboxToken (~\Hypixel-Bridge\node_modules\minecraft-protocol\src\client\authFlow.js:102:14)
at async retry.xbl.forceRefresh (~\Hypixel-Bridge\node_modules\minecraft-protocol\src\client\authFlow.js:118:22)
at async retry (~\Hypixel-Bridge\node_modules\minecraft-protocol\src\client\authFlow.js:26:14)
at async MsAuthFlow.getMinecraftToken (~\Hypixel-Bridge\node_modules\minecraft-protocol\src\client\authFlow.js:117:14) {
__XboxReplay__: true,
details: { statusCode: 500, reason: 'INTERNAL_SERVER_ERROR' }
}
Minecraft Bot Error: XboxReplayError: Request failed with status code 401
at Object.internal (~\Hypixel-Bridge\node_modules\@xboxreplay\errors\dist\index.js:33:77)
at ~\Hypixel-Bridge\node_modules\@xboxreplay\xboxlive-auth\dist\core\xboxlive\index.js:79:32
at processTicksAndRejections (node:internal/process/task_queues:93:5)
at async XboxTokenManager.getXSTSToken (~\Hypixel-Bridge\node_modules\minecraft-protocol\src\client\tokens.js:216:18)
at async retry.msa.forceRefresh (~\Hypixel-Bridge\node_modules\minecraft-protocol\src\client\authFlow.js:105:22)
at async retry (~\Hypixel-Bridge\node_modules\minecraft-protocol\src\client\authFlow.js:26:14)
at async MsAuthFlow.getXboxToken (~\Hypixel-Bridge\node_modules\minecraft-protocol\src\client\authFlow.js:102:14)
at async retry.xbl.forceRefresh (~\Hypixel-Bridge\node_modules\minecraft-protocol\src\client\authFlow.js:118:22)
at async retry (~\Hypixel-Bridge\node_modules\minecraft-protocol\src\client\authFlow.js:26:14)
at async MsAuthFlow.getMinecraftToken (~\Hypixel-Bridge\node_modules\minecraft-protocol\src\client\authFlow.js:117:14) {
__XboxReplay__: true,
details: { statusCode: 500, reason: 'INTERNAL_SERVER_ERROR' }
I've tried npm update
to see its any of the other packages which out out of date with no luck so far
Thanks :)
- ney
from hypixel-discord-chat-bridge.
From the looks of the error message, you're getting a 401 response code which is an unauthorized request, it most likely means your login details don't match up with what your actual account uses. There is also a 500 response code in the error message tho, which an internal server error, so it could also just be an issue with logging in using a Microsoft account.
from hypixel-discord-chat-bridge.
Related Issues (20)
- Various ways of sending an "empty message" crashes the bot HOT 3
- Error message HOT 5
- Solved
- Ingame commands HOT 3
- Ingame Commands HOT 9
- Replit Node outdated HOT 1
- Is it possible to code my own API related commands? (Like !weight or !skills) HOT 2
- Trouble with new file HOT 3
- OwnerID Cannot be role HOT 1
- Express HOT 1
- Error message HOT 5
- Bot doesn't show join/leave. HOT 2
- Console Issue HOT 3
- Weight Problem
- varint too big [error]
- arm64 version on Docker Hub
- Bot keeps repeating being sent to limbo. HOT 2
- stange bug if(channel._typing.has(user.id)) { TypeError: Cannot read properties of undefined (reading 'has') HOT 1
- Why??? HOT 2
- Docker image on Dockerhub incomplete
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hypixel-discord-chat-bridge.