← Back to team overview

desktop-packages team mailing list archive

[Bug 1480491] Re: /usr/share/oneconf/oneconf-service:httplib2.ServerNotFoundError:_conn_request:connect:connect:create_connection:getaddrinfo:process_sync:wrapper:list_machines:_get:_get:get:request_url:request:_request:_conn_request

 

Bruno - since you worked on the fix for bug 1165104 - could you have a
look at this issue?

Here's the traceback from the error:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 965, in _conn_request
    conn.connect()
  File "/usr/lib/python3.4/http/client.py", line 1223, in connect
    super().connect()
  File "/usr/lib/python3.4/http/client.py", line 834, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python3.4/socket.py", line 494, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
  File "/usr/lib/python3.4/socket.py", line 533, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/oneconf/networksync/__init__.py", line 231, in process_sync
    full_hosts_list = self.infraclient.list_machines()
  File "/usr/lib/python3/dist-packages/piston_mini_client/validators.py", line 120, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/oneconf/networksync/infraclient_pristine.py", line 46, in list_machines
    return ast.literal_eval(self._get('list-machines/', scheme=AUTHENTICATED_API_SCHEME))
  File "/usr/lib/python3/dist-packages/oneconf/networksync/infraclient_pristine.py", line 35, in _get
    res = super()._get(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/piston_mini_client/__init__.py", line 787, in _get
    extra_headers=extra_headers)
  File "/usr/lib/python3/dist-packages/piston_mini_client/__init__.py", line 491, in get
    return self.request_url(url, method='GET', headers=headers)
  File "/usr/lib/python3/dist-packages/piston_mini_client/__init__.py", line 419, in request_url
    url, method=method, body=body, headers=headers)
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1291, in request
    (response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 1041, in _request
    (response, content) = self._conn_request(conn, request_uri, method, body, headers)
  File "/usr/lib/python3/dist-packages/httplib2/__init__.py", line 972, in _conn_request
    raise ServerNotFoundError("Unable to find the server at %s" % conn.host)
httplib2.ServerNotFoundError: Unable to find the server at apps.ubuntu.com

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to oneconf in Ubuntu.
https://bugs.launchpad.net/bugs/1480491

Title:
  /usr/share/oneconf/oneconf-
  service:httplib2.ServerNotFoundError:_conn_request:connect:connect:create_connection:getaddrinfo:process_sync:wrapper:list_machines:_get:_get:get:request_url:request:_request:_conn_request

Status in oneconf package in Ubuntu:
  New

Bug description:
  The Ubuntu Error Tracker has been receiving reports about a problem
  regarding oneconf.  This problem was most recently seen with version
  0.3.8, the problem page at
  https://errors.ubuntu.com/problem/41aaab6ce7faa5a5dc15b54c76b0b8c7bc07bc24
  contains more details.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/oneconf/+bug/1480491/+subscriptions


References