I am trying to upload a snap to canonical. I am a registered user. I am able to login through browser using my credentials but when I use command “snapcraft login” and enter the same registered credentials I am getting below timeout error,
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fac1cf19668>: Failed to establish a new connection: [Errno 110] Connection timed out',))': /dev/api/acl/
This suggests the proxy server you have configured is unreachable. Can you check that your proxy is reachable and working properly, and/or maybe try unsetting the proxy? I’m unsure how this is done in Snapcraft, I think it honors the http_proxy and https_proxy variables.
I’m having a similar problem. I can’t snapcraft login --with auth.file from a Jenkins server, which requires an http_proxy to access the snap store. It doesn’t seem to be using the http_proxy and https_proxy environment variables I’ve set.
How can I use snapcraft through a corporate http proxy?