usegalaxy-eu / galaxy

Data intensive science for everyone.
https://galaxyproject.org/
Other
2 stars 11 forks source link

FTP download failing with forbidden error message #236

Closed lupolk closed 4 months ago

lupolk commented 4 months ago

I'm trying to download a dataset (not a collection) from usegalaxy.eu using command line. I'm using WSL2 with Ubuntu. I get this error with wget.

Resolving usegalaxy.eu (usegalaxy.eu)... 132.230.223.239
Connecting to usegalaxy.eu (usegalaxy.eu)|132.230.223.239|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2024-05-13 23:26:29 ERROR 403: Forbidden.

I get this with curl.

{"err_msg":"HistoryDatasetAssociation is not accessible by user","err_code":403002}

Just in case, I tried downloading with API key generated for my account, as described here, but it gave the same errors again.

Galaxy Server: European Galaxy Server {"version_major":"24.0","version_minor":"1.dev0"}

I checked the dataset, and I have access. I followed the commands given in the link, and they don't work.

lupolk commented 4 months ago

The following below solved the problem.

"Try setting the history to a shared state first, then run the retrieval. You don’t need to post the link back here, and you don’t need to “publish”. Just setting the shared state for the history where the datasets are located is enough to grant permissions for access."