Skip to content
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

Login credentials from apihub.txt not considered when using aria2c #23

Closed
David-Loibl opened this issue Jan 3, 2017 · 2 comments
Closed

Comments

@David-Loibl
Copy link

Hi Olivier,
When the aria2-argument is provided in the request, e.g.
python Sentinel_download.py --downloader aria2 -s S1*IW_SLC --lat 39 --lon 68.3 -a apihub.txt

the resulting call to aria2c does not consider apihub.txt:
aria2c --check-certificate=false --http-user="guest" --http-passwd="guest" --continue -o query_results.xml "https://scihub.copernicus.eu/apihub/search?q=footprint:\"Intersects(39.000000,68.300000)\" filename:S1IW_SLC&rows=100"

The "guest" account does not seem to work any more, I get an authentication error (code 24).

Best wishes,
David

@olivierhagolle
Copy link
Owner

Dear David,
are you sure you are using the right apihub file ? Because the .py file does not contain "guest", so it has to take it from somewhere, and I guess it was the provided apihub.txt file

Coud you do the test again after checking the apihub in the directory where you start Sentinel_download.py ?
Best regards,
Olivier

@David-Loibl
Copy link
Author

You are right, I have two configurations on different machines and mixed it up. Sorry for the inconvenience, thanks for the immediate reply.

Best,
David

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants