Attempted to connect to mojang.com, got this response: IOException: Server returned HTTP response code: 429
apatuka opened this issue ยท 1 comments
Description (Required)
There is a warning spamming a lot on console, it lags so hard, it's like the process to get data from Mojang API is not async.
Steps to reproduce the Issue (Required)
It happen randomly
Expected behavior (Required)
It should not show this error.
Consider adding proxy to HTTP request to evade the Mojang API Rate Limit
Server Log / Error Report
Environment (Required)
- Minecraft Version: PaperSpigot 1.15.2
- Slimefun Version: Slimefun vDEV - 506 (git 11383ca)
- CS-CoreLib Version: CS-CoreLib vDEV - 85 (git 4a7fce52)
it lags so hard, it's like the process to get data from Mojang API is not async.
Unless you have something reading the process output/file sync there is not lag due to this.
Consider adding proxy to HTTP request to evade the Mojang API Rate Limit
This isn't feasible in the slightest, wed need to be scraping proxies constantly (and it could generally cause other issues the servers using SF. Plus we don't know what those servers are doing. They could be farming the traffic. We won't do this).
As the warning states, it isn't a bug. Blame Mojang for limiting their API so much. If they did caching well they could very easily allow a high throughout to this endpoint.