HTTP login requests blocked by Cloudflare, rendering client unusable for most servers #827
Closed
2 of 5 tasks
Labels
Priority: Critical
Represents a risk to live servers
Priority: High
Represent a high impact in key areas of the base/user experience
Status: Pending Test
This PR or Issue requires more testing
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Priority
High
Area
What happened?
Description
The current HTTP login request is being blocked by Cloudflare with a 403 Forbidden response. This issue is critical as it prevents the client from connecting to almost any game server, effectively rendering it unusable.
Current Behavior
The current HTTP login request and response look like this:
REQUEST:
RESPONSE:
Expected Behavior
The HTTP login request should look like this:
Steps to Reproduce
Possible Solution
Update the
loginHttpJson
function to include the correct headers and JSON body format.However, this alone may not be sufficient. We need to investigate how to properly handle Cloudflare protection in our HTTP requests. This may involve:
Additional Context
This is a high-priority issue because:
The 403 Forbidden response is likely due to:
To resolve this issue, we need to:
This is a high-priority issue as it affects the core functionality of the client, preventing users from connecting to most game servers. Resolving this will require significant changes to how we handle HTTP requests and may involve replicating more browser-like behavior in our client.
What OS are you seeing the problem on?
Windows
Code of Conduct
The text was updated successfully, but these errors were encountered: