When I try to build a simple snap I get the error:

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 0x7f99e296b7b8>: Failed to establish a new connection: [Errno 111] Connection refused',))

This is no surprise as our internet access is protocol-gapped. Is there a way around this? Nothing jumps out at me from the documentation...

This is on Ubuntu 16.04 desktop, rather than Snappy Ubuntu Core.


snapcraft can now be run offline, yes. The parts directory (which is being pulled via parts.snapcraft.io) is optional, and isn't checked by default.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.