not able to install juju with snap install juju --classic command
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
Undecided
|
Unassigned | ||
Snapcraft |
Invalid
|
Undecided
|
Unassigned | ||
snapd |
Invalid
|
Undecided
|
Unassigned |
Bug Description
not able to install juju with snap install juju --classic ommand.
getting error as :
root@juju:~# snap install juju --classic
error: cannot install "juju": cannot get nonce from store: Post
https:/
for connection (Client.Timeout exceeded while awaiting headers)
and snap version:
root@juju:~# snap version
snap 2.29.4.2
snapd 2.29.4.2
series 16
ubuntu 16.04
kernel 4.13.0-37-generic
root@juju:~#
root@juju:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
root@juju:~#
root@juju:~# curl -v https:/
* Trying 91.189.92.20...
* Connected to api.snapcraft.io (91.189.92.20) port 443 (#0)
* found 148 certificates in /etc/ssl/
* found 597 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_
* server certificate verification OK
* server certificate status verification SKIPPED
* common name: api.snapcraft.io (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: C=GB,ST=
* start date: Thu, 08 Jun 2017 00:00:00 GMT
* expire date: Wed, 13 Jun 2018 12:00:00 GMT
* issuer: C=US,O=DigiCert Inc,CN=DigiCert SHA2 Secure Server CA
* compression: NULL
* ALPN, server did not agree to a protocol
> GET /api/v1/
> Host: api.snapcraft.io
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 404 NOT FOUND
< Server: gunicorn/19.7.1
< Date: Mon, 19 Mar 2018 13:07:25 GMT
< Content-Type: text/html
< Content-Length: 233
< X-VCS-Revision: 64861f3
< X-Request-Id: 11eb8cbf-
<
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>404 Not Found</title>
<h1>Not Found</h1>
<p>The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.</p>
* Connection #0 to host api.snapcraft.io left intact
* Could not resolve host: net
* Closing connection 1
curl: (6) Could not resolve host: net
that appears to be more a bug in 'snap' than specifically in juju. Can you
install anything else via snap? This looks like either a proxy/firewall
blocking snap craft or a temporary failure in the service.
On Mon, Mar 19, 2018 at 6:33 PM, naveen kumar <email address hidden>
wrote:
> Public bug reported: /api.snapcraft. io/api/ v1/snaps/ auth/nonces: net/http: /api.snapcraft. io/api/ v1/snaps/ auth/nonces: certs/ca- certificates. crt AES_128_ GCM_SHA256 London, L=London, O=Canonical Group Ltd,OU=IS,CN= snaps/auth/ nonces: HTTP/1.1 50b4-42e2- a965-4874cde7df 8c /bugs.launchpad .net/bugs/ 1756895
>
> not able to install juju with snap install juju --classic ommand.
>
> getting error as :
>
> root@juju:~# snap install juju --classic
> error: cannot install "juju": cannot get nonce from store: Post
> https:/
> request canceled while waiting
> for connection (Client.Timeout exceeded while awaiting headers)
>
> and snap version:
> root@juju:~# snap version
> snap 2.29.4.2
> snapd 2.29.4.2
> series 16
> ubuntu 16.04
> kernel 4.13.0-37-generic
> root@juju:~#
>
>
> root@juju:~# lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 16.04.4 LTS
> Release: 16.04
> Codename: xenial
> root@juju:~#
>
>
> root@juju:~# curl -v https:/
> net/http:
> * Trying 91.189.92.20...
> * Connected to api.snapcraft.io (91.189.92.20) port 443 (#0)
> * found 148 certificates in /etc/ssl/
> * found 597 certificates in /etc/ssl/certs
> * ALPN, offering http/1.1
> * SSL connection using TLS1.2 / ECDHE_RSA_
> * server certificate verification OK
> * server certificate status verification SKIPPED
> * common name: api.snapcraft.io (matched)
> * server certificate expiration date OK
> * server certificate activation date OK
> * certificate public key: RSA
> * certificate version: #3
> * subject: C=GB,ST=
> api.snapcraft.io
> * start date: Thu, 08 Jun 2017 00:00:00 GMT
> * expire date: Wed, 13 Jun 2018 12:00:00 GMT
> * issuer: C=US,O=DigiCert Inc,CN=DigiCert SHA2 Secure Server CA
> * compression: NULL
> * ALPN, server did not agree to a protocol
> > GET /api/v1/
> > Host: api.snapcraft.io
> > User-Agent: curl/7.47.0
> > Accept: */*
> >
> < HTTP/1.1 404 NOT FOUND
> < Server: gunicorn/19.7.1
> < Date: Mon, 19 Mar 2018 13:07:25 GMT
> < Content-Type: text/html
> < Content-Length: 233
> < X-VCS-Revision: 64861f3
> < X-Request-Id: 11eb8cbf-
> <
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
> <title>404 Not Found</title>
> <h1>Not Found</h1>
> <p>The requested URL was not found on the server. If you entered the URL
> manually please check your spelling and try again.</p>
> * Connection #0 to host api.snapcraft.io left intact
> * Could not resolve host: net
> * Closing connection 1
> curl: (6) Could not resolve host: net
>
> ** Affects: juju
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https:/
>
> Title:
> not able to install juju with snap install juju --classic command
>
> To manage notifications about th...