Повышение NewConnectionError во время установки сертификата require.txt - PullRequest
0 голосов
/ 16 января 2019

Я пытаюсь запустить docker-compose up для создания приложения django, но я получил это сообщение об ошибке.

Building web
Step 1/6 : FROM python:2.7
 ---> bfa54426aeda
Step 2/6 : ENV PYTHONUNBUFFERED 1
 ---> Using cache
 ---> 52295fd3b228
Step 3/6 : RUN mkdir /deniz1
 ---> Using cache
 ---> dff17bbae4d8
Step 4/6 : WORKDIR /deniz1
 ---> Using cache
 ---> 0f95497fe436
Step 5/6 : ADD . /deniz1/
 ---> Using cache
 ---> 750b3033f58d
Step 6/6 : RUN pip install --upgrade -r requirements.txt
 ---> Running in 0559d5fd6935
Processing ./cve2NVT/PyCVESearch
Collecting certifi==2018.4.16 (from -r requirements.txt (line 1))
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fc254070c10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/certifi/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fc254070450>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/certifi/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fc254070710>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/certifi/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fc254070d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/certifi/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7fc254070e90>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/certifi/
^CGracefully stopping... (press Ctrl+C again to force)

Затем я посмотрел на Google, чтобы увидеть, если DNS был не прав, но это нормально ping google.com

PING google.com (172.217.169.206) 56(84) bytes of data.
64 bytes from sof02s34-in-f14.1e100.net (172.217.169.206): icmp_seq=1 ttl=49 time=37.7 ms
64 bytes from sof02s34-in-f14.1e100.net (172.217.169.206): icmp_seq=2 ttl=49 time=36.8 ms

И двигаться дальше .... Так это о сертификации? Пип? Или что ?

Мои требования.txt

certifi==2018.4.16
chardet==3.0.4
Django==1.11.13
djangorestframework==3.8.2
djangorestframework-jwt==1.11.0
idna==2.6
numpy==1.14.3
paramiko>=1.15.2
pycrypto==2.6.1
psycopg2==2.7.4
PyJWT==1.6.4
pytz==2018.4
requests==2.18.4
urllib3==1.22
django-rest-swagger==2.2.0
...