Deployments taking a very long time

5 months ago

The Docker builds successfully.

In the status it says it's running the pre-deployment command. We run a db migration in the pre-deploy script, which has completed successfully. For minutes on end, the deployment stays in pending state however.

Any way we can fix this? Looks like a platform bug.

14 Replies

5 months ago

Does this happen consistently when you redeploy this service?


5 months ago

Not that I'm aware of, no.


5 months ago

This issue continues to persist. Do you have any suggestions on how we can resolve this? The build completed fine.

1427668409713426400
1427668410417938400


5 months ago

Deployments taking a very long time


5 months ago

Please?


5 months ago

Hey there!

Are you using the internal database URL for this pre-deploy script? If so, have you enabled IPv4 feature flag?

You can check Service Settings -> Networking


5 months ago

There is a known issue with IPv4 private networking where some packets get dropped, which causes the connection to hang. It’s being worked on.


5 months ago

They don't have the IPv4 flag enabled, but good guess.

Budi, can you please link to the specific deployment that was hanging?


janezkk
PRO

5 months ago

Hi, I’m seeing the same issue — pushing the image takes about 5-7 mins for a 184 MB image. (Dockerfile + Next.js)

1428051753437237200


5 months ago

I'm not certain if this was it, but here's an example of a deployment where there's about 8 minutes between the docker build being successful and the first deploy logs appearing. Deployment ID 8faba7f3-fa4a-4c68-b043-60e714795f5d


5 months ago

You are on the beta builder, please open your own thread for that as it would be a seprate issue.


5 months ago

Slow deployments should be fixed now.


janezkk
PRO

5 months ago

No, I’m not. I went back to my region builder. Sorry for the reply here — I thought this thread worked like a forum where others could share the same issue.


5 months ago

Your issue is not the same though.


Loading...