Unable to connect to clientsettingscdn.roblox.com via the roblox installer

I am unable to install roblox studio due to an error

Here is what I did so far:
I changed my DNS servers
I flushed and renewed my internet using ipconfig
I deleted Roblox Studio (The same error showed up when launching it when it was installed. Now when trying to reinstall it the same error shows up.)

SOLUTION FOUND::

Navigate Computer\HKEY_CURRENT_USER\SOFTWARE\Roblox\RobloxStudio\ in regedit and deleted the RobloxStudio hive (credit: Windows incorrectly docking in Studio, malformed windows - #50 by AstraI_YT)

Might be unrelated to the fix but if above solution does not work also try to:
Delete Roblox directory in %localappdata% (C:\Users<username>\AppData\Local)
Delete every Roblox related directory in %tmp% (C:\Users<username>\AppData\Local\Temp)

Image of the error: