Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS/SSL connection issue on Docker desktop #231

Open
AzumaSerenThePatriot opened this issue Apr 29, 2024 · 1 comment
Open

TLS/SSL connection issue on Docker desktop #231

AzumaSerenThePatriot opened this issue Apr 29, 2024 · 1 comment

Comments

@AzumaSerenThePatriot
Copy link

I'm running colabfold on centos7 on docker with windows11, and it comes out immediately when I start the prediction:

Traceback (most recent call last):
File "/software/colab/localcolabfold/colabfold-conda/lib/python3.9/site-packages/urllib3/connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "/software/colab/localcolabfold/colabfold-conda/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1099, in _validate_conn
conn.connect()
File "/software/colab/localcolabfold/colabfold-conda/lib/python3.9/site-packages/urllib3/connection.py", line 653, in connect
sock_and_verified = _ssl_wrap_socket_and_match_hostname(
File "/software/colab/localcolabfold/colabfold-conda/lib/python3.9/site-packages/urllib3/connection.py", line 806, in ssl_wrap_socket_and_match_hostname
ssl_sock = ssl_wrap_socket(
File "/software/colab/localcolabfold/colabfold-conda/lib/python3.9/site-packages/urllib3/util/ssl
.py", line 465, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)
File "/software/colab/localcolabfold/colabfold-conda/lib/python3.9/site-packages/urllib3/util/ssl
.py", line 509, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/software/colab/localcolabfold/colabfold-conda/lib/python3.9/ssl.py", line 501, in wrap_socket
return self.sslsocket_class._create(
File "/software/colab/localcolabfold/colabfold-conda/lib/python3.9/ssl.py", line 1074, in _create
self.do_handshake()
File "/software/colab/localcolabfold/colabfold-conda/lib/python3.9/ssl.py", line 1343, in do_handshake
self._sslobj.do_handshake()
ssl.SSLZeroReturnError: TLS/SSL connection has been closed (EOF) (_ssl.c:1133)

  1. Using the newest localcolabfold (1.5.5) doesn't change anything.
  2. It doesn't look like a connection problem: my M2 Mac can use localcolabfold properly under the same network.
  3. These issues come out immediately when I use colabfold_batch.
@YoshitakaMo
Copy link
Owner

In most cases, TLS/SSL connection issue is attributed to the network configuration or lack of SSL configuration. I'm not familiar with Docker, but did you do update-ca-trust? https://stackoverflow.com/questions/37043442/how-to-add-certificate-authority-file-in-centos-7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants