dandi / redirector

Apache License 2.0
0 stars 2 forks source link

CI got 400 (BadRequest) when asking for https://dandiarchive.org/dandiset/000027/draft #51

Closed yarikoptic closed 3 years ago

yarikoptic commented 3 years ago

while CIing https://github.com/dandi/dandi-cli/pull/666 in https://github.com/dandi/dandi-cli/pull/666/checks?check_run_id=2804463756#step:9:3134 got

2021-06-11T15:46:43.7419628Z =================================== FAILURES ===================================
2021-06-11T15:46:43.7420573Z _____ test_download_000027[https://dandiarchive.org/dandiset/000027/draft] _____
2021-06-11T15:46:43.7421405Z dandi/tests/test_download.py:50: in test_download_000027
2021-06-11T15:46:43.7422256Z     download(url, tmpdir, existing="refresh")  # TODO: check that skipped (the same)
2021-06-11T15:46:43.7423002Z dandi/download.py:59: in download
2021-06-11T15:46:43.7423603Z     parsed_url = parse_dandi_url(urls[0])
2021-06-11T15:46:43.7424209Z dandi/dandiarchive.py:442: in parse
2021-06-11T15:46:43.7425136Z     new_url = cls.follow_redirect(url)
2021-06-11T15:46:43.7425753Z dandi/dandiarchive.py:545: in follow_redirect
2021-06-11T15:46:43.7426585Z     raise FailedToConnectError(
2021-06-11T15:46:43.7428444Z E   dandi.exceptions.FailedToConnectError: Response for getting https://dandiarchive.org/dandiset/000027/draft to redirect returned 400. Please verify that it is a URL related to dandiarchive and supported by dandi client

needs checking if anything in the logs which could be potentially something fixable?