BIG-Games-LLC / ps99-public-api-docs

44 stars 5 forks source link

Request for Assistance: API Access Blocked for Bot #81

Open Alfred-GitHub1 opened 1 week ago

Alfred-GitHub1 commented 1 week ago

Dear Support Team,

My bot has been running for over six months without any issues, but recently, it seems that the bot can no longer access the API. I have attempted to reroute it through a floating IP, but unfortunately, that did not resolve the issue. It appears that the entire network might be blocked.

The bot is currently active on over 500 servers, so I kindly ask you to investigate the matter.

Network Provider: Hetzner.de IP Addresses: 195.201.37.128 or 95.216.179.61

Your assistance in resolving this issue would be greatly appreciated.

Thank you in advance for your support.

Best regards

chickenputty commented 1 week ago

I’ve had to heighten security and restrictions due to some bad actors. Do you know what the API is returning to you? Nothing or a captcha? And how many requests does it send a minute?

Alfred-GitHub1 commented 1 week ago

I’ve had to heighten security and restrictions due to some bad actors. Do you know what the API is returning to you? Nothing or a captcha? And how many requests does it send a minute?

Thank you for the prompt response!

I am receiving a 403 Forbidden error. I am caching everything and staying well below 100 requests per minute. During bot startup, I make only 10 API calls, and after that, I perform 2 API calls every 2 minutes for cache refresh.

Alfred-GitHub1 commented 1 week ago

via a simple Curl i get this:

root@debian:~# curl -I https://biggamesapi.io/api/rap HTTP/2 403 date: Tue, 15 Oct 2024 16:00:43 GMT content-type: text/html; charset=UTF-8 accept-ch: Sec-CH-UA-Bitness, Sec-CH-UA-Arch, Sec-CH-UA-Full-Version, Sec-CH-UA- Mobile, Sec-CH-UA-Model, Sec-CH-UA-Platform-Version, Sec-CH-UA-Full-Version-List , Sec-CH-UA-Platform, Sec-CH-UA, UA-Bitness, UA-Arch, UA-Full-Version, UA-Mobile , UA-Model, UA-Platform-Version, UA-Platform, UA critical-ch: Sec-CH-UA-Bitness, Sec-CH-UA-Arch, Sec-CH-UA-Full-Version, Sec-CH-U A-Mobile, Sec-CH-UA-Model, Sec-CH-UA-Platform-Version, Sec-CH-UA-Full-Version-Li st, Sec-CH-UA-Platform, Sec-CH-UA, UA-Bitness, UA-Arch, UA-Full-Version, UA-Mobi le, UA-Model, UA-Platform-Version, UA-Platform, UA cross-origin-embedder-policy: require-corp cross-origin-opener-policy: same-origin cross-origin-resource-policy: same-origin origin-agent-cluster: ?1 permissions-policy: accelerometer=(),autoplay=(),browsing-topics=(),camera=(),cl ipboard-read=(),clipboard-write=(),geolocation=(),gyroscope=(),hid=(),interest-c ohort=(),magnetometer=(),microphone=(),payment=(),publickey-credentials-get=(),s creen-wake-lock=(),serial=(),sync-xhr=(),usb=() referrer-policy: same-origin x-content-options: nosniff x-frame-options: SAMEORIGIN cf-mitigated: challenge cf-chl-out: zo6rT775YbIOXHXxuYCKT1PcArg6PwvMBdd0rDYjYUBQjalI+zy4PS1XKeef8H7T+AzS DUB6GtKLfaDAZuUCrbzIPdBBE5bn70ikU5a6EFGVHeSDMorFXdc0ES1Pv1Es$7jxIGL6XAA0aoqrtWrg xiA== cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-che ck=0, pre-check=0 expires: Thu, 01 Jan 1970 00:00:01 GMT report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=Kh %2BL%2B2UujFaLe98G9Z4Xg9CdxqBUTpBGRtHUQqKhYg5qmn6X0zAThzOmNHB2X8e3p%2FntnwIWOZJQ t2T3BkRh7h8wNpNZCFjC%2Fn6bIvP8inHDkHiX4ucdFziWkXfd5eLkNdM1%2FzRSvc%2FvwqJpww%3D% 3D"}],"group":"cf-nel","max_age":604800} nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800} speculation-rules: "/cdn-cgi/speculation" server: cloudflare cf-ray: 8d31060d9c292c7a-FRA alt-svc: h3=":443"; ma=86400

chickenputty commented 1 week ago

Can you try again in 30 minutes? If it doesn’t work I’ll whitelist the IP

Alfred-GitHub1 commented 1 week ago

Can you try again in 30 minutes? If it doesn’t work I’ll whitelist the IP

Thank you very much! It seems to be working again now. If any issues arise in the future, I’ll reach out to you here.

For reference, the main IP is 195.201.37.128