prominence-eosc / prominence

PROMINENCE server
Apache License 2.0
2 stars 0 forks source link

Detecting expired presigned and invalid URLs for artifacts #114

Closed alahiff closed 4 years ago

alahiff commented 4 years ago

Running curl -i with an expired presigned URL clearly shows:

HTTP/1.1 401 Unauthorized

but when just using curl to download and save output to a file, it will just save AccessDenied to the text file. Need to update condor_url_fetch to take this into account or do the downloads in promlet.py.

Note that incorrect URLs are similar, e.g. you get a file containing:

404: Not Found
alahiff commented 4 years ago

No longer an issue, since artifacts are now downloaded in the promlet not HTCondor.