-
Bug
-
Resolution: Incomplete
-
None
-
Minecraft 1.7.10
-
None
-
CentOS Linux 6.5
Java 7
Dedicated Servers
-
Unconfirmed
Background:
We had over 50k .dat files, but after conversion we only have 32k UUIDs. We would have had closer to 150k .dat files but we have truncated the listed periodically to prevent it from getting to big. All issues are due to the rate limit in some way. We are assuming the "lost" .dat files are because the accounts are deleted at mojang's level and your helping us. However if that is not true then you have another issue as wel.
Issue 1:
The rate limit caused us to manually need to restart the server after about 100 users were processed because the server would stop. We eventually, after many many restarts, got the server to convert 32k UUIDs.
Issue 2:
We then let the server run for another 8 hours before checking in on it as we read there would be account caching. However, after 8 hours the cache was still not even close to being done. We are talking maybe a thousand or less accounts. User's at hour 16 are still unable to connect because of the rate limit preventing connections on uncached or old cached accounts. If I had to take a guess the cache is already out of date and needs to be updated by the time the user connects but because the system is still trying to build a cache for all users it doesn't have a mechanism to pause that, check the logging in user, let them in, and then resume the background process.
Issue 3:
The logs are completely flooded with Rate Limit errors from the too many requests. It makes managing the server nearly impossible. I did read people having some of these, but with over 32k UUIDs the process is just too much for the rate limit to handle, or so it appears.
I am not against the rate limit, but for servers that have larger player pools we need a way to connect reliably to the API. If there was a request process to ask for a API key and then apply that to our server it would allow us to have that larger pipe while still restricting that to people who have not requested it in advance.
Answers to common questions
Q: Without the UUIDs can users connect?
A: Yes. If we remove the playerdata folders and related json files players connect normally. Issue ONLY exists with the larger pool of UUIDs
Q: What plugins are you using?
A: We are using a custom plugin for most things. However, even if we remove the plugins it does not change anything.
Q: Are you using the mojang provided server?
A: Not normally, but we did test with it and it has the same issues. Normally we prefer to use spigotmc. The initial phase would not even process our .dat files without crashing immediately using the mojang server. The only way we could even get dat files to convert was with spigotmc.
Q: Is this a commercial server?
A: No, we have been running for years, but we do not charge for access. We do accept donations, but we usually operate above donations. So this is not making anyone money.