-
Notifications
You must be signed in to change notification settings - Fork 46
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
"You have no access" error if trying to obtain eurostat data #181
Comments
Thanks. I cannot reproduce this. If it is not an institutional limitation in network settings then I am not sure how to solve. Is this a persistent (not temporary) issue? |
I am seeing the same thing, on my laptop at home (win10) as well as on the remote webserver. It started 2020-06-18 and is persisting. check_access_to_data() |
While this is being fixed. Here my workaround: get files utils.R tidy_eurostat.R
|
And now: It is working again. After three days of off-time...
(on both my machines...) |
This is strage. And meantime you very able to access data "manually"? |
Same issue as Snaiperis. i am on Ubuntu 20.04 using R 4.0.2.
In the command line, wget works:
curl works (if I set the option -L considering the redirects).
|
Could it be that for some reason Could you test:
|
Ok, that's weird. Both test and test2 are successful
but:
|
Thanks for testing. That is then |
Could you also test does the following work with the same url?
|
Hi, you are welcome. Here the output to the commands you requested.
Note that I am on Linux, so (I guess) the check_access_to_data() performs the download with curl::curl_download() and not with download.file(). Something interesting, though:
Can this be the problem? |
So using directly There seems to be also other thinks we could do to speed the package. |
Hi, first, thanks for your hard work on this... Then, suddenly I got the same error...
So, I tried the above to see what I get:
also updated as suggested
but still getting the same error... Any further ideas to test on Windows? ** Btw, I can navigate on Eurostat's website and find the data on the browser.. So, this does not really seem to be a problem with my IP or proxy settings... ** Update: Tried again after 4 hours... it now works.. |
Thanks for the update. I do not know what was temporarily out of order, perhaps something at the website? I propose we investigate solutions only is this becomes a more persisent issue. Does this only work in "speed" branch or could we merge the necessary parts in master, and delete the speed branch @jhuovari ? |
It is still only in "speed". I was suppose to finalize it and merge, but I haven't have time to do it. I try to do it soon. |
Greetings from Basel! I have started to get the same essor message indicating that I have no access to eurostat data. It is interesting that last year I was able to get data without problems. I am using the following code: data.table(label_eurostat(get_eurostat("urb_lpop1")), Including proxy config is neither working: data.table(label_eurostat(get_eurostat("urb_lpop1", config = use_proxy(url="http://xxxxxxxxxx",port=3128, username = "xxxxxx", password = "xxxxxx"))), Is there any update in this issue? |
@jhuovari any comments / updates |
Sorry, that is still unfinished. However, I also now behind proxy, and having issues, so I have interest here. Unfortunately also busy... Meanwhile, you could try to set |
I also have this issue from time to time. For instance, I am having it right now: the eurostat webiste is accessible but trying to download data from R with
error
Info on my R configuration:
|
If you have problems (especially behind a proxy connection) could you test httr2-branch of eurostat and tell if it works / doesn't work?
I notice that some queries here have been concerned with bulk download files. To use proxy option you have to use I tested httr2 proxy functionalities with public proxies found in https://www.proxynova.com/proxy-server-list/ and the success-rate seemed to be mostly based on the quality of the chosen proxy. With a select few I was able to get things working, but most failed with various types of timeouts. Private proxies might of course be much less burdened and of higher quality than these public proxies... |
Hello,
I get an error using eurostat package.
I've tried to look into internals, implementation of function check_access_to_data(). The detail of error is:
wget is able to download this URL after 2 redirects:
Win7 OS, no proxies or other network limitations.
Best regards
The text was updated successfully, but these errors were encountered: