a year ago
Hey team,
I’m trying to redeploy using the following command with the correct Railway token and service ID (this was working a few days ago):
RAILWAY_TOKEN=... railway redeploy --service=... -y
Now, every time I run this I get the error: "Unauthorized. Please login with railway login".
Even after running railway login, the issue persists.
Any idea how we can fix this?
Thanks,
Gus
8 Replies
a year ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 Clerk auth breaks after Railway redeploy: sessions not recognized, tRPC UNAUTHORIZED despite unchanged env
- 🧵 error on railway build service
- 🧵 Redeploy Error
- 🧵 Postgree Redeploy Error
If you find the answer from one of these, please let us know by solving the thread!
Railway
Hey there! We've found the following might help you get unblocked faster: - [🧵 Clerk auth breaks after Railway redeploy: sessions not recognized, tRPC UNAUTHORIZED despite unchanged env](https://station.railway.com/questions/clerk-auth-breaks-after-railway-redeploy-e30a726b) - [🧵 error on railway build service](https://station.railway.com/questions/error-on-railway-build-service-e29831d7) - [🧵 Redeploy Error](https://station.railway.com/questions/redeploy-error-7e7351ec) - [🧵 Postgree Redeploy Error ](https://station.railway.com/questions/postgree-redeploy-error-a0a834d2) If you find the answer from one of these, please let us know by solving the thread!
a year ago
none of this are related...
a year 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 brody • about 1 year ago
a year ago
Hey there!
Whats your version of railway/cli ? I saw a recent case of someone with an outdated version and it worked after updating. So might be worth trying.
a year ago
It was 4.5.3, then I updated to 4.10.0 and it's working again. Probably something changed and it's not working on 4.5.3.
Thanks!
a year ago
We have issues with this as well since 03. October, we have this running in bitbucket pipelines and it just stopped working. The cli version we use was pinned to 3. We tried upgrading to 4 but does not change anything. No changes were done - not in the bitbucket pipeline and not on railway.
Happy for any pointers anyone can give! 🙂
onpreo
We have issues with this as well since 03\. October, we have this running in bitbucket pipelines and it just stopped working. The cli version we use was pinned to 3\. We tried upgrading to 4 but does not change anything. No changes were done - not in the bitbucket pipeline and not on railway. Happy for any pointers anyone can give! 🙂
a year ago
What specific tag for version 4?
crisog
What specific tag for version 4?
a year ago
nevermind, worked now with 4.10.0 as well - sry for the misunderstanding and thanks for the quick reply!
a year ago
I'm running 4.10.0 and I get the same error:
```
kevingrey@MacBookPro invkid % railway --version
railway 4.10.0
kevingrey@MacBookPro invkid % railway login
> Open the browser? Yes
Unauthorized. Please login with railway login
```

