I’ve recently started getting this error that is breaking my group rank scripts, when I use pcall, my logs get spammed with the same error. The error breaks my group rank checking scripts. This started happening about 2 weeks ago. This only happens about 30% of the time and other players are having the same error, I am on PC Windows 10. HTTPService for the game is ON. Getting the player having the error to rejoin seems to fix it for them.
It’s actually an SSL connection failure, so that’s entirely Roblox’s fault in some way, nothing you can do to fix this. I would post a bug report about this.
Since nobody has mentioned it yet, I just want to add that you could solve this problem by using pcall. That way, if the request fails you can plan accordingly.
local data
local success, errMsg = pcall(function()
data = someWebCallHere
end
success will be true if there were no errors. If success is false, errMsg will contain the error as a string. The function inside of the pcall can be anything, just make sure to store the result somewhere such as a variable (data). I recommend using this for any call to roblox, as there is no guarentee that each roblox service will always be up 100%.
When bumping 2 year old posts, you’ll want to add some information of your own akin to the bug report guidelines, otherwise bumping it doesn’t accomplish anything.