-
Notifications
You must be signed in to change notification settings - Fork 61
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
BUG: Cannot request dataset zip bundle via wget/curl, get 502 error #744
Comments
Workarounds:
|
The JSON data's not encrypted; it's gzip compressed. Use curl's |
The 502 error is something else and likely a bug/problem with whatever AWS Lambda is servicing the request, e.g. it's likely "our" fault and we need to look at the Lambda's logs and fix it. (I don't have context here but could spin up on it if urgent and @ivan-aksamentov isn't around.) |
Thanks for the explanation @tsibley! I confirm that the bug seems restricted to the zip bundle which is not used by This works:
|
The zip bundles were considered for implementing downloads in the early days of Nextclade datasets. However that feature was dropped and they are never used or exposed anywhere currently other than in index.json and in the datasets repo. The index.json is not meant to be used by end-users directly either. But fixing this issue may help users behind proxies, in blocked countries and in otherwise challenging networking conditions. I investigated and, as @tsibley noted, it was indeed a bug in a Lambda@Edge function. Fixed in nextstrain/nextclade_data#24, nextstrain/nextclade_data#25 Not related to #726 #552 at all. It just happened that the HTTP clients were reporting similar errors. @corneliusroemer Please double-check that it works now when you have a second. |
When requesting datasets manually via wget/curl as a workaround for #726 #552 something seems wrong.
When requesting a zip file
one gets an error
502 Bad Gateway
:When requesting
the result is
encryptedcompressed, rather than a readablejson
.First reported in ncov nextstrain/ncov#875 by @jacaravas
The text was updated successfully, but these errors were encountered: