question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Deployment timeout after 10 minutes

See original GitHub issue

Hey,

First many thanks for maintaining this plugin.

Last couple of days we hit some weird errors with deployment. Looks like:

> gatsby-plugin-s3 deploy --yes

- Retrieving bucket info...

Too long with no output (exceeded 10m0s): context deadline exceeded

It times out after 10m. Not sure what times out though. Admittedly we have a lot of pages to upload on each build (35k right now and growing) and the build is running on circleci. Sometimes it finishes after 3 minutes, sometimes after 7 i guess this is circleci related.

I d really like to get a better understanding of this 10 minute timeout and see whether we can increase it.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
JoshuaWalshcommented, Apr 30, 2020

Ora has actually been causing issues for my testing suite work too. If I make the test suite pass-through console output from the deploy process then the spinner animation causes hundreds of lines to be logged.

It’s worth investigating what Gatsby uses. Another option would be to write a wrapper around Ora and replace it with console.log if we are running in a CI environment.

1reaction
jarizcommented, Apr 30, 2020

Yea, I think ora just stops logging to stdout if the terminal doesn’t support updates. Basically, it’s still doing stuff, but CircleCI thinks it’s not.

10 minutes is a long time for the upload to take, but I’ve seen this happen on pretty large (10k+ pages) sites, so it’s not that uncommon. You mention it sometimes does finish, so it’s clearly not stuck or anything.

On my own CI, the maximum execution time can be increased. Is this not possible for CircleCI?

I wonder what kind of library the gatsby CLI itself uses for the progressbars, because the build output in my CI is a lot cleaner there. (it logs after the ending of each phase)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolve deployment timeout errors in AWS CodeDeploy
My AWS CodeDeploy deployment is timing out and returns the following error: "The deployment timed out while waiting for a status callback.
Read more >
git - On building jenkins project timeout after 10 minute error ...
I am using jenkins to build my git remote project. The problem is log says 'timeout after 10 min' ...
Read more >
x/playground: deploy may take over 10 minute and timeout ...
This issue was related to the time it takes to build the Docker image using Cloud Build, which grew from 8~ minutes to...
Read more >
Build has Hit Timeout Limit - CircleCI Support
This means that if it has been 10 minutes since the last output, the build will be canceled and stopped. This can cause...
Read more >
Transaction timeout after 10 minutes - JBoss.org
In my case some times for several minutes. However after exactly 10 minutes the transaction is rollback and an exception is thrown to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found