Unauthorized. Please login with
railway login

orangejonHOBBY

5 months ago

I followed the instructions to install the CLI using npm. I'm using a Github Codespace, so basically SSH to an Ubuntu VPS.

The install seemed to go smoothly but when I run "railway init" to deploy a (Rails) application for the first time, I get the error: "Unauthorized. Please login with railway login"

So I run "railway login --browserless", visit the URL on my local machine, accept that the codes match... but as soon as I do that, this login command gives the same error: "Unauthorized. Please login with railway login"

Solved

2 Replies

orangejonHOBBY

5 months ago

Somebody had this same issue 4 months ago: https://help.railway.com/questions/unauthorized-please-login-with-railway-9b16da41

Maybe it's come back? I installed the CLI today so my version is 3.20.2


orangejonHOBBY

5 months ago

Okay, it seems to be fixed by removing the ENV variable, weirdly.


Status changed to Solved brody 5 months ago