Cant login to railway cli

Getting this error in the browser for "railway login" Error logging in to CLI. Please try again with --browserless When i try with browserless flag, I get a success message in the browser, but then in the console window i get "Error: No name"
34 Replies
Percy
Percy2y ago
Project ID: 5f8286b9-c07d-420e-963d-0eeddef7ad22
Arctic
ArcticOP2y ago
5f8286b9-c07d-420e-963d-0eeddef7ad22
angelo
angelo2y ago
OS and version?
Arctic
ArcticOP2y ago
windows 11 home 64bit or what version do you mean?
angelo
angelo2y ago
Version of the CLI, ‘railway -V’
Arctic
ArcticOP2y ago
railwayapp 3.0.13
Brody
Brody2y ago
can you try updating? current version is 3.0.22
Arctic
ArcticOP2y ago
okay, how do i update
Brody
Brody2y ago
how did you install railway
Arctic
ArcticOP2y ago
npm
Brody
Brody2y ago
then youd update railway the same as you would update any global package
Arctic
ArcticOP2y ago
okay disabling brave browser shield for railway has fixed it, i was able to login
Brody
Brody2y ago
okay but still update it
Arctic
ArcticOP2y ago
ive done that aswell
Brody
Brody2y ago
youre on 3.0.22?
Arctic
ArcticOP2y ago
yes
Brody
Brody2y ago
awsome, all good then?
Arctic
ArcticOP2y ago
ok when i logged in it said "logged in as xxxxxx" but now did whoami and it returned "error: no name" is that normal?
Brody
Brody2y ago
no you must have some kind of blocking or network issue
Arctic
ArcticOP2y ago
hmm so i suppose the source of the problem is not in the brower since that was successful now what would be an example of that?
Brody
Brody2y ago
delete your config.json file in $HOME./railway and then run railway login
Arctic
ArcticOP2y ago
same situation says it logged me in then error:no name
Brody
Brody2y ago
i just dont know then, i can say that this error is isolated to you though
Arctic
ArcticOP2y ago
its listing my projects even though it returned no name for whoami i guess its working?
Brody
Brody2y ago
i guess
Arctic
ArcticOP2y ago
xD ill try if i can use the functions i need maybe whoami isnt working for some reason another question, can i host websocket servers on railway?
Brody
Brody2y ago
yes of course
Arctic
ArcticOP2y ago
like socket.io server ok nice
Brody
Brody2y ago
make sure you use wss on the client side
Arctic
ArcticOP2y ago
okay
Brody
Brody2y ago
here's a proof of concept websockets server in case you'd need one <wss://utilities.up.railway.app/ws>
Arctic
ArcticOP2y ago
sorry if thats a too low level question, but how would i use this link? im pretty new to websockets
Brody
Brody2y ago
you'd use it in a client like in JavaScript in the browser just to test if stuff works, that websocket server will send the time every second and also will echo an incoming request
Want results from more Discord servers?
Add your server