private github packages all of a sudden not working with known working token.
transmental
PROOP

14 days ago

I have known working github packages token getting 403, was working yesterday, tried with fresh token.

Confirmed working with curl -H "Authorization: Bearer ghp_xxxxx" \

"https://npm.pkg.github.com/@redacted" locally, but when installing I get this error:

 ERR_PNPM_FETCH_403  GET https://npm.pkg.github.com/download/@redacted: Forbidden - 403

An authorization header was used: Bearer ghp_[hidden]

These authorization settings were found:

@jsr:registry=https://npm.jsr.io/

@redacted:registry=https://npm.pkg.github.com

//npm.pkg.github.com/:_authToken=ghp_[hidden]

$10 Bounty

7 Replies

Railway
BOT

14 days ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open Railway 14 days ago


transmental
PROOP

14 days ago

this is a github package dependency issue not a repo connection issue.


transmental
PROOP

14 days ago

I would not be surprised if this is github blocking railway container ip's


transmental
PROOP

14 days ago

I replaced the actual packages with "redacted" because they marked my thread as published.

The .npmrc is correct and everything has been working until today.


transmental
PROOP

14 days ago

I need the team to verify whether or not github is blocking something upstream, hence why I made this thread private in the first place.


transmental
PROOP

14 days ago

how is it bad info?


transmental
PROOP

14 days ago

trying to farm bounties, also does not help anyone. good luck.


Could you run whatever command with --loglevel debug and/or --reporter ndjson? This should reveal more information that might help.

Double check whether or not your GitHub token has IP whitelisting enabled on it.

It's also worth recreating the token for Railway specifically.


Loading...