Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse error "Invalid value" when hosting Northstar server #685

Open
GeckoEidechse opened this issue Aug 11, 2024 · 0 comments
Open

Parse error "Invalid value" when hosting Northstar server #685

GeckoEidechse opened this issue Aug 11, 2024 · 0 comments
Assignees

Comments

@GeckoEidechse
Copy link
Member

TL;DR: Most likely port forwarding not set up correctly or limited by ISP, check instructions on the wiki.

Trying to host a gameserver one might see the following log entry:

[19:41:37] [NORTHSTAR] [errr] Failed reading masterserver authentication response: encountered parse error "Invalid value."
[19:41:37] [NORTHSTAR] [errr] Reached max ms server registration attempts

The reason behind this is that if Atlas cannot reach the gameserver that is trying to host it will send back a 5XX HTTP error response with appropriate error information in a JSON file.
For some reason, Cloudflare, the CDN we use for DDoS protection and caching, modifies this response on travel to add its own information to it.
This results in the client not being able to parse the resulting response and showing the unhelpful Invalid value message instead.

To fix this, we need to figure out why Cloudflare is modifying the response and prevent it from doing so.
(There's probably a setting for this in the dashboard somewhere)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants