0

Conda は CentOS で時間がかかりすぎています。コマンド conda --debug update conda を実行しています。これは、時間がかかりすぎる理由がわからないログです。

DEBUG:conda.fetch:channel_urls=OrderedDict([('https://repo.continuum.io/pkgs/free/linux-64/', ('defaults', 1)), ('https://repo.continuum.io/pkgs/free/noarch/', ('defaults', 1)), ('https://repo.continuum.io/pkgs/pro/linux-64/', ('defaults', 1)), ('https://repo.continuum.io/pkgs/pro/noarch/', ('defaults', 1))])
Fetching package metadata ...INFO:stdoutlog:Fetching package metadata ...
DEBUG:requests.packages.urllib3.util.retry:Converted retries value: 3 -> Retry(total=3, connect=None, read=None, redirect=None)
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): repo.continuum.io
DEBUG:requests.packages.urllib3.util.retry:Incremented Retry for (url='/pkgs/free/linux-64/repodata.json.bz2'): Retry(total=2, connect=None, read=None, redirect=None)
WARNING:requests.packages.urllib3.connectionpool:Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f625c420d10>: Failed to establish a new connection: [Errno 110] Connection timed out',)': /pkgs/free/linux-64/repodata.json.bz2
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (2): repo.continuum.io
DEBUG:requests.packages.urllib3.util.retry:Incremented Retry for (url='/pkgs/free/linux-64/repodata.json.bz2'): Retry(total=1, connect=None, read=None, redirect=None)
WARNING:requests.packages.urllib3.connectionpool:Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f625c420e90>: Failed to establish a new connection: [Errno 110] Connection timed out',)': /pkgs/free/linux-64/repodata.json.bz2
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (3): repo.continuum.io
DEBUG:requests.packages.urllib3.util.retry:Incremented Retry for (url='/pkgs/free/linux-64/repodata.json.bz2'): Retry(total=0, connect=None, read=None, redirect=None)
WARNING:requests.packages.urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f625dc08050>: Failed to establish a new connection: [Errno 110] Connection timed out',)': /pkgs/free/linux-64/repodata.json.bz2
INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (4): repo.continuum.io
4

2 に答える 2

0

この問題は解決しましたか? デバッグ出力が示すように、問題はhttps://repo.continuum.io/pkgs/free/linux-64/repodata.json.bz2にアクセスできなかったことです。これは 300KB のファイルのみです。しかし、問題はダウンロード時間ではなく、クライアントが単にその URL からの応答を取得できなかったことです。私は Continuum で働いており、過去 24 時間に repo.continuum.io が利用できなくなったことを意味するサービスの中断を認識していませんが、私は運用チームの一員ではありません。その URL を Web ブラウザーまたは電話に入力し、問題なく解決されるかどうかを確認します。その場合、conda updateコマンドを実行している CentOS サーバーで問題が発生している可能性が高くなります。いつでもwgetまたはを試すことができますcurlコマンドを実行して、それらが URL を正常に解決するかどうかを確認します。これらの提案が機能するのに役立つかどうか、または少なくとも問題の原因をより適切に特定できるかどうかをお知らせください。

于 2016-09-13T12:15:39.907 に答える