https://linen.dev logo
Can't deploy. 502 Bad Gateway
# help
b
I followed the example https://docs.shuttle.rs/examples/rocket
Copy code
cargo shuttle init --rocket
Copy code
cargo shuttle project new
Copy code
cargo shuttle deploy
change the name to
name = "new-test-name38237"
in Shuttle.toml. After followed these instructions this was the first attempt:
Copy code
2022-11-02T07:30:01.343915161Z  INFO    Compiling lazy_static v1.4.0
2022-11-02T07:30:01.462062325Z  INFO    Compiling either v1.8.0
2022-11-02T07:30:01.545992949Z  INFO    Compiling try-lock v0.2.3
Deployment has not entered the running state
afterward, all the consecutive attempts return:
Copy code
Error: 502 Bad Gateway
message: project returned invalid response
If I try with:
Copy code
RUST_LOG="cargo_shuttle=trace" cargo shuttle deploy
it returns
Copy code
Deployment crashed
Run the following for more details

cargo shuttle logs 20288a01-cac3-4548-905f-49119a25615c
the logs:
Copy code
cargo shuttle logs 20288a01-cac3-4548-905f-49119a25615c
Error: 502 Bad Gateway
message: project returned invalid response
If I try the example following the same process with gitpod:
Copy code
Error: 500 Internal Server Error
message: internal server error
Additional infos:
Copy code
āÆ cargo shuttle project status                           
project 'new-test-name38237' is ready
Copy code
āÆ cargo shuttle deployment list
Error: 502 Bad Gateway
message: project returned invalid response
k
Hey noname! šŸ‘‹ This seems to be caused by an internal issue, but it should be resolved soon. I'll let you know when deployment is available again.
It's back up now, but you may need to do a
cargo project rm
and
cargo project new
. Let me know if you have any problems. šŸ™‚
b
Now it works šŸ‘, thanks