ulululu Posted October 4, 2022 #1 Posted October 4, 2022 Since tonight all mirrors are protected from api-usage by cloudflare security. Is this a permanent change? Live support said so, can some of the devs deny or confirm this please? Maybe @Faris? Api was like the best feature on stake.
ralfonso Posted October 4, 2022 #2 Posted October 4, 2022 It seems like none of the mirror sites work now, at least for me. Playstake.io shows all of them are offline
Moderator Faris Posted October 4, 2022 Moderator #3 Posted October 4, 2022 I agree that the API feature is one of the best features on this platform and I don't think the Stake team will disable this feature permanently. I've been using the API since 2018 or 2019 and I can't describe to you how hard it is to get used to this situation, playing on the web for API users will not be easy. I am confident that the Stake team will not let the API users down and will do something about it soon. We must understand them too, they must protect this platform from attackers. This was my personal opinion so don't take it as an official answer 11 minutes ago, ralfonso said: It seems like none of the mirror sites work now, at least for me. Playstake.io shows all of them are offline All mirror sites are working fine right now, they show up offline due to disabled API, if you click on the domain you will see it is working.
ulululu Posted October 4, 2022 Author #5 Posted October 4, 2022 18 minutes ago, Faris said: I agree that the API feature is one of the best features on this platform and I don't think the Stake team will disable this feature permanently. I've been using the API since 2018 or 2019 and I can't describe to you how hard it is to get used to this situation, playing on the web for API users will not be easy. I am confident that the Stake team will not let the API users down and will do something about it soon. We must understand them too, they must protect this platform from attackers. This was my personal opinion so don't take it as an official answer All mirror sites are working fine right now, they show up offline due to disabled API, if you click on the domain you will see it is working. I agree on the protection part, stake was wide open for the last years. I just asked in the forum because live support gave me the following answer: https://gyazo.com/c03d8d9cb4641b5d1b5efcefb00b9013
WhimseyOn Posted October 4, 2022 #6 Posted October 4, 2022 I asked earlier about the mirrors being down, they are still down for me, except if I go on my mobile network. They work fine there. This is very odd, seems like the mirrors have no function to what they where supposed to do anymore. Which was give access globally. My passport and my identity belongs to a country where I am legally allowed to use the site, I however currently live at a place where it is not allowed. I also understand that security is important, but it all worked fine 4 hours ago, why fix something that ain't broken? To further elaborate, some mirrors allows me access to the site, but authenticating my login with google is still blocked on said mirrors. Extremely frustrating.
ulululu Posted October 4, 2022 Author #7 Posted October 4, 2022 @Edward Could you please make an official statement to this topic?
Moderator Faris Posted October 4, 2022 Moderator #8 Posted October 4, 2022 1 hour ago, ulululu said: I agree on the protection part, stake was wide open for the last years. I just asked in the forum because live support gave me the following answer: https://gyazo.com/c03d8d9cb4641b5d1b5efcefb00b9013 I'm deeply saddened by this news
ulululu Posted October 4, 2022 Author #9 Posted October 4, 2022 3 minutes ago, Faris said: I'm deeply saddened by this news We all know stake live support, this might not be correct, that's why i am looking for an official statement from eddie or similar
IceTeaP Posted October 4, 2022 #10 Posted October 4, 2022 Without API, time to leave stake. Well done Eddie
Shanaya24 Posted October 4, 2022 #11 Posted October 4, 2022 2 minutes ago, IceTeaP said: Without API, time to leave stake. Well done Eddie exodus already started with a daily wager of around 4k I never get anything from the race normally around 6 - 7k to come in the top 5000 but yesterday i got a buck
oehl Posted October 4, 2022 #12 Posted October 4, 2022 4 minutes ago, IceTeaP said: Without API, time to leave stake. Well done Eddie same for me, i guess, unfortunate.
IceTeaP Posted October 4, 2022 #13 Posted October 4, 2022 Give us an official answer, where is the great communication with customers? L M A O
jungl3 Posted October 4, 2022 #14 Posted October 4, 2022 This is an interesting step backwards. What's the deal, stake?
kingnayim2 Posted October 4, 2022 #16 Posted October 4, 2022 since the web client uses the api, they can't just remove it. it's moved from api.stake.XXX/graphql to stake.XXX/_api/graphql which now protected by cloudflare. you can still make api requests to: https://stake.jp/_api/graphql However you need the cloudflare cookie (cf_clearance) which is obtained from that stupid cloudflare bot check page I found this on github: undetected-chromedriver which does that in python it worked for me by obtaining the cf_clearance and using it on request headers
ulululu Posted October 4, 2022 Author #17 Posted October 4, 2022 1 hour ago, kingnayim2 said: since the web client uses the api, they can't just remove it. it's moved from api.stake.XXX/graphql to stake.XXX/_api/graphql which now protected by cloudflare. you can still make api requests to: https://stake.jp/_api/graphql However you need the cloudflare cookie (cf_clearance) which is obtained from that stupid cloudflare bot check page I found this on github: undetected-chromedriver which does that in python it worked for me by obtaining the cf_clearance and using it on request headers I found this too, didn't have the time to check yet though.
ulululu Posted October 4, 2022 Author #18 Posted October 4, 2022 Where is the f***** official statement @Edward
ulululu Posted October 5, 2022 Author #19 Posted October 5, 2022 @kingnayim2 Could you elaborate a bit? Do i only need the cf_clearance cookie? Does not seem to work for me.
kingnayim2 Posted October 5, 2022 #20 Posted October 5, 2022 10 hours ago, ulululu said: @kingnayim2 Could you elaborate a bit? Do i only need the cf_clearance cookie? Does not seem to work for me. @ulululu yes but it needs to match the ip address and the user agent it got created/set. example code: import undetected_chromedriver as uc driver = uc.Chrome() driver.get('https://stake.jp') cf_timeout = 20 while 'Just a moment...' in driver.title: sleep(1) cf_timeout -= 1 if cf_timeout <= 0: #handle error COOKIES["cf_clearance"] = driver.get_cookie("cf_clearance")["value"] HEADERS["User-Agent"] = driver.execute_script("return navigator.userAgent;") ... later requests.post(API_URL, json=data, headers=HEADERS, cookies=COOKIES) and update cookies whenever the request hits cloudflare page
ulululu Posted October 5, 2022 Author #21 Posted October 5, 2022 11 minutes ago, kingnayim2 said: @ulululu yes but it needs to match the ip address and the user agent it got created/set. example code: import undetected_chromedriver as uc driver = uc.Chrome() driver.get('https://stake.jp') cf_timeout = 20 while 'Just a moment...' in driver.title: sleep(1) cf_timeout -= 1 if cf_timeout <= 0: #handle error COOKIES["cf_clearance"] = driver.get_cookie("cf_clearance")["value"] HEADERS["User-Agent"] = driver.execute_script("return navigator.userAgent;") ... later requests.post(API_URL, json=data, headers=HEADERS, cookies=COOKIES) and update cookies whenever the request hits cloudflare page Thanks ima test it with python i guess, all testing with .net has failed so far though. Like even with the cookie and browserlike headers i got 403.
Aunrealityx Posted October 6, 2022 #22 Posted October 6, 2022 I wish i knew more about how to make the best use of an api. The most ive learned about an api was configuring my AP's to bridge lol
florian.lemaire Posted October 7, 2022 #23 Posted October 7, 2022 I have asked to the support team and this is their answer: Quote Hello there. Unfortunately API key will remain disabled until further notice. Due to some security issues, this decision will not be changed for some time, we are deeply sorry if this affected your experience here but this is done in greater interest. Good luck.
BigMum Posted October 7, 2022 #24 Posted October 7, 2022 On 10/5/2022 at 1:42 AM, ulululu said: Where is the f***** official statement @Edward They pull this kind of crap all the time. Plus after disabling API, i bet the admin is making more money than imagined, so Let it Ride might be their thought. On 10/4/2022 at 1:04 PM, ulululu said: I agree on the protection part, stake was wide open for the last years. I just asked in the forum because live support gave me the following answer: https://gyazo.com/c03d8d9cb4641b5d1b5efcefb00b9013 I bet stake support is half the time unknown about what they are writing or copying
ulululu Posted October 7, 2022 Author #25 Posted October 7, 2022 @florian.lemaire @BigMum Yes support is clueless even i got it to work, so if someone wants to attack stake really badly he could ^^
Featured Comment
Archived
This topic is now archived and is closed to further replies.