-
Notifications
You must be signed in to change notification settings - Fork 20
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
Headcrumbs causing crash on world load #125
Comments
We had a other user report the same issue, identical stacktrace. modpack: SkyFactory4 4.1.0 Just before the crash they had this logged to the console:
|
It seems the format of an error response from Mojang's API has changed, it now looks like:
whilst authlib expects the following structure (from: ...authlib.yggdrasil.response.Response)
This means that the response is non-null, but does not contain an error field. As a result, YggdrasilAuthenticationService#makeRequest treats this as a valid response and does not throw. This means both ID and Name are null in the returned response. The API was reported as having changed on the 24/04/20 to Mojang, although received no response: https://bugs.mojang.com/browse/WEB-2198 This change may well be a mistake, as authlib included in 1.15 expects the same response structure. The new rate limits mentioned seem to have been tweaked, it took 15 requests to trigger a rate limited response, though that was with a single UUID. Testing with a unique UUID per request was not performed as I do not have that many UUIDs easily accessible! tl;dr is that any rate limited request will now throw an unhandled exception due to Mojang. |
24/04/2020 was also the first day this was reported to us, though without enough information to do anything useful with: DarkPacks/SkyFactory-4#1429 |
New bug report to Mojang: https://bugs.mojang.com/browse/WEB-2381 |
Playing Sky Factory 4
Headcrumbs version 2.0.4
Crash log below
https://pastebin.com/tBCyHYRC
There's no indication that it's Headcrumbs in the log, but I was suspicious of the error it was throwing. The only thing I did was disable Headcrumbs (and Twitchcrumbs and Wither Crumbs) and it worked again. So almost 100% sure it's Headcrumbs
To make this issue Googleable:
The text was updated successfully, but these errors were encountered: