atom / apm

Atom Package Manager
https://atom.io/packages
MIT License
1.27k stars 294 forks source link

Cannot publish package - authentication problem #949

Open asiloisad opened 2 years ago

asiloisad commented 2 years ago

hi,

I am the author of the package pdf-viewer. About two weeks after the apm publish patch command I got the information Creating new version failed: Requires authentication. Please update your token if you haven't done so recently. To fix the problem I went to https://github.com/settings/applications and revoked all permissions for Atom, then logged back into https://atom.io/account again granting permissions, then with the apm login command I entered a new token into apm console. I repeated this action many times, unfortunately it did not solve my problem. Do you have any idea how I can solve this?

console output for apm publish patch::

Preparing and tagging a new version done
Pushing v0.1.17 tag done
Publishing pdf-viewer@v0.1.17 failed
Creating new version failed: Requires authentication. Please update your token if you haven't done so recently.

the result of apm publish patch is the new package version is updated in github, it can be install by apm install bacadra/atom-pdf-viewer, but is isn't available in atom package store.

asiloisad commented 2 years ago

has any one similar problem now?

marat-gainullin commented 2 years ago

Hi. I have the similar problem. The command apm publish patch gives me the following:

Preparing and tagging a new version done
Pushing v0.2.4 tag done
Publishing winnie-atom-plugin@v0.2.4 failed
Creating new version failed: Application error

I did that authentication/token stuff according to the docs, but with no luck. Such error is mensioned in early bug reports in 2015. It seems, that it is back now.

alpyre commented 2 years ago

Same here. I cannot publish the latest state of my package with the exact same error: Creating new version failed: Requires authentication. Please update your token if you haven't done so recently

I've tried generating a new token and re-entering my credentials to git but the problem persists.

asiloisad commented 2 years ago

the same as @alpyre. 3 weeks has passed, but the problem is unresolved.