Hello,
ISSUE/DESCRIPTION:
Beginning approximately one day - two days ago, I have been getting reports of broken servers from players of my game (Tornado Alley Ultimate - Roblox).
After investigating these broken servers myself, a specific error has been found prevalent in every broken server: “502: API Services rejected request with error. HTTP 503 (Service Unavailable)”.
I believe this error is the result of DataStore request queue being filled up. However, I’ve made no changes to the game that could have stemmed this issue, it just began breaking servers within the last day or so.
For five months, my game has been working fine, no throttling warnings or request queue issues, up until about a day - two days ago. This is when I began getting reports of broken servers.
I have two DataStores: An OrderedDataStore for Global Leaderboards and I am also utilizing DataStore2.
No changes to these DataStores or how they operate were made.
Initially, I believed this may have been an issue with my implementation of DataStore2, however other developers are experiencing this HTTP 503 (Service Unavailable) issue without the use of DataStore2 (such as developer @Floo_d) . I also thoroughly read DS2 documentation and ensured I am correctly using it.
EXAMPLE:
I’d like to explain what usually occurred within a broken server by reading the server console logs:
- Game begins warning DataStore request queue is filling up.
- “502: API Services rejected request with error. HTTP 503 (Service Unavailable)” error prints
- DataStores no longer update
Here is an example of the error being thrown (Note: the mouse is covering the 502- apologies*) [This is not DataStore2]
Another example: [This is DataStore2]
Once again, I’d like to state this was never an issue (nor were these warns/errors prevalent) up until about a day - two days ago (this is the same time other developers such as @Floo_d and @static2240) reported these issues on a different thread. My game was working perfectly for five months.
Potentially related, when this error started becoming prevalent in my game, it happened to be around the time players were reporting an issue with ROBLOX (June 8th at around 6:00 PM).
Ignore the handwriting, but as you can see, as I began to gather reports of broken servers in my game, the website “downdetector” was reporting a spike in issues with ROBLOX.
Again, I am not sure if this is related to that (or if it’s related to the ROBLOX maintenance that occurred last night on June 9th), but it started occurring the same day around the same time. However, the difference is that this issue has not gone away.
As one of the developers stated with this issue: “Seems that the DataStore queue overfills too fast”.
REPRODUCTION
Unfortunately, I have not been able to reproduce this issue by myself. However, it became so prevalent within my game servers (holds 22 players to a server) that I have had to temporarily close the game until this issue is solved. If I’m able to reproduce in some fashion, I will post what I find here.
With 22 players to a server, after a duration, request queue fill warnings begin showing up. Shortly after, the 503 error shows up.
And lastly, to sum it up:
- I do not believe this is a DataStore2 issue as other developers have been reporting this issue without using DataStore2.
- I do have API Services turned on, but I am still getting this issue
- The issue started occurring approximately 1 - 2 days ago (I believe on June 8th).
It does seem like DataStore requests are filling up unreasonably faster than before. This has never been an issue in my game before.
If anyone else has this issue, please feel free to post your experience with it. Or, if you know how to reproduce it, please share it here.