4 months ago
Railway CLI stopped working and is not allowing me to run railway up.
CLI version installed railwayapp 4.0.0
reelty-app railway whoami
Logged in as Antonio XXXXX (antonioxxxxx@gmail.com) š
ā reelty-app cd reelty-font-end
ā reelty-font-end git:(main) ru
Indexed
Compressed [====================] 100%
Failed Failed to upload code with status code 403 Forbidden
ā reelty-font-end git:(main) railway logout
Logged out successfully
ā reelty-font-end git:(main) railway login
Unable to parse config file, regenerating
Unable to parse config file, regenerating
> Open the browser? Yes
Logged in as Antonio XXXXX (antonioxxxxx@gmail.com)
ā reelty-font-end git:(main) ru
No linked project found. Run railway link to connect to a project
ā reelty-font-end git:(main) railway link
> Select a workspace Computin
> Select a project reelty
> Select an environment production
> Select a service reelty-front
Project reelty linked successfully! š
ā reelty-font-end git:(main) ru
Indexed Compressed [====================] 100% Failed Failed to upload code with status code 403 Forbidden
Any clue what might be?
2 Replies
4 months ago
can you run up with the verbose flag?
reelty-font-end git:(main) railway up --verbose
Indexed
Compressed [====================] 100% railway up
service: 48a58c82-de42-4515-8090-877f4d1f289f
environment: 405ddb50-90e5-49c4-b53f-64f0815f3ece
bytes: 2064353
url: https://backboard.railway.com/project/0b8fb3c2-259f-43e0-aa84-b9a57a4df739/environment/405ddb50-90e5-49c4-b53f-64f0815f3ece/up?serviceId=48a58c82-de42-4515-8090-877f4d1f289f
Failed Failed to upload code with status code 403 Forbidden
any update? i just tried to logout and login, link and up with the same result: 403 forbidden
cat ~/.railway/config.json
{
"projects": {
"/Users/antonio/DEV/reelty-app/reelty-font-end": {
"projectPath": "/Users/antonio/DEV/reelty-app/reelty-font-end",
"name": "reelty",
"project": "0b8fb3c2-259f-43e0-aa84-b9a57a4df739",
"environment": "405ddb50-90e5-49c4-b53f-64f0815f3ece",
"environmentName": "production",
"service": "48a58c82-de42-4515-8090-877f4d1f289f"
}
},
"user": {
"token": "rw_xxxxxxc"
},
"lastUpdateCheck": "2025-03-31T15:51:13.172771Z",
"newVersionAvailable": null
}
I am trying all in my power/knowledge to debug this without luck
4 months ago
have you tried to remove the config file and then re-log in
ā reelty-font-end git:(main) rm -rf ~/.railway
ā reelty-font-end git:(main) railway --version
railwayapp 4.0.0
ā reelty-font-end git:(main) railway logout
Logged out successfully
ā reelty-font-end git:(main) rm -rf ~/.railway
ā reelty-font-end git:(main) railway login
> Open the browser? Yes
Logged in as Antonio xxxxxx (antonioxxxxxx@gmail.com)
ā reelty-font-end git:(main) railway link
Failed to fetch: error decoding response body
Caused by:
0: error decoding response body
1: expected value at line 1 column 1
ā reelty-font-end git:(main) railway link
> Select a workspace Computin
> Select a project reelty
> Select an environment production
> Select a service reelty-front
Project reelty linked successfully! š
ā reelty-font-end git:(main) railway up
Indexed
Compressed [====================] 100%
Failed Failed to upload code with status code 403 Forbidden
ā reelty-font-end git:(main)
I also tried to remove everything and install:
reelty-font-end git:(main) rm -rf ~/.railway
ā reelty-font-end git:(main) npm uninstall -g @railway/cli
up to date in 152ms
ā reelty-font-end git:(main) npm install -g @railway/cli
added 17 packages in 5s
3 packages are looking for funding
run npm fund
for details
ā reelty-font-end git:(main) railway --version
railwayapp 4.0.0
3 months 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!
3 months ago
Hello,
I've ticketed this, but there is only one other report of this at the moment, so unfortunately we won't be able to prioritize looking into this at this time given we cannot reproduce this on our side.
If you have anymore information you think would be helpful or a way for us to reproduce this, that would be very much appreciated.
20 days ago
I am having the same issue and not sure if this ticket got closed. Here is what i get and i have logged out, in and all the rest mentioned in this thread to no avail. I need this deployed and am blocked currently
⯠railway up --verbose
Indexed
Compressed [====================] 100% railway up
service: db1f3d9f-174f-4f5d-9715-b14af6a3e625
environment: 2bb46580-9c52-45de-bfdb-f19dbbb936f3
bytes: 7191711
Failed Failed to upload code with status code 403 Forbidden