6 months ago
When I try to login to Railway from my IDE a new browser opens and it says I should use browerless login: "railway login --browserless". When I enter "railway login --browserless" into my IDE, I get an error message: Browserless Login
Failed to fetch: error sending request for url (https://backboard.railway.com/graphql/v2)
Caused by:
0: error sending request for url (https://backboard.railway.com/graphql/v2)
1: client error (Connect)
2: invalid peer certificate: UnknownIssuer.
Please help.
Thanks,
Michael
2 Replies
6 months 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!
6 months 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 • 6 months ago
6 months ago
This error indicates that the Railway CLI is having trouble verifying the SSL certificate when
1. Check Network:
disconnect to VPN
change wifie or any corporate network u using or just use another network entirely
2. use a diff terminal
3: Set environment variables manually
gGo to your account settings and generate a new token to https://railway.com/account/tokens
Set it as an environment variable past in ur bash terminal -> export RAILWAY_TOKEN=your_token_here
4. Certificate Troubleshooting
# Try with verbose logging to see more details
railway login --browserless --verbose
# On some systems, you might need to update certificates
# On Ubuntu/Debian:
sudo apt-get update && sudo apt-get install ca-certificates
# On macOS:
brew install ca-certificates