a month 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
7 Replies
a month 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 • about 1 month ago
a month ago
this is a github package dependency issue not a repo connection issue.
a month ago
I would not be surprised if this is github blocking railway container ip's
a month 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.
a month 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.
a month ago
how is it bad info?
a month ago
trying to farm bounties, also does not help anyone. good luck.
a month ago
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.