Max retries exceeded?

Michael Nelson michael.nelson at canonical.com
Mon Feb 6 03:47:30 UTC 2017


On Mon, Feb 6, 2017 at 1:25 PM Michi Henning <michi.henning at canonical.com>
wrote:

> I keep getting this error when doing a snapcraft cleanbuild. Any
> suggestions? I checked name resolution, and my DNS resolves
> parts.snapcraft.io just fine.
>
>
Hi Michi

Have you verified your DNS resolution and/or curling from within your
container? That is:


> Thanks,
>
> Michi.
>
> Setting up python3-lxml (3.5.0-1build1) ...
> Setting up python3-petname (2.0-0ubuntu1~16.04) ...
> Setting up python3-progressbar (2.3-2) ...
> Setting up python3-pymacaroons (0.9.2-0ubuntu1) ...
> Setting up python3-requests-toolbelt (0.6.0-2) ...
> Setting up python3-simplejson (3.8.1-1ubuntu2) ...
> Setting up python3-tabulate (0.7.5-1) ...
> Setting up python3-xdg (0.25-4) ...
> Setting up xdelta3 (3.0.8-dfsg-1ubuntu2) ...
> Setting up python3-libarchive-c (2.1-3) ...
> Setting up python3-magic (1:5.25-2ubuntu1) ...
> Setting up snapcraft (2.26) ...
> Processing triggers for libc-bin (2.23-0ubuntu5) ...
> HTTPSConnectionPool(host='parts.snapcraft.io', port=443): Max retries exceeded with url: /v1/parts.yaml (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f5537c29ba8>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
> Stopping snapcraft-merely-model-ewe
> Command '['lxc', 'exec', 'snapcraft-merely-model-ewe', '--', 'snapcraft', 'snap', '--output', 'thumbnailer_2.4_amd64.snap']' returned non-zero exit status 1
>
>
>
Can you try:
$ lxc exec snapcraft-merely-model-ewe -- curl
https://parts.snapcraft.io/v1/parts.yaml

? I can only confirm that curling that from various machines here responds
fine (and that there haven't been any alerts for that service for the past
day).

Thanks
-Michael



>
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/snapcraft
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170206/de8d45f2/attachment.html>


More information about the Snapcraft mailing list