elopio@calchas:~/workspace/canonical/snapcraft$ UBUNTU_STORE_API_ROOT_URL=https://myapps.developer.staging.ubuntu.com/dev/api/ UBUNTU_STORE_UPLOAD_ROOT_URL=https://upload.apps.staging.ubuntu.com/ UBUNTU_SSO_API_ROOT_URL=https://login.staging.ubuntu.com/api/v2/ ./bin/snapcraft login
Enter your Ubuntu One SSO credentials.
Email: test
Password:
One-time password (just press enter if you don't use two-factor authentication):
Authenticating against Ubuntu One SSO.
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f990723bf98>: Failed to establish a new connection: [Errno 111] Connection refused',)': /api/v2/tokens/oauth
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f99072500b8>: Failed to establish a new connection: [Errno 111] Connection refused',)': /api/v2/tokens/oauth
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9907250198>: Failed to establish a new connection: [Errno 111] Connection refused',)': /api/v2/tokens/oauth
HTTPSConnectionPool(host='login.staging.ubuntu.com', port=443): Max
retries exceeded with url: /api/v2/tokens/oauth (Caused by NewConnecti
onError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection
object at 0x7f9907250278>: Failed to establish a new connection:
[Errno 111] Connection refused',))