Hi,
The Proxmoxve integration has been installed according the official doc … Proxmox VE - Home Assistant
The configuration.yaml file setup :
proxmoxve:
- host: ! secrets proxmox_ip
username: ! secrets proxmox_username
password: ! secrets proxmox_password
verify_ssl: false
nodes:
- node: U55-A
vms:
- 100
- 101
The errors log :
Logger: homeassistant.setup
Source: components/proxmoxve/__init__.py:310
First occurred: 4:44:40 PM (1 occurrences)
Last logged: 4:44:40 PM
Error during setup of component proxmoxve
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/usr/local/lib/python3.8/site-packages/urllib3/util/connection.py", line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 353, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 181, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f68ac02f970>: Failed to establish a new connection: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='secrets%20proxmox_ip', port=8006): Max retries exceeded with url: /api2/json/access/ticket (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f68ac02f970>: Failed to establish a new connection: [Errno -3] Try again'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 248, in _async_setup_component
result = await task
File "/usr/src/homeassistant/homeassistant/components/proxmoxve/__init__.py", line 130, in async_setup
await hass.async_add_executor_job(build_client)
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/proxmoxve/__init__.py", line 110, in build_client
proxmox_client.build_client()
File "/usr/src/homeassistant/homeassistant/components/proxmoxve/__init__.py", line 310, in build_client
self._proxmox = ProxmoxAPI(
File "/usr/local/lib/python3.8/site-packages/proxmoxer/core.py", line 127, in __init__
self._backend = importlib.import_module('.backends.%s' % backend, 'proxmoxer').Backend(host, **kwargs)
File "/usr/local/lib/python3.8/site-packages/proxmoxer/backends/https.py", line 198, in __init__
self.auth = ProxmoxHTTPAuth(self.base_url, user, password, verify_ssl, timeout)
File "/usr/local/lib/python3.8/site-packages/proxmoxer/backends/https.py", line 66, in __init__
self._getNewTokens(password=password)
File "/usr/local/lib/python3.8/site-packages/proxmoxer/backends/https.py", line 74, in _getNewTokens
response_data = requests.post(self.base_url + "/access/ticket",
File "/usr/local/lib/python3.8/site-packages/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='secrets%20proxmox_ip', port=8006): Max retries exceeded with url: /api2/json/access/ticket (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f68ac02f970>: Failed to establish a new connection: [Errno -3] Try again'))
Any advice please on this connection problem ?
Thank you