https://linen.dev logo
shuttle deployment returns HTTP error 502 Bad Gate...
# help
a
Is the service down? I tried to deploy via GHA but it returns below (see image) - I've added shuttle-secrets but I don't think that should affect deployment (also when I try to access my live project, I get response status code 503 Service Unavailable)
b
seems to work for me
maybe create a new project?
a
doing a completely new deploy of a project seems to work but trying to do anything in my current project just returns 503 Service Unavailable... which doesn't really fix the problem
b
well, i also had some weird issues
i this using a database?
a
yeah
b
maybe an issue with this
why can't you just use a new project 😅
a
because the project itself relies on using a db and another project of mine calls the API to get data
b
why not creating a new one 🤔
db is shared anyway
iirc
a
to be honest I'd much rather not have to do that if possible, it's such a hassle
b
just create a
Shuttle.toml
with
name = project2
😅
but i can understand you
a
and I can't even call cargo shuttle delete on my old project lol
same
also 502 error?
a
returns 503 "project not ready"
b
and what does status show?
(did you already create shuttle.toml?)
a
I'm not actually at the computer at the moment I'm in bed
b
err ok
a
but iirc pretty much only cargo shuttle run works, anything else errors out into 503
I'll have a look once I'm up
b
mov you, &computer
lol
hmm weird
a
just tried just adding a shuttle.toml, using
project new
and deploying via github actions - we shall see in 10-15 mins or so
b
ok, see you
😭
@ admin: whyyyyy
a
ok so it looks like just making a new project and deploying it works, however that still leaves the problem of how to delete the old project since i don't really want to use unnecessary projects if i can't get them to work
b
well, i have the same project with 2 or 3 not-working projects 😄
s
I'm only now catching up on some help issues because of all the prep we had for the workshop last week 😅 . Were you able to delete the project in the end @agreeable-painting-48846 ?
a
No but it looks like it's mostly ok now, I basically just made a new project and redeployed and it seems fine
s
So
cargo shuttle --name <name_of_old_project> project rm
still errors 502? Or are you getting a new error now?
a
Sec I'll have a look
The project destroys successfully, so it's fine now. Looks like it was just the 502/503 error issue before which seems to have fixed itself
s
I know we had this error directly after the workshop but this seems to predate that 😄
2 Views