Unexpected error when adding NZBGet Integration

HASS OS: 2021.12.6

When I try and add NZBGet to Home Assistant I get the following error in the logs.

Is there something specific I need to set up in NZBGet?

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/nzbget/config_flow.py", line 92, in async_step_user
    await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/nzbget/config_flow.py", line 51, in validate_input
  File "/usr/local/lib/python3.9/site-packages/pynzbgetapi/__init__.py", line 60, in version
    return self.__proxy_call(lambda: self.proxy.version())
  File "/usr/local/lib/python3.9/site-packages/pynzbgetapi/__init__.py", line 54, in __proxy_call
    return method_call()
  File "/usr/local/lib/python3.9/site-packages/pynzbgetapi/__init__.py", line 60, in <lambda>
    return self.__proxy_call(lambda: self.proxy.version())
  File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1116, in __call__
    return self.__send(self.__name, args)
  File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1458, in __request
    response = self.__transport.request(
  File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1160, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1172, in single_request
    http_conn = self.send_request(host, handler, request_body, verbose)
  File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1285, in send_request
    self.send_content(connection, request_body)
  File "/usr/local/lib/python3.9/xmlrpc/client.py", line 1315, in send_content
  File "/usr/local/lib/python3.9/http/client.py", line 1274, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.9/http/client.py", line 1034, in _send_output
  File "/usr/local/lib/python3.9/http/client.py", line 974, in send
  File "/usr/local/lib/python3.9/http/client.py", line 945, in connect
    self.sock = self._create_connection(
  File "/usr/local/lib/python3.9/socket.py", line 823, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/local/lib/python3.9/socket.py", line 954, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

I think I am having a similar error. Did you figure this out?

I have no idea. I restarted a few times. Uninstalled and reinstalled and it worked on like 100th time. Possibly related to DNS issues.

1 Like

Thanks. I’ll try.