Github Token Not Working from Railway
gnomical
HOBBYOP

6 months ago

Since the outage started about five hours ago, I have not been able to get my project functioning again.

At this stage it appears that the environment variables are not being passed to the build pipeline. The settings have six variables configured and the deployment card reports zero as being available.

———

This is an extension of my initial thread since a railway employee seemed frustrated by my dissatisfaction with the service so far today.

Here is the thread if greater context is required:

https://station.railway.com/questions/project-stuck-after-upgrading-from-trial-ca30dc91

Solved$10 Bounty

9 Replies

brody
EMPLOYEE

6 months ago

Hello,

I have confirmed that your variables are being passed to the build, so the issue would lay elsewhere within your configuration.

I have gone ahead and bountied this thread so that the community can help you!

Please share the relevant logs so that other community members can have a good chance at helping.

Best,
Brody


Status changed to Awaiting User Response Railway 6 months ago


gnomical
HOBBYOP

6 months ago

Okay, perhaps I am just not familiar enough with the UI to understand it.

Can someone let me know why my Deployment Details reports "0 Variables"?
I have attached a screenshot of the view in question.

Attachments


gnomical

Okay, perhaps I am just not familiar enough with the UI to understand it. Can someone let me know why my Deployment Details reports "0 Variables"?I have attached a screenshot of the view in question.

gnomical
HOBBYOP

6 months ago

And here is a screenshot of my configured variables within the service.

Attachments


brody
EMPLOYEE

6 months ago

Purely just a UI bug.


gnomical
HOBBYOP

6 months ago

The error I am receiving is a 401 error when pulling a private package from GitHub. I have validated that the token I am passing in is valid and works in other test environments. Also, this service worked with this exact configuration before the outage.


brody
EMPLOYEE

6 months ago

Perhaps your token has expired, either way, I will let the community involve themselves as this is not a platform issue.

Though I have ticketed the UI bug.


gnomical
HOBBYOP

6 months ago

Again, the token has not expired and is functioning as expected from other environments.


brody
EMPLOYEE

6 months ago

Your variables are being passed to the build, I have verified that fact.


Status changed to Solved gnomical 6 months ago


gnomical
HOBBYOP

6 months ago

After further inspection, I was able to confirm — just like @Brody said — that the environment variables were being passed to the build.

What I still don’t know for sure is why the token stopped working from within Railway. It was valid, not expired, and worked fine locally. But after regenerating it, the service started working again.

My best guess? GitHub may have rate-limited or temporarily blocked access using that token from Railway, possibly because my deploys were retrying every 5 minutes during the outage.

¯\_(ツ)_/¯


Status changed to Awaiting Railway Response Railway 6 months ago


Status changed to Solved gnomical 6 months ago


Status changed to Solved chandrika 6 months ago


Status changed to Open uxuz 6 months ago


Status changed to Solved uxuz 6 months ago


Loading...