DuckySoLucky / hypixel-discord-chat-bridge

A two-way chat bridge between Hypixel guild chat and a Discord channel. The application utilizes discord.js v14 for communicating with Discord, and mineflayer for communicating with Hypixel.
47 stars 37 forks source link

Failed to obtain profile data for player #170

Closed CraftedFury closed 1 year ago

CraftedFury commented 1 year ago

Been getting this error when authenticating, no idea how to fix it image

This error was showing up as well for about 10 minutes until it turned into the above error image

In both cases it's been the email with the microsoft linked minecraft account.

github-actions[bot] commented 1 year ago

This looks like your first issue! Thank you for bringing this issue to our attention. Expect a developer to comment within the first 3-5 business days of issue submission.

CraftedFury commented 1 year ago

This is caused when authentication fails and the prismarine-auth module saves it anyway, permanently corrupting the authentication folder.

You can fix this by adding profilesFolder: './nmp-cache' just beneath this line https://github.com/DuckySoLucky/hypixel-discord-chat-bridge/blob/main/src/minecraft/MinecraftManager.js#L44 and when this authentication failure happens again, you just delete the contents of nmp-cache