Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

BeatMods api returns 403 forbidden, but user is able to load url in browser #12

Open
megalon opened this issue Apr 8, 2019 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@megalon
Copy link
Member

megalon commented Apr 8, 2019

Discord user Mr. Kustogg's Bizarre Adventure#0458 is unable to connect to the BeatMods API, returning error 403 (Forbidden)
I sent them a debug build that adds more info to the error message.

image

However, the user is able to access the URL in browser.
https://beatmods.com/api/v1/mod?status=approved

image

The user states that their firewall is disabled, and they have no anti-virus.
Anyone have any ideas on this?

It has to be an anti-virus thing, right?

@megalon megalon added the help wanted Extra attention is needed label Apr 8, 2019
@raftario
Copy link
Member

raftario commented Apr 13, 2019

Maybe try to give him a custom build with the user agent from Chrome or Firefox to see if it fixes the issue ?
I'm currently working on implementing support for mirrors, so that might help too.

Edit : Maybe a Cloudflare issue ?

@megalon
Copy link
Member Author

megalon commented Apr 17, 2019

I just gave someone having this issue a custom build with the user agent set to Firefox and it did not fix the problem.

@megalon
Copy link
Member Author

megalon commented Apr 19, 2019

Update:
Cloudflare is likely the cause of this issue.
For at least one user, they were getting this error, and also unable to reach many sites without entering a captcha due to Cloudflare's DDOS protection.
Apparently this was caused by an incorrectly configured VR Chat server, which made the user's traffic appear as a DDOS attack to Cloudflare's servers.

See this writeup
https://medium.com/@vrchat/vrchat-downtime-post-mortem-3b956fee8c3e

The user was able to access the BeatMods API the next day.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants