Unable to login to CLI
Anonymous
PROOP

25 days ago

It says success, I'm logged in... but terminal says unauthorized?

Attachments

Solved

32 Replies

Railway
BOT

25 days ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


Anonymous
PROOP

25 days ago

tried it from mac term, intellij term, warp term, why can't I login?


Anonymous
PROOP

25 days ago

is anyone there? big blocker for me, why can't I log in??


Anonymous
PROOP

25 days ago

hello?


medim
MODERATOR

25 days ago

What is your CLI version? You can check that by typing railway --version

You can also try deleting ~/.railway and doing the flow again.


Anonymous
PROOP

25 days ago

21.2.1


Anonymous
PROOP

25 days ago

deleted it, tried to log in again, same issue, but it did recreate the ~/.railway with a token so something is messed


michaelmaust
FREE

25 days ago


michaelmaust
FREE

25 days ago

Okay, they fixed the issue for me. You should try it for yourself again.


medim
MODERATOR

25 days ago

Team just pushed a fix for this, can you guys try again?


Anonymous
PROOP

25 days ago

didn't work:(


noahd
EMPLOYEE

24 days ago

Are you on a mac or windows based machine?


Status changed to Awaiting User Response Railway 24 days ago


Anonymous
PROOP

24 days ago

mac


Status changed to Awaiting Railway Response Railway 24 days ago


noahd
EMPLOYEE

24 days ago

Run rm -rf ~/.railway/config.json then railway login and you should be good to go!


Status changed to Awaiting User Response Railway 24 days ago


Anonymous
PROOP

24 days ago

Didn't work:(


Status changed to Awaiting Railway Response Railway 24 days ago


Anonymous
PROOP

23 days ago

is this gonna be fixed any time soon? It's been days now:( so many things I'd like to be able to do with this, but I can't even use claude mcp or anything scripting related cause I can't get the damn cli to login... what gives?


I would love to fix it but your last message of: 21.2.1 doesn't seem to be valid version, you should be on 4.x


Status changed to Awaiting User Response Railway 23 days ago


Anonymous
PROOP

23 days ago

hmm, don't know where I got that but this is it: railway 4.11.0


Status changed to Awaiting Railway Response Railway 23 days ago


Railway
BOT

23 days ago

Hello!

We're acknowledging your issue and attaching a ticket to this thread.

We don't have an ETA for it, but, our engineering team will take a look and you will be updated as we update the ticket.

Please reply to this thread if you have any questions!


Okay, raised to the engineer.


Status changed to Awaiting User Response Railway 23 days ago


What does railway login --browserless do?


Railway
BOT

22 days ago

🛠️ The ticket Authentication issue with SSH has been marked as in progress.


angelo-railway

What does railway login --browserless do?

Anonymous
PROOP

22 days ago

same thing, unauthorized


Status changed to Awaiting Railway Response Railway 22 days ago


Anonymous
PROOP

21 days ago

any progress? I really need this!


Railway
BOT

21 days ago

✅ The ticket Connection issue with SSH authentication has been marked as completed.


Anonymous
PROOP

18 days ago

Why is this ticket completed? I still cannot login!?


Anonymous
PROOP

18 days ago

This is going on seven days now:(


Anonymous
PROOP

16 days ago

hello?


Anonymous
PROOP

16 days ago

this is getting a bit rediculous now.....


noahd
EMPLOYEE

16 days ago

Can you run ls ~/.railway and tell me what shows up?


Anonymous
PROOP

16 days ago

config.json version.json


echohack
EMPLOYEE

16 days ago

I was able to diagnose this with Webmaster FRNT, we discovered the following:

```
railway login
> Open the browser?
Yes Unauthorized.
Please login with railway login
Note: Using RAILWAY_TOKEN environment variable
cat ~/.railway/config.json { "projects": {}, "user": { "token": "myToken" }, "linkedFunctions": null }%
```

The issue here is that the user had the RAILWAY_TOKEN set, and that the error message was not specific enough to prompt the user to unset RAILWAY_TOKEN

Solved!


Status changed to Solved echohack 16 days ago


Loading...