-
Notifications
You must be signed in to change notification settings - Fork 4
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
Error: Inability to Connect to Mojang's API #6
Comments
I would definitely recommend switching from CraftBukkit/Spigot to Paper if you haven't: https://whypaper.emc.gs - this will fix your current issue at least. I'll take another look at the (admittedly old) code running that particular lookup and see if I can optimize it or see what's going on. Thanks for the report! |
Thanks! This problem resulted from running the register command on a paper 641 instance connected to a waterfall network comprised of other paper instances and a single test spigot 1.8 instance. I will try again with the outdated spigot instance disabled to see if it changes anything. |
I must have skipped over the |
Thank you for looking in to it; sorry for my late response. After two tests, I have concluded that this issue occurs exclusively in instances where one of the servers connected to the proxy (and/or the db?) is running a seriously outdated version (in this case, If it is possible to fix backwards compatibility for paper 443 (1.8.8), that would also be much appreciated -- I know that it is an absolutely terrible idea in general to use 1.8 versions but for my particular project, I have a relatively strong reason to use it for a singular instance). Test 1
Test 2 |
Outline of Issue
Attempted Usage
Using the plugin, it is not currently possible for me to register new users using TOTP through the
/register TOTP
command.Result of Attempted Usage
On my current installation, 100% of the time, attempting to preform such a registration will result in an error explaining that the plugin could not "load player data from Mojang".
This error message suggests that I may have hit the API's rate limit.
Attempts at Troubleshooting the Issue
Rate Limit Consideration
I have confirmed that the rate limit is not the issue:
curl https://api.mojang.com/users/profiles/minecraft/InteriorCamping
Response time consideration
Previously, pulling data from the API took an abnormal amount of time on my box.
Additional Information
The server is running Paper 641 (1.13.2) on Waterfall 290 on Ubuntu Server 18.04 LTS
Conclusion
2fa register TOTP <UUID>
.The text was updated successfully, but these errors were encountered: