Open ignaciorlando opened 4 years ago
Not entirely sure, this seems to be something underlying visdom. Perhaps try updating python/requests/OpenSSL?
I tried updating OpenSSL and reinstalling visdom but the problem persists. I have absolutely no idea what might be going on. but it was working quite OK a few days ago, and now is stucked on this handshake :/
After a few hours I got the following error:
Traceback (most recent call last):
File "<path to my environment>/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 485, in wrap_socket
cnx.do_handshake()
File "<path to my environment>/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1934, in do_handshake
self._raise_ssl_error(self._ssl, result)
File "<path to my environment>/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1664, in _raise_ssl_error
raise SysCallError(-1, "Unexpected EOF")
OpenSSL.SSL.SysCallError: (-1, 'Unexpected EOF')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<path to my environment>/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen
chunked=chunked,
File "<path to my environment>/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "<path to my environment>/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
conn.connect()
File "<path to my environment>/lib/python3.7/site-packages/urllib3/connection.py", line 394, in connect
ssl_context=context,
File "<path to my environment>/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 370, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "<path to my environment>/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 491, in wrap_socket
raise ssl.SSLError("bad handshake: %r" % e)
ssl.SSLError: ("bad handshake: SysCallError(-1, 'Unexpected EOF')",)
Is your server remote? Perhaps the security configuration has changed and now you may need to use proxies? I really don't have any guidance for this beyond searching the errors you're getting.
I also met this issue,have you solve it ??
I solved it by set same value(8097) on port of chrom and server.
I think it might be related to HTTP vs HTTPS. Please check that. Worked for me with HTTP but not with HTTPS.
maybe the visdom port is being used by other process, find the process and kill it or change another free port
I've been using Visdom for a while and it was working fine until today. Now, when I try to initialize the visdom object for visualization with
viz = Visdom(server=hostname, port=port)
the code stucks there with the legendSetting up a new session
. It's been there for hours and nothing seems to happen.I tried a few times and if I cancel the process, I can see that the following stack trace:
So it seems that this line:
result = _lib.SSL_do_handshake(self._ssl)
is the one creating the problem. Do you know why this might be happening?