BerkanYildiz / Cachet.NET

.NET library to communicate with the CachetHQ API to create, manage, and handle outages.
MIT License
6 stars 7 forks source link

CloudFlare Forbidden #5

Closed Zyphrono closed 3 years ago

Zyphrono commented 3 years ago

I keep getting a CloudFlare Forbidden error while getting API data from status.vrchat.com.

Weirdly I can still connect using CURL and just by typing it in the search bar.

I already tried to assign a different user-agent with no luck. Any fixes for this?

If this repository is still getting maintained ofcourse.

BerkanYildiz commented 3 years ago

No idea. You can temporarily add a rule in your Cloudflare Dashboard to disable filtering requests on /api/* or whatever your API is routed at.

Zyphrono commented 3 years ago

No idea. You can temporarily add a rule in your Cloudflare Dashboard to disable filtering requests on /api/* or whatever your API is routed at.

That's going to be a problem as it's not my API ;)

BerkanYildiz commented 3 years ago

Could show the code that's failing and how you're initializing the instance ?

Zyphrono commented 3 years ago

image

Could show the code that's failing and how you're initializing the instance ?

I used this code with the demo of Cachet and that worked.

Zyphrono commented 3 years ago

This does work for some reason. image Status code: 200

Zyphrono commented 3 years ago

Already found a workaround by using another library.