My game champion simulator has been on the front page for about a month now, last night when I went to sleep, we were at 6k players and after that, all the players suddenly started losing connection with this error (Error Code: 277):
We determined the cause of the issue to be HttpService. When using GetAsync to retrieve JSON data, if the request times out the server memory spikes and the game crashes. The following one liner can reproduce the issue:
Enter the above into the dev console server command bar.
View server memory. It will spike at around 7-8k and then you’ll be disconnected.
This doesn’t seem to happen in every game, and some of the games tested in magically started working correctly some time later. It seems to either be server dependent, or entirely random. The pcall is not required to cause this issue. This seems to happen only with dumpz, other websites don’t seem to cause this to happen.
Over 6k players were affected and we are at 1k now. We have got over 2.2k reports of data loss/disconnection and then they can’t rejoin the game. We have temporarily disabled any http request in the game until a fix is released to prevent any more crashes!
We barely had any data loss issues before except of 2 other instances when it affected all Roblox games so it’s nothing on our end.
According to the error enum this does correlate with a server crash (the error name is DisconnectConnectionLost). Nice work with figuring this out. Definitely a pretty bad bug.
I sent a request to dumpz using Postman specifying the User-Agent as RobloxGameCloud/1.0, and their server sent back a really beautiful response.
Basically, it’s a trap. They’ve blocked Roblox as far as I can tell and they weren’t very polite about it.
The server is allocating a whole bunch of memory to accommodate the response.
I don’t think this is technically a bug?
I guess Roblox could reject responses with insane Content-Length values or (actual) sizes somehow, but I think the better “fix” is to just not send requests here. Normal usage of HttpService shouldn’t get limited.
Also FWIW don’t try this at home. Sending that through Postman bricked my computer’s network access because multiple services freaked out, and I needed to reboot.