![우분투 18.04가 일부 HTTPS 사이트에 연결하지 못했습니다.](https://rvso.com/image/1157174/%EC%9A%B0%EB%B6%84%ED%88%AC%2018.04%EA%B0%80%20%EC%9D%BC%EB%B6%80%20HTTPS%20%EC%82%AC%EC%9D%B4%ED%8A%B8%EC%97%90%20%EC%97%B0%EA%B2%B0%ED%95%98%EC%A7%80%20%EB%AA%BB%ED%96%88%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
방금 노트북을 포맷하고 Ubuntu 18.04를 새로 설치했습니다. 일부 개발 패키지를 설치하는 동안 rubygems와 python pip를 모두 사용하는 데 문제가 있음을 발견했습니다. SSL 관련 오류가 발생합니다. 나도 그들의 사이트에 액세스할 수 없습니다. (연결 재설정 오류 메시지)
최신 버전의 PIP를 설치하는 중 오류가 발생했습니다.
Connected to bootstrap.pypa.io (2a04:4e42::175) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [215 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [112 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [3805 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to bootstrap.pypa.io:443
* stopped the pause stream!
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
* Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to bootstrap.pypa.io:443
그리고 루비젬:
gem update --system
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::ECONNRESET: Connection reset by peer - SSL_connect (https://api.rubygems.org/specs.4.8.gz)
편집하다:
컬을 사용하여 컬 웹사이트에 연결할 수도 없습니다.
➜ curl -v https://curl.haxx.se/mail/archive-2015-08/0015.html
* Trying 2a04:4e42::561...
* TCP_NODELAY set
* Connected to curl.haxx.se (2a04:4e42::561) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to curl.haxx.se:443
* stopped the pause stream!
* Closing connection 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to curl.haxx.se:443
openssl 및 ca-certificates 패키지를 업데이트하려고 시도했지만 동일한 문제가 발생했습니다. Openssl 버전:OpenSSL 1.1.0g 2017년 11월 2일
무슨 일인지 아는 사람 있나요? 며칠 전 VM에서는 이런 일이 발생하지 않았습니다.
편집하다동일한 네트워크에 연결된 VM에서 다시 테스트하고 동일한 방식으로 프로비저닝했으며 작동합니다!! 뭔가 정말 이상한데요.
감사합니다.
답변1
내 컴퓨터에서 ipv6을 비활성화하여 문제를 해결했습니다. 왜 그런지는 모르겠지만 효과가 있었습니다.
Ubuntu 또는 Linux Mint에서 ipV6을 비활성화하려면 다음 튜토리얼을 따르십시오.https://support.purevpn.com/how-to-disable-ipv6-linuxubuntu
네트워크 관리자를 비활성화하는 것만으로는 충분하지 않았습니다.