22 replies · 407 views · thread synced · 6 days ago
· View on torn.com
About this thread
Posts archived:23 / 23 posts (100%) · the total is Torn's reply count + the opening post at the last fetch
Counted by TornLife from the archived posts.
Archived posts
23
Discussion span
→
Authority score
68 / 100
Historical score
27 / 100
Story score
39 / 100
Engagement score
66 / 100
People posting, likes and official posts are not counted for this thread yet: on threads longer than one page they come from a periodic pass over the archive, which has not covered it.
I request API calls from the command line. I limit the calls per minute so avoid hitting the (now 60) limit. It seems the recent outtage and now Cloudflare browser checks are affecting the ability to fetch URLs from anything other than a browser.
Is the above behavior related to Cloudflare, and is this temporary?
Had same issue with my scripts, it was caused by CORS policy, you should be able to see an error if you press F12 whenever you're using whatever script is not working.
Pressing F12 won't do anything, i'm not using a web browser per-se, thus javascript not supported thus no make Cloudflare happy. This is pure fetching of API data via the URL. It works fine except when Cloudflare is likely set into anti-DDoS mode. I just want to know if this is temporary. I don't know why the subdomain api.torn.com is subject to this cloudflare stuff when the API has a built in way to reject too many API requests per minute -- and if more DDoS type requests are made to api.torn.com why aren't those just IP blocked.
Yes, last weekend was a different shutdown, sucks. - i don't think rigging browser output breaches TOS if you stick to api.torn.com subdomain calls but it's pushing the spirit of what the TOS was written against. Need torn to just get us back to normal. Wanna know if this is temporary but in the back of my mind i know it'll happen again. Be nice if there were a better solution for the community that doesn't write browser based scripts and wanna keep everything legit.
Maybe this is why I'm getting a 503 Server Unavailable. Or who knows. The API is down so much there seems to be little point trying to do any development against it. May as well just use tampermonkey and scrape the page.
Yeah my app is also affected. Until they cut turn open CORS back on , or whitelist our servers, there isnt much we can do. I hope it's temporary , or that they are willing to add header configs for us.
Works fine for my apps and scripts with slight changes. Only one still having issues with is my server - torn.market- but didn't have much time to work on it and find a fix
That's because you're making API calls via the browser you already solved the JS challenge on.
It still won't work on standalone services that consume the API. For many of those services, running it in a user browser via Tampermonkey or custom extension is not a viable solution.
Its not really a solution if you need to get infomation from the browser before you can make any calls, not all servers have GUI so using browser is out of the question, unless you have some clever way of doing JS challenge without using a browser.