Skinupdate doesn't work
andramil opened this issue ยท 10 comments
What behaviour is observed:
Command /skinupdate doen't work. Skins doesn't update on my serwer. It worked like 4 days ago, and with no change on server, stopped.
What behaviour is expected:
Skins should update to mojang database after /skinupdate
Steps/models to reproduce:
Type /skinupdate or /skinupdate nick - no changes
Plugin list:
Environment description
Bungeecord server
Spigot 1.8-1.15.2
Plugin version or build number:
Build 223
Error Log:
Hastebin / Gist link of the error (if any)
https://code.skript.pl/YJNFVZv4
Configuration:
Oh yes, I just got this error today https://paste.gg/p/anonymous/f0f4cd1ccfdd46298352860d293f399f/files/d419c09077764a1db36db8832ac7f58e/raw
no idea whats happening
my guess is that ChangeSkin isn't able to handle 429 errors while fetching skins, and this puts the plugin into an illegal state where the skin UUID is null
I added some debug code. It's interesting that the skin id is null whoever the remaining skin could be downloaded.
my guess is that ChangeSkin isn't able to handle 429 errors while fetching skins, and this puts the plugin into an illegal state where the skin UUID is null
I just tested it, that doesn't seem to be the cause, because on error the operation would then be aborted. So far I couldn't reproduce it locally. It would be great to have someone report the bug using the new version so I could see the source of this error.
An assumption is that Mojang no longer reports the skin/owner UUID. This would make the UUID null on parsing and cause the NPE during access. The skin could still be valid with a correct signature. This is not the first time Mojang changed the format. In 2018 they changed the order of the reported fields. This change however applied to all new requested skins. This is not the case for this current bug.
So for this purpose ChangeSkin will now log the output retrieved from Mojang. Then I could verify the output. If it's actually still a valid skin, I will add support for this data format although it could be temporarily issue during the issues Mojang servers are having.
seems related with the api issues mojang is experiencing this week
Currently the status appears to be green again. So it might be fine again?
I'd like to add that I have been experiencing this issue when players log in for the first time.
@DoNotSpamPls I tried that too, but couldn't reproduce it.
After update to 225 skin start to work but work oddly. After change skin, players get alex or steave. After /skinupdate they get expected result. After log out they get alex again and had to use /skinupdate one more time. 24 hours after 225 update, there is no problem at all. Works good. Im a confused.