Open adriafigueres opened 5 months ago
I was able to install m10c/native-push-notifier-bundle
package, but I'm getting the exact same issue (403) with another package. I tried creating new tokens, clearing composer cache, etc. Also my token usage has not reached any limit yet and of course that the package is public.
I tried on a brand new VPS, with and without the GitHub token and it works as expected. No issues at all.
This issue seems to be related to the machine/network being used, most likely a cache which is not handled by composer clear-cache
. The only useful trait I was able to detect is that the issue goes away if you:
composer config --list --global | grep home
auth.json
(remove the whole "github-oauth"
property)composer update
After doing these steps the "jamming" stops happening in my systems.
I was able to install
m10c/native-push-notifier-bundle
package, but I'm getting the exact same issue (403) with another package. I tried creating new tokens, clearing composer cache, etc. Also my token usage has not reached any limit yet and of course that the package is public.I tried on a brand new VPS, with and without the GitHub token and it works as expected. No issues at all.
This issue seems to be related to the machine/network being used, most likely a cache which is not handled by
composer clear-cache
. The only useful trait I was able to detect is that the issue goes away if you:
- Locate your composer path with
composer config --list --global | grep home
- Remove your GitHub auth at
auth.json
(remove the whole"github-oauth"
property)- Go back to your project and run
composer update
- Re-enable the GitHub auth configuration (see step 2)
After doing these steps the "jamming" stops happening in my systems.
I experianced this issue for the first time but removing the "github-oauth" following the first step to find out the path did the trick. everything working fine again. :)
Hi,
I have created a public repository called native-push-notifier-bundle 2 days ago and I’m trying to implement the package in a private repo running
composer update
and I am having the following error:I’ve tried:
Regenerating the API token and pasting it when prompted; Adding the new token via composer config --global --auth github-oauth.github.com;
Adding the new token by editing ~/.composer/auth.json manually;
But none worked. I've checked in packagist, and the repo actually exists: https://packagist.org/packages/m10c/native-push-notifier-bundle
Any suggestions? Thanks