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

Error 503 when innitiating downloads (downloadcmd) #103

Open
sina-mansour opened this issue Oct 29, 2024 · 5 comments
Open

Error 503 when innitiating downloads (downloadcmd) #103

sina-mansour opened this issue Oct 29, 2024 · 5 comments

Comments

@sina-mansour
Copy link

In the past couple of months, I have been unable to download NDA mindar packages. NDA keeps responding "503 Service Temporarily Unavailable" errors. (e.g. when using shared data packages for HCP development data)

I wanted to ask if this is a scheduled/anticipated maintenance outage, or if I need to change something on my side (e.g. an issue with my script/credentials).

Many thanks

@sina-mansour
Copy link
Author

P.S. This is the traceback of the error:

Traceback (most recent call last):
File "/mountpoint/code/environments/pymc_env/bin/downloadcmd", line 8, in
sys.exit(main())
File "/mountpoint/code/environments/pymc_env/lib/python3.10/site-packages/NDATools/clientscripts/downloadcmd.py", line 182, in main
s3Download.start()
File "/mountpoint/code/environments/pymc_env/lib/python3.10/site-packages/NDATools/Download.py", line 198, in start
package_resource = self.get_package_info()
File "/mountpoint/code/environments/pymc_env/lib/python3.10/site-packages/NDATools/Download.py", line 1010, in get_package_info
tmp = get_request(url, auth=self.auth, deserialize_handler=DeserializeHandler.none)
File "/mountpoint/code/environments/pymc_env/lib/python3.10/site-packages/NDATools/Utils.py", line 304, in get_request
return _send_prepared_request(req.prepare(), timeout=timeout, deserialize_handler=deserialize_handler,
File "/mountpoint/code/environments/pymc_env/lib/python3.10/site-packages/NDATools/Utils.py", line 266, in _retry
tmp = func(*args, **kwargs)
File "/mountpoint/code/environments/pymc_env/lib/python3.10/site-packages/NDATools/Utils.py", line 293, in _send_prepared_request
tmp = session.send(prepped, timeout=timeout)
File "/mountpoint/code/environments/pymc_env/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/mountpoint/code/environments/pymc_env/lib/python3.10/site-packages/requests/adapters.py", line 510, in send
raise RetryError(e, request=request)
requests.exceptions.RetryError: HTTPSConnectionPool(host='nda.nih.gov', port=443): Max retries exceeded with url: /api/package/1185264 (Caused by ResponseError('too many 503 error responses'))

@gregmagdits
Copy link
Contributor

NDA temporarily suspended packaging and downloading functionality for end users. We do not yet have a timeline for when this capability will be re-established.

@jrussell9000
Copy link

Does NDA plan on making alternate data access methods available for investigators? Say, investigators with NIMH grants explicitly dependent on data from NDA? If so, when?

@gregmagdits
Copy link
Contributor

gregmagdits commented Oct 29, 2024

Our packaging and downloading services, the Download Manager tool, and miNDAR databases are currently unavailable. We don’t have an estimated time for when these services will be restored.
Please check the NDA website (nda.nih.gov) next week for updates. We'll remove the banner once the services are back online.

@jrussell9000
Copy link

jrussell9000 commented Oct 30, 2024

Just to update any other investigators who may come across this thread - the end result of e-mailing to ask for the data (as originally suggested above by @gregmagdits - though this has now been removed) was the following reply:

"Thank you for contacting the NDA Help Desk. NDA is unable to release data at this time. Our packaging and downloading services, the Download Manager tool, and miNDAR databases are currently unavailable. We don’t have an estimated time for when these services will be restored.

Please check the NDA website (nda.nih.gov) next week for updates. We'll remove the banner once the services are back online."

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

3 participants