Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service not known')) #7

Open
clach04 opened this issue Jan 26, 2020 · 0 comments

Comments

@clach04
Copy link

clach04 commented Jan 26, 2020

This is due to Pebble SDK not being available. NOTE Rebble SDK is available, see:

Which have updated SDK and URLs.

Reporting in case anyone else hits this. Thanks for sharing this project, especially the readme. The readme for this project was really helpful to me. I only use Docker occasionally and the readme is a nice intro for getting started.

I'm currently using https://github.com/bboehmke/docker-pebble-dev

Here is the output and full stack trace, this failure is due to SDK attempting to ping old servers

C:\code\docker\pebble\andredumas\docker-pebble-dev>docker run --rm -it -v C:\code\docker\pebble\andredumas\docker-pebble-dev/build:/pebble andredumas/pebble-dev --version
Pebble Tool v4.1.1 (active SDK: v3.9.2)
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/root/pebble-dev/pebble-sdk-4.1.1-linux64/pebble-tool/pebble_tool/util/updates.py", line 34, in run
    .format(self.component, sdk_manager.get_channel()))
  File "/root/pebble-dev/pebble-sdk-4.1.1-linux64/pebble-tool/pebble_tool/sdk/manager.py", line 265, in request
    return requests.get("{}{}".format(self.DOWNLOAD_SERVER, path), *args)
  File "/root/pebble-dev/pebble-sdk-4.1.1-linux64/.env/local/lib/python2.7/site-packages/requests/api.py", line 69, in get
    return request('get', url, params=params, **kwargs)
  File "/root/pebble-dev/pebble-sdk-4.1.1-linux64/.env/local/lib/python2.7/site-packages/requests/api.py", line 50, in request
    response = session.request(method=method, url=url, **kwargs)
  File "/root/pebble-dev/pebble-sdk-4.1.1-linux64/.env/local/lib/python2.7/site-packages/requests/sessions.py", line 465, in request
    resp = self.send(prep, **send_kwargs)
  File "/root/pebble-dev/pebble-sdk-4.1.1-linux64/.env/local/lib/python2.7/site-packages/requests/sessions.py", line 573, in send
    r = adapter.send(request, **kwargs)
  File "/root/pebble-dev/pebble-sdk-4.1.1-linux64/.env/local/lib/python2.7/site-packages/requests/adapters.py", line 415, in send
    raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service not known'))

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/root/pebble-dev/pebble-sdk-4.1.1-linux64/pebble-tool/pebble_tool/util/updates.py", line 34, in run
    .format(self.component, sdk_manager.get_channel()))
  File "/root/pebble-dev/pebble-sdk-4.1.1-linux64/pebble-tool/pebble_tool/sdk/manager.py", line 265, in request
    return requests.get("{}{}".format(self.DOWNLOAD_SERVER, path), *args)
  File "/root/pebble-dev/pebble-sdk-4.1.1-linux64/.env/local/lib/python2.7/site-packages/requests/api.py", line 69, in get
    return request('get', url, params=params, **kwargs)
  File "/root/pebble-dev/pebble-sdk-4.1.1-linux64/.env/local/lib/python2.7/site-packages/requests/api.py", line 50, in request
    response = session.request(method=method, url=url, **kwargs)
  File "/root/pebble-dev/pebble-sdk-4.1.1-linux64/.env/local/lib/python2.7/site-packages/requests/sessions.py", line 465, in request
    resp = self.send(prep, **send_kwargs)
  File "/root/pebble-dev/pebble-sdk-4.1.1-linux64/.env/local/lib/python2.7/site-packages/requests/sessions.py", line 573, in send
    r = adapter.send(request, **kwargs)
  File "/root/pebble-dev/pebble-sdk-4.1.1-linux64/.env/local/lib/python2.7/site-packages/requests/adapters.py", line 415, in send
    raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service not known'))

Seeing this with Windows host but suspect generic.

C:\code\docker\pebble\bboehmke>docker --version
Docker version 19.03.5, build 633a0ea

C:\code\docker\pebble\bboehmke>ver

Microsoft Windows [Version 10.0.17134.1184]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant