-
-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Error can be reproduced by:
import bioversions
bioversions.get_version('chebi')Relevant part of the error (the full traceback is 200+ lines):
ConnectionError: HTTPConnectionPool(host='ftp.ebi.ac.uk', port=80): Max retries exceeded with url: /pub/databases/chebi/ontology/chebi.obo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5dcb7bcb50>: Failed to establish a new connection: [Errno 111] Connection refused'))
One possible lead on this issue I think is the port used. Because we use port 80 according to the traceback, the full URL should be http://ftp.ebi.ac.uk/pub/databases/chebi/ontology/chebi.obo, note the http here because port 80 is used, while going to that URL in the browser, you're redirected to https://ftp.ebi.ac.uk/pub/databases/chebi/ontology/chebi.obo, again note https which implies port 443 should be used. My guess here is that somewhere, the http URL is requested, but that it's only the https URL actually works, hence the ConnectionError. I haven't been able to find where the http request would come from though.
My setup:
bioversions version: 0.5.560 (I run a git cloned setup)
Python version: 3.11.7
OS (output from uname -a): Linux 5.15.0-126-generic #136~20.04.1-Ubuntu SMP Thu Nov 14 16:38:05 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux