After using visdom, the following problem occurs.
requests.exceptions.ConnectionError: HTTPConnectionPool(host=’localhost’, port=8097): Max retries exceeded with url: /env/main (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x0000027F8769B7F0>: Failed to establish a new connection: [WinError 10061] Unable to connect due to aggressive rejection by the target computer.’))
[WinError 10061] Unable to connect because the target computer is actively rejecting.
Visdom python client failed to establish socket to get messages from the server. This feature is optional and can be disabled by initializing Visdom with `use_incoming_socket=False`, which will prevent waiting for this request to timeout.
Setting up a new session…
visdom The above problem will also occur if it is not started.
Solution.
python -m visdom.server
Read More:
- Python Requests Error: Max retries exceeded with url
- Python Error aiohttp.client_exceptions.ClientConnectorCertificateError, Cannot connect to host:443
- SSL error of urllib3 when Python uploads files using Minio
- Python 3 urllib has no URLEncode attribute
- urllib.error.HTTPError http error 403 forbidden
- urllib.error.HTTPError: HTTP Error 403: Forbidden [How to Solve]
- [Solved] socketio.exceptions.ConnectionError: OPEN packet not returned by server
- [Solved] urllib.error.URLError: <urlopen error [SSL: WRONG_VERSION_NUMBER] wrong version number
- [Solved] raise ContentTooShortError(urllib.error.ContentTooShortError: <urlopen error retrieval incomplete:
- Python asynchronous co process crawler error: [aiohttp. Client]_ Exceptions: serverdisconnected error: Server Disconnected]
- [Solved]AttributeError: module ‘urllib’ has no attribute ‘quote’
- Python error: urllib.error.HTTPError : http Error 404: not found
- urllib.error.URLError: <urlopen error [Errno -3] Temporary failure in name resolution>
- [Solved] Selenium.common.exceptions.WebDriverException: Message: newSession
- [Solved] selenium.common.exceptions.WebDriverException: Message: unknown error: DevToolsActivePort file doesn
- [Solved] Django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.7.17).
- MySQLdb._exceptions.ProgrammingError appears when scrapy crawls Weibo hot comments
- [Solved] django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.Did you install mysqlclie
- [Solved] Pytorch Download CIFAR1 Datas Error: urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certi