juju / charmstore-client

Client for charmstore.
Other
9 stars 22 forks source link

Charm login Fails with 404 Error! #223

Open psreekrishnan opened 2 years ago

psreekrishnan commented 2 years ago

Tried with “charm logout & charm login”, but still the same error. This behavior seems to be from the last 2days. Is this due to any charm store outage?

And below are the Juju versions tried,

$ charm version charmstore-client 2.5.1 charm-tools 2.8.2

$ charm login ERROR cannot retrieve the authentication macaroon: unexpected response status from server: 404 NOT FOUND

$ charm login --debug ERROR cannot retrieve the authentication macaroon: unexpected response status from server: 404 NOT FOUND 04:27:41 DEBUG cmd supercommand.go:537 error stack: /build/charm/parts/charmstore-client/go/pkg/mod/github.com/juju/charmrepo/v6@v6.0.0-20200817155725-120bd7a8b1ed/csclient/csclient.go:1162: unexpected response status from server: 404 NOT FOUND /build/charm/parts/charmstore-client/go/pkg/mod/github.com/juju/charmrepo/v6@v6.0.0-20200817155725-120bd7a8b1ed/csclient/csclient.go:1048: /build/charm/parts/charmstore-client/go/pkg/mod/github.com/juju/charmrepo/v6@v6.0.0-20200817155725-120bd7a8b1ed/csclient/csclient.go:1222: cannot retrieve the authentication macaroon

nmalacarne commented 2 years ago

Any updates on this? I am also having the same issue.

$ charm version
charmstore-client 2.5.1
charm-tools 2.8.2
$ charm login --debug
ERROR cannot retrieve the authentication macaroon: unexpected response status from server: 404 NOT FOUND
16:28:52 DEBUG cmd supercommand.go:537 error stack: 
/build/charm/parts/charmstore-client/go/pkg/mod/github.com/juju/charmrepo/v6@v6.0.0-20200817155725-120bd7a8b1ed/csclient/csclient.go:1162: unexpected response status from server: 404 NOT FOUND
/build/charm/parts/charmstore-client/go/pkg/mod/github.com/juju/charmrepo/v6@v6.0.0-20200817155725-120bd7a8b1ed/csclient/csclient.go:1048: 
/build/charm/parts/charmstore-client/go/pkg/mod/github.com/juju/charmrepo/v6@v6.0.0-20200817155725-120bd7a8b1ed/csclient/csclient.go:1222: cannot retrieve the authentication macaroon
$ curl https://api.jujucharms.com/charmstore
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache/2.4.29 (Ubuntu) Server at api.jujucharms.com Port 443</address>
</body></html>