kblin / ncbi-genome-download

Scripts to download genomes from the NCBI FTP servers
Apache License 2.0
941 stars 175 forks source link

Download problem #191

Open XLOXL opened 2 years ago

XLOXL commented 2 years ago

Hello kblin! When I use the following statement to download:

ncbi-genome-download -g delete1.txt bacteria -F fasta the following problems arise: Download from NCBI failed: ConnectionError(MaxRetryError("HTTPSConnectionPool(host='ftp.ncbi.nlm.nih.gov', port=443): Max retries exceeded with url: /genomes/all/GCF/002/177/455/GCF_002177455.1_ASM217745v1/md5checksums.txt (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fce0c8ba8>: Failed to establish a new connection: [Errno -2] Name or service not known'))"))

hxyv commented 1 year ago

Hello, have you solve this problem?

naturepoker commented 7 months ago

There seems to be a number of same issues describing this exact problem on the issues page. For future reference, if you're seeing the same message it almost exclusively means there's a network problem, and not ncbi-genome-download issue.

The problem could be:

  1. Your computer's network policy is wonky - are you behind a firewall by any chance? Some school networks prohibit connection to outside FTP from some weird reason.
  2. NCBI is down for maintenance - while they tend to have excellent uptime for what they are/do, the service does go down occasionally for maintenance. You can check for current status here: https://www.ncbi.nlm.nih.gov/down/

In my case, I'm seeing the same message and have confirmed NCBI ftp servers are offline today for maintenance and update.

Hope this helps!