Skip to content

Add fallback UUID URL in case the Mojang UUID API returns 403 #1305

@nagornin

Description

@nagornin

Is your feature request related to a problem? Please describe.

The Mojang API for resolving player UUID is currently broken[1][2][3] and returns 403 on query. This is a well-known issue and the API is sometimes unavailable for days. I suggest adding a fallback UUID URL to CraftAPI (which is used by FastLogin) that will query api.minecraftservices.com if the GET request to the api.mojang.com UUID endpoint returns 403.

The api.minecraftservices.com UUID URL as well as the note about instability of api.mojang.com UUID URL is mentioned in https://minecraft.wiki/w/Mojang_API#Query_player's_UUID.

  1. https://bugs.mojang.com/browse/WEB/issues/WEB-7591
  2. https://www.reddit.com/r/Minecraft/comments/1l8yx2f/im_trying_to_get_my_uuid_from_apimojangcom_but_im/
  3. https://www.reddit.com/r/Minecraft/comments/1l8rsd8/mojang_api_down/

Describe the solution you'd like

Add a fallback UUID URL to MojangResolver that will be used if the primary UUID URL returns 403 on query.

Describe alternatives you've considered

No response

Platform

Spigot

Relevance

  • I checked for existing tickets -
    If there are, please vote them with a thumbs reaction and not create new ones

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or change request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions