https://linen.dev logo
Cannot Deploy my project
# help
a
It seems something really wrong is going on with my projkect. I cannot deploy it, neither can run any
cargo shuttle
command for it. I had to change its project name in
Shuttle.toml
to deloy it successfully. With the old name
inspector
it keeps freezing during deployment and geting 502 after a few minutes (~10mins). Sometime
cargo shuttle deployment list
succeed and I found that there are many pending deployments into status
building
. Look below. Can you please cleanup these failing entries ..
Copy code
╭────────────────────────────────────────────────────┬────────────────────────┬───────────────────────────────────╮
│                         ID                         ┆         Status         ┆            Last updated           │
╞════════════════════════════════════════════════════╪════════════════════════╪═══════════════════════════════════╡
│ d62797d2-8a1d-43b1-83b7-d3798b381f3e               ┆         running        ┆        2022-10-21T08:53:03Z       │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ a372b2b6-f254-465a-9d97-668e8c89c83b               ┆        building        ┆        2022-10-19T11:14:50Z       │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ 084f10b1-25c4-47d6-8489-b996000d8b92               ┆        building        ┆        2022-10-19T11:31:21Z       │
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
│ e506adcd-eeb1-4749-b152-86faa81fea89               ┆        building        ┆        2022-10-20T13:25:01Z       │
╰────────────────────────────────────────────────────┴────────────────────────┴───────────────────────────────────╯
q
can you do a
cargo shuttle project status
and then depending on that output, do a
cargo shuttle project rm
and
cargo shuttle project new
a
any
cargo shuttle
command stuck and an
Copy code
502 Bad Gateway
message: project returned invalid response
is shown in about 10 mins
s
This usually means
cargo shuttle project status
will return errored. I'll check your project in a bit, just trying to get a bug fix over the line...
a
@stocky-kangaroo-53672 FYI error still persists:
Copy code
❯ cargo shuttle deployment list
Error: 502 Bad Gateway
message: project returned invalid response
s
I forgot about this. It seems your project's container stopped responding. Can you "restart" it with:
Copy code
cargo shuttle project rm
cargo shuttle project new