-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
widget$status_code == 200 is not TRUE #388
Comments
I am having a similar issue. Just started about a week ago. |
Folks we just discussed this yesterday. Can we please ask you to maybe also look at closed issues ? Also note that a pinned issue is right there at the top. |
I saw that post, but it's from 2018 to last year, and the solutions discussed didnt work. I just wanted to double check this is an issue with our "aws > network > google", rathern than the package changing recently. Is there a way to see more about the errors in the package rather than just "status code not 200". It would be good to get the actual status code, if possible? |
Same issue here. I am now locked out with this error on 3 different machines! I have previously encountered "widget$status_code == 200 is not TRUE" when making excessive requests, Additionally, buddy working off same network as myself, is also getting same error even though he has not used the package or google trends in the last few days. |
@janush1985 same issue. Feels like there is a weird interaction going on with AWS and Google Trends API starting last week. |
finding the same issue - started yesterday - and running R on my machine (without AWS) |
Is this from a local box or ec2 in aws ? @janush1985 yeah same issue. Tried on multiple machines within AWS, seems like it is a weird connection issue there. I'm really not sure what the best approach/solution is here for us all ? @mgahan-he yeah i think it's this too. But its hard (impossible ?) to find anything online about it. I'm not even sure what I would start a discussion about it - with the intention of looking for a resolution. |
I am not sure how I reproduce the issue to start digging into it. I will have to search for more information. |
I have been unblocked after ~24h and I am back up and running. Below took 2.5 seconds on average to process:
I have done some calculations and I was very likely exceeding 1000 calls within 24h period. This ban also affected other user on same network. |
It really looks like "they" just block an entire network segment coming from AWS and there is exactly zero issue with gtrendsR per se so we really should close this. |
Yeah should close this, there is nothing wrong with gtrendsR. But it might be worth linking to this or mentioning somewhere? As many people will be using the lib behind AWS via ec2s for ease of data pulling. |
I've read through a lot of other people having this issue. I assume we're seeing this due to being "blocked" in some way by Google.
This interesting part for us is, we've been using this package+function to scrap keyword trend data for around 6+ months, but only this week we've been stopped.
Stranger still is we usually spin up differenet servers in our AWS cloud to run this, so we're usually gettting around the IP blocking problem.
Is it possible for Google (well anyone I guess) to block all traffic from our AWS account? Despite the boxes having different public Ip addresses?
Also, is it possible to get more of the error message? We're trying the tryCatch() func, but all we see is:
I'm not sure if there's more to print, possibly?
We tried using the python pytrends, and got hit with :
The request failed: Google returned a response with code 429
So I assume we're being blocked.
As I said, I'm curious how we're being blocked regardless of different servers and IPs being used?
The text was updated successfully, but these errors were encountered: