-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
California_housing URL : Forbidden Error #28384
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
Comments
Uhm this weird. I still cannot reproduce. But we have a recent issue reporting the same problem: #28297 |
@VikkramRavi do you get this error at each try or this is only time to time? |
Can not reproduce either https://ndownloader.figshare.com/files/5976036/cal_housing.tgz works fine for me |
Oops misclick I did not mean to close the issue. This is unlikely to be a scikit-learn issue though. |
@lesteve : I don’t see it to be network issue , I run multiple times in the last two days with the same error. Has it related to geographical location? I am trying to download from Asia. A |
It was something that I'm wondering. But I don't get what would be the reason. |
OK just for the fun of it I configured Tor Browser to use an exit node in India and I can still download https://ndownloader.figshare.com/files/5976036/cal_housing.tgz. I don't really know how to troubleshoot this, maybe look in your browser console and check if there is any relevant info there? In any case this is outside of scikit-learn control, so I am going to close this one. If we start getting many many complaints about this and there is a general pattern we can identify, I guess this would be worth reporting to figshare. |
May be data that is governed by USA data policy. Have this been tried outside USA? |
We are in France with @glemaitre and see my previous message I configured Tor Browser with an exit node in India and this works just fine. |
This seems to be a figshare issue: https://twitter.com/jnuneziglesias/status/1756119265512771808 |
Describe the bug
Observation:
Dataset for fetch_california_housing fails with 403 forbidden error.
Error:
urllib.error.HTTPError: HTTP Error 403: Forbidden
On Trying to reach the URL directly using the curl command as well fails:
wget https://ndownloader.figshare.com/files/5976036/cal_housing.tgz --2024-02-08 15:37:14-- https://ndownloader.figshare.com/files/5976036/cal_housing.tgz Resolving ndownloader.figshare.com (ndownloader.figshare.com)... 54.217.124.219, 52.16.102.173, 2a05:d018:1f4:d003:1c8b:1823:acce:812, ... Connecting to ndownloader.figshare.com (ndownloader.figshare.com)|54.217.124.219|:443... connected. HTTP request sent, awaiting response... 403 Forbidden 2024-02-08 15:37:14 ERROR 403: Forbidden.
Acceptance Criteria:
Steps/Code to Reproduce
from sklearn.datasets import fetch_california_housing
var = fetch_california_housing()
print(var.keys())
Expected Results
data should be downloaded
Actual Results
data should be downloaded to the system
Versions
The text was updated successfully, but these errors were encountered: