https://linen.dev logo
Hello, I am receiviing 503 error while deploying.
# help
r
Copy code
py
cargo shuttle deploy
Error: 503 Service Unavailable
message: project not ready
g
I guess you get a similar status message when you do
cargo shuttle project status
?
r
Yup, I did that.... getting the same error
w8
project 'xyz' is errored message: project did not become healthy in time
g
Alright, you can try restarting it with
project rm
and
project new
and see if the issue persists
r
Oh! thx
🙏
g
Deployment works now? 😄
r
yes
g
Nice. Sometimes "have you tried restarting it?" is the best way 👌
r
should I close this help?
g
Doesn't matter, if you leave it someone else might find it helpful 😉
r
ok thx
b
just know this was a massive help, ran into the same issue. thank you guys
b
I have been seeing the same behavior. I managed to get my code to deploy eventually and it responded to at least one request, but now it is showing:
Copy code
$ cargo shuttle logs
Error: 503 Service Unavailable

$ cargo shuttle project status
project 'gravity' is starting
Original deployment looked successful:
Copy code
2023-03-17T20:49:10.113636412Z TRACE shuttle_service::loader: bootstrapping done
2023-03-17T20:49:10.115924083Z TRACE shuttle_service::loader: creating handle done
2023-03-17T20:49:10.118460701Z  INFO shuttle_deployer::deployment::run: got handle for deployment

Service Name:  gravity
Deployment ID: 70657108-3979-4b39-9e5a-cb096cf04dde
Status:        running
While running the commands to get clean logs etc, it looks like it is running again, so perhaps services are flapping?
d
Hello, I am also running into this as well. Recreating the project has not fix this issue. The command
cargo shuttle project new --idle-minutes 0
took ~3 minutes to error out.
Copy code
diff
! C:\Users\[name]\source\repos\kodbot>cargo shuttle status
- Error: 503 Service Unavailable     
- message: project not ready

! C:\Users\[name]\source\repos\kodbot>cargo shuttle logs
- Error: 503 Service Unavailable
- message: project not ready    

! C:\Users\[name]\source\repos\kodbot>cargo shuttle project rm
+ project 'kodbot' is destroyed

! C:\Users\[name]\source\repos\kodbot>cargo shuttle project new --idle-minutes 0
- project 'kodbot' is errored
-        message: Timeout error

! C:\Users\[name]\source\repos\kodbot>cargo shuttle logs
- Error: 503 Service Unavailable
- message: project not ready

! C:\Users\[name]\source\repos\kodbot>cargo shuttle status
- Error: 503 Service Unavailable
- message: project not ready
This has been on-going since ~16:00 03/16/23 multiple attempts have been tried over night with no successful deployment.
a
It looks like there are some issues which the engineering team is looking into
b
@agreeable-painting-48846 Should we expect a fix for this to be in the 0.12 release coming on Monday, and are we better off waiting for that to redeploy if we are still having issues?
a
The gist of it is that 0.12 should fix projects not shutting down properly (or randomly 503ing) so yes - you might need to
rm/new
at some point but the problem wrt rm not actually working fast enough should get fixed
b
great, thanks for the update!
a
No problem, happy to help 🙂