canonical / action-publish

A Github action for publishing snaps
MIT License
35 stars 12 forks source link

Unable to publish: macaroon auth error #23

Closed ankurk91 closed 2 years ago

ankurk91 commented 2 years ago

Hi,

It was working fine around 20 days ago, but broken today, see screenshot Screenshot from 2022-02-02 12-30-29

Another related issue: When i tried to run this command to generate new secrets, got error too.

snapcraft --version                          
snapcraft, version 6.0.2

snapcraft export-login --snaps=PACKAGE_NAME \
      --acls package_access,package_push,package_update,package_release \
      exported.txt
Enter your Ubuntu One e-mail address and password.
If you do not have an Ubuntu One account, you can create one at https://snapcraft.io/account
Email: my_valid_email_here
Password: 
Store Error: Failed to get macaroon

I did not change anything in secrets.

Any help?

jhenstridge commented 2 years ago

My usual thought would be that the macaroon you had stored as a secret had expired, in which case doing snapcraft export-login and updating the secret would be the right option. But I see you've tried that already.

It looks like this could be a problem on the server side. I suspect it is likely to be temporary, and will resolve itself if you try again in a few hours. I don't see any obvious notes announcements about upgrades or downtime though, which is a bit surprising.

ankurk91 commented 2 years ago

Okay, lets wait for server/api to get fixed.

ankurk91 commented 2 years ago

It has been resolved