![Ubuntu 18.04 no pudo conectarse a algunos sitios HTTPS](https://rvso.com/image/1157174/Ubuntu%2018.04%20no%20pudo%20conectarse%20a%20algunos%20sitios%20HTTPS.png)
Acabo de formatear mi computadora portátil e hice una instalación limpia de Ubuntu 18.04. Al instalar algunos de mis paquetes de desarrollo, encontré problemas al utilizar rubygems y python pip. Da errores relacionados con SSL. Tampoco puedo acceder a sus sitios. (Mensaje de error de restablecimiento de conexión)
Aquí está el error al instalar la última versión de 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
Y rubíes:
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)
Editar:
Ni siquiera puedo conectarme al sitio web de curl usando curl:
➜ 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
Intenté actualizar los paquetes openssl y ca-certificates pero tuve el mismo problema. Versión OpenSL:OpenSSL 1.1.0g 2 de noviembre de 2017
¿Alguien tiene una idea de lo que está pasando? Esto no sucedió en una VM hace un par de días.
EditarProbado nuevamente en una VM conectada a la misma red y aprovisionada de la misma manera y ¡funciona! Algo realmente extraño.
Gracias.
Respuesta1
Lo resolví desactivando ipv6 en mi máquina. Realmente no sé por qué, pero funcionó.
Para deshabilitar ipV6 en Ubuntu o Linux Mint, siga este tutorial:https://support.purevpn.com/how-to-disable-ipv6-linuxubuntu
Deshabilitarlo en el administrador de red no fue suficiente.