Suddenly I started getting build errors in Gatsby + Contentful

I am using Gatsby and Contentful to build my website.

When an article written in Contentful is saved, Gatsby is built by Webhook.

I updated the article on January 13, 2023 and got a build error.

The build error had not occurred for over 6 months.

The error log is below.

It builds fine with other hosting services such as Vercel and Gatsby Cloud.

Why did the build error occur?

2023-01-13T04:51:27.401324Z	╔════════════════════════════════════════════════════════════════════════╗
2023-01-13T04:51:27.401596Z	║                                                                        ║
2023-01-13T04:51:27.401739Z	║   Gatsby collects anonymous usage analytics                            ║
2023-01-13T04:51:27.401872Z	║   to help improve Gatsby for all users.                                ║
2023-01-13T04:51:27.401992Z	║                                                                        ║
2023-01-13T04:51:27.402104Z	║   If you'd like to opt-out, you can use `gatsby telemetry --disable`   ║
2023-01-13T04:51:27.402215Z	║   To learn more, checkout https://gatsby.dev/telemetry                 ║
2023-01-13T04:51:27.402337Z	║                                                                        ║
2023-01-13T04:51:27.402452Z	╚════════════════════════════════════════════════════════════════════════╝
2023-01-13T04:51:37.203136Z	success compile gatsby files - 6.405s
2023-01-13T04:51:37.203493Z	
2023-01-13T04:51:37.322987Z	e[2Ke[1Ae[2Ke[Gsuccess load gatsby config - 0.110s
2023-01-13T04:51:37.323421Z	
2023-01-13T04:51:38.369464Z	e[2Ke[1Ae[2Ke[Gwarn Plugin gatsby-plugin-clarity is not compatible with your gatsby version
2023-01-13T04:51:38.369794Z	4.24.8 - It requires [email protected]^3.0.0-next.0
2023-01-13T04:51:38.369999Z	
2023-01-13T04:51:38.706706Z	e[2Ke[1Ae[2Ke[Gwarn Plugin gatsby-plugin-clarity is not compatible with your gatsby version
2023-01-13T04:51:38.707031Z	4.24.8 - It requires [email protected]^3.0.0-next.0
2023-01-13T04:51:38.70721Z	
2023-01-13T04:51:39.242034Z	e[2Ke[1Ae[2Ke[Gsuccess load plugins - 1.916s
2023-01-13T04:51:39.242328Z	
2023-01-13T04:51:39.266058Z	e[2Ke[1Ae[2Ke[Gwarn gatsby-plugin-react-helmet: Gatsby now has built-in support for modifying
2023-01-13T04:51:39.2667Z	the document head. Learn more at https://gatsby.dev/gatsby-head
2023-01-13T04:51:39.266901Z	
2023-01-13T04:51:39.271147Z	e[2Ke[1Ae[2Ke[Ginfo Loaded gatsby-plugin-firebase-v9.0
2023-01-13T04:51:39.271936Z	
2023-01-13T04:51:39.276928Z	e[2Ke[1Ae[2Ke[Gsuccess onPreInit - 0.031s
2023-01-13T04:51:39.279079Z	
2023-01-13T04:51:39.418838Z	e[2Ke[1Ae[2Ke[Gsuccess initialize cache - 0.139s
2023-01-13T04:51:39.419115Z	
2023-01-13T04:51:39.723482Z	e[2Ke[1Ae[2Ke[Gsuccess copy gatsby files - 0.303s
2023-01-13T04:51:39.723757Z	
2023-01-13T04:51:40.061031Z	e[2Ke[1Ae[2Ke[Gsuccess Compiling Gatsby Functions - 0.320s
2023-01-13T04:51:40.061334Z	
2023-01-13T04:51:40.069625Z	e[2Ke[1Ae[2Ke[Gsuccess onPreBootstrap - 0.344s
2023-01-13T04:51:40.069879Z	
2023-01-13T04:51:40.278029Z	e[2Ke[1Ae[2Ke[Gsuccess createSchemaCustomization - 0.120s
2023-01-13T04:51:40.278328Z	
2023-01-13T04:51:41.659944Z	e[2Ke[1Ae[2Ke[Gsuccess Contentful: Sync all items - 0.614s - 915/915 1489.33/s
2023-01-13T04:51:41.661169Z	
2023-01-13T04:51:41.66208Z	e[2Ke[1Ae[2Ke[Gsuccess Contentful: Fetch data - 0.912s
2023-01-13T04:51:41.6625Z	
2023-01-13T04:51:41.663727Z	e[2Ke[1Ae[2Ke[Ginfo Contentful: 2 new entries
2023-01-13T04:51:41.664113Z	
2023-01-13T04:51:41.665023Z	e[2Ke[1Ae[2Ke[Ginfo Contentful: 117 updated entries
2023-01-13T04:51:41.66522Z	
2023-01-13T04:51:41.665359Z	e[2Ke[1Ae[2Ke[Ginfo Contentful: 0 deleted entries
2023-01-13T04:51:41.665476Z	
2023-01-13T04:51:41.665589Z	e[2Ke[1Ae[2Ke[Ginfo Contentful: 0 cached entries
2023-01-13T04:51:41.665869Z	
2023-01-13T04:51:41.666162Z	e[2Ke[1Ae[2Ke[Ginfo Contentful: 580 new assets
2023-01-13T04:51:41.666301Z	
2023-01-13T04:51:41.666416Z	e[2Ke[1Ae[2Ke[Ginfo Contentful: 216 updated assets
2023-01-13T04:51:41.666526Z	
2023-01-13T04:51:41.666751Z	e[2Ke[1Ae[2Ke[Ginfo Contentful: 0 cached assets
2023-01-13T04:51:41.666923Z	
2023-01-13T04:51:41.667522Z	e[2Ke[1Ae[2Ke[Ginfo Contentful: 0 deleted assets
2023-01-13T04:51:41.667903Z	
2023-01-13T04:51:41.671226Z	e[2Ke[1Ae[2Ke[Ginfo Creating 119 Contentful Post nodes
2023-01-13T04:51:41.671894Z	
2023-01-13T04:51:42.000016Z	e[2Ke[1Ae[2Ke[Ginfo Creating 796 Contentful asset nodes
2023-01-13T04:51:42.000424Z	
2023-01-13T04:51:43.056004Z	e[2Ke[1Ae[2Ke[Gsuccess Contentful: Create nodes - 1.383s
2023-01-13T04:51:43.05642Z	
2023-01-13T04:51:43.058818Z	e[2Ke[1Ae[2Ke[Gsuccess Contentful: Process data - 1.399s
2023-01-13T04:51:43.059186Z	
2023-01-13T04:51:43.096684Z	e[2Ke[1Ae[2Ke[Gsuccess Checking for changed pages - 0.008s
2023-01-13T04:51:43.09698Z	
2023-01-13T04:51:43.098886Z	e[2Ke[1Ae[2Ke[Gsuccess source and transform nodes - 2.819s
2023-01-13T04:51:43.099114Z	
2023-01-13T04:51:43.357895Z	e[2Ke[1Ae[2Ke[Ginfo Writing GraphQL type definitions to /opt/buildhome/repo/.cache/schema.gql
2023-01-13T04:51:43.3582Z	
2023-01-13T04:51:43.579119Z	e[2Ke[1Ae[2Ke[Gsuccess building schema - 0.477s
2023-01-13T04:51:43.579413Z	
2023-01-13T04:51:43.703611Z	e[2Ke[1Ae[2Ke[Gsuccess createPages - 0.121s
2023-01-13T04:51:43.703903Z	
2023-01-13T04:51:43.928229Z	e[2Ke[1Ae[2Ke[Gsuccess createPagesStatefully - 0.214s
2023-01-13T04:51:43.928504Z	
2023-01-13T04:51:43.929527Z	e[2Ke[1Ae[2Ke[Ginfo Total nodes: 1828, SitePage nodes: 152 (use --verbose for breakdown)
2023-01-13T04:51:43.929734Z	
2023-01-13T04:51:43.931649Z	e[2Ke[1Ae[2Ke[Gsuccess Checking for changed pages - 0.000s
2023-01-13T04:51:43.931883Z	
2023-01-13T04:51:43.935589Z	e[2Ke[1Ae[2Ke[Gsuccess onPreExtractQueries - 0.000s
2023-01-13T04:51:43.935813Z	
2023-01-13T04:51:52.772515Z	e[2Ke[1Ae[2Ke[Gsuccess extract queries from components - 8.834s
2023-01-13T04:51:52.772808Z	
2023-01-13T04:51:52.77554Z	e[2Ke[1Ae[2Ke[Gwarn The GraphQL query in the non-page component
2023-01-13T04:51:52.776414Z	"/opt/buildhome/repo/src/pages/online.js" will not be run.
2023-01-13T04:51:52.776626Z	
2023-01-13T04:51:52.780795Z	e[2Ke[1Ae[2Ke[GExported queries are only executed for page components. It's possible you're
2023-01-13T04:51:52.781036Z	trying to create pages in your gatsby-node.js and that's failing for some
2023-01-13T04:51:52.7812Z	reason.
2023-01-13T04:51:52.781353Z	
2023-01-13T04:51:52.781495Z	If the failing component is a regular component and not intended to be a page
2023-01-13T04:51:52.781725Z	component, you generally want to use "useStaticQuery"
2023-01-13T04:51:52.781884Z	(https://www.gatsbyjs.com/docs/how-to/querying-data/use-static-query/) instead
2023-01-13T04:51:52.782024Z	of exporting a page query.
2023-01-13T04:51:52.782146Z	
2023-01-13T04:51:52.782287Z	If you're more experienced with GraphQL, you can also export GraphQL fragments
2023-01-13T04:51:52.782424Z	from components and compose the fragments in the Page component query and pass
2023-01-13T04:51:52.782548Z	data down into the child component (https://www.gatsbyjs.com/docs/reference/grap
2023-01-13T04:51:52.782682Z	hql-data-layer/using-graphql-fragments/)
2023-01-13T04:51:52.782872Z	
2023-01-13T04:51:52.783897Z	e[2Ke[1Ae[2Ke[Gwarn There are routes that match both page and redirect. Pages take precedence
2023-01-13T04:51:52.784097Z	over redirects so the redirect will not work:
2023-01-13T04:51:52.78423Z	 - page: "/software/software-ums/" and redirect: "/software/software-ums" ->
2023-01-13T04:51:52.784376Z	"/promotion/ums"
2023-01-13T04:51:52.784506Z	
2023-01-13T04:51:52.787599Z	e[2Ke[1Ae[2Ke[Gsuccess write out redirect data - 0.005s
2023-01-13T04:51:52.788343Z	
2023-01-13T04:51:53.693559Z	e[2Ke[1Ae[2Ke[Gsuccess Build manifest and related icons - 0.901s
2023-01-13T04:51:53.693814Z	
2023-01-13T04:51:53.693974Z	e[2Ke[1Ae[2Ke[Gsuccess onPostBootstrap - 0.905s
2023-01-13T04:51:53.694096Z	
2023-01-13T04:51:53.69549Z	e[2Ke[1Ae[2Ke[Ginfo bootstrap finished - 26.781s
2023-01-13T04:51:53.695691Z	
2023-01-13T04:51:53.705299Z	e[2Ke[1Ae[2Ke[Gsuccess write out requires - 0.006s
2023-01-13T04:51:53.70584Z	
2023-01-13T04:52:25.975983Z	e[2Ke[1Ae[2Ke[Gwarn DefinePlugin
2023-01-13T04:52:25.976287Z	Conflicting values for 'process.env'
2023-01-13T04:52:25.976456Z	
2023-01-13T04:52:25.981233Z	e[2Ke[1Ae[2Ke[Gsuccess Building production JavaScript and CSS bundles - 32.274s
2023-01-13T04:52:25.981507Z	
2023-01-13T04:52:47.830303Z	e[2Ke[1Ae[2Ke[Gsuccess Building HTML renderer - 21.846s
2023-01-13T04:52:47.830864Z	
2023-01-13T04:52:47.892085Z	e[2Ke[1Ae[2Ke[Gsuccess Execute page configs - 0.060s
2023-01-13T04:52:47.892484Z	
2023-01-13T04:52:47.894209Z	e[2Ke[1Ae[2Ke[Gsuccess Caching Webpack compilations - 0.001s
2023-01-13T04:52:47.894531Z	
2023-01-13T04:53:04.349371Z	e[2Ke[1Ae[2Ke[Gwarn This query took more than 15s to run — which is unusually long and might
2023-01-13T04:53:04.34979Z	indicate you're querying too much or have some unoptimized code:
2023-01-13T04:53:04.350004Z	File path: /opt/buildhome/repo/src/templates/posts.js
2023-01-13T04:53:04.35019Z	URL path: /case/netcafe-camera/
2023-01-13T04:53:04.350352Z	Context: {
2023-01-13T04:53:04.350483Z	    "slug": "netcafe-camera"
2023-01-13T04:53:04.350608Z	}
2023-01-13T04:53:04.350754Z	
2023-01-13T04:53:07.048695Z	e[2Ke[1Ae[2Ke[Gwarn This query took more than 15s to run — which is unusually long and might
2023-01-13T04:53:07.049054Z	indicate you're querying too much or have some unoptimized code:
2023-01-13T04:53:07.049226Z	File path: /opt/buildhome/repo/src/templates/posts.js
2023-01-13T04:53:07.049402Z	URL path: /blog/blog-one-cable-unit/
2023-01-13T04:53:07.049529Z	Context: {
2023-01-13T04:53:07.049648Z	    "slug": "blog-one-cable-unit"
2023-01-13T04:53:07.049767Z	}
2023-01-13T04:53:07.049898Z	
2023-01-13T04:54:59.114443Z	e[2Ke[1Ae[2Ke[G
2023-01-13T04:54:59.11482Z	 ERROR
2023-01-13T04:54:59.115001Z	
2023-01-13T04:54:59.115146Z	Image downloading failed for
2023-01-13T04:54:59.115287Z	https://images.ctfassets.net/jtyamzi59vuk/35x1NpQFfEu0bSkW4z4buQ/6d9bf95989d5a16
2023-01-13T04:54:59.115424Z	42946da3b5c0bf8d8/blog-description-one-cable-unit-004.png, please check if the
2023-01-13T04:54:59.115558Z	image still exists on contentful connect ETIMEDOUT 13.224.2.11:443
2023-01-13T04:54:59.11572Z	
2023-01-13T04:54:59.115877Z	
2023-01-13T04:54:59.124423Z	e[2Ke[1Ae[2Ke[G
2023-01-13T04:54:59.124693Z	e[0m
2023-01-13T04:54:59.124901Z	e[0m  e[0me[97me[41mErrore[0me[37me[41m:e[0me[37me[41m e[0me[97me[41mconnect ETIMEDOUT 13.224.2.11:443e[0m
2023-01-13T04:54:59.125107Z	e[0m  e[0m
2023-01-13T04:54:59.125316Z	e[0m  e[0me[90m-e[0m e[0me[93mnode:nete[0me[90m:e[0me[93m1187e[0me[37m e[0me[37mTCPConnectWrap.afterConnect [as oncomplete]e[0m
2023-01-13T04:54:59.125464Z	e[0m  e[0m  e[0me[90mnode:net:1187:16e[0m
2023-01-13T04:54:59.125579Z	e[0m  e[0m
2023-01-13T04:54:59.125688Z	e[0m
2023-01-13T04:54:59.125795Z	
2023-01-13T04:54:59.201363Z	e[2Ke[1Ae[2Ke[G
2023-01-13T04:54:59.201664Z	 ERROR #85928
2023-01-13T04:54:59.201803Z	
2023-01-13T04:54:59.201944Z	An error occurred during parallel query running.
2023-01-13T04:54:59.202068Z	Go here for troubleshooting tips: https://gatsby.dev/pqr-feedback
2023-01-13T04:54:59.202197Z	
2023-01-13T04:54:59.202321Z	
2023-01-13T04:54:59.229418Z	e[2Ke[1Ae[2Ke[G
2023-01-13T04:54:59.229705Z	e[0m
2023-01-13T04:54:59.229857Z	e[0m  e[0me[97me[41mErrore[0me[37me[41m:e[0me[37me[41m e[0me[97me[41mWorker exited before finishing taske[0m
2023-01-13T04:54:59.229991Z	e[0m  e[0m
2023-01-13T04:54:59.230182Z	e[0m  e[0me[90m-e[0m e[0me[93mindex.jse[0me[90m:e[0me[93m117e[0me[37m e[0me[37mChildProcess.<anonymous>e[0m
2023-01-13T04:54:59.230467Z	e[0m  e[0m  e[0me[90m[repo]/[gatsby-worker]/dist/index.js:117:45e[0m
2023-01-13T04:54:59.230612Z	e[0m  e[0m
2023-01-13T04:54:59.230735Z	e[0m  e[0me[90m-e[0m e[0me[93mnode:eventse[0me[90m:e[0me[93m527e[0me[37m e[0me[37mChildProcess.emite[0m
2023-01-13T04:54:59.230865Z	e[0m  e[0m  e[0me[90mnode:events:527:28e[0m
2023-01-13T04:54:59.23116Z	e[0m  e[0m
2023-01-13T04:54:59.231342Z	e[0m  e[0me[90m-e[0m e[0me[93mchild_processe[0me[90m:e[0me[93m291e[0me[37m e[0me[37mProcess.ChildProcess._handle.onexite[0m
2023-01-13T04:54:59.231469Z	e[0m  e[0m  e[0me[90mnode:internal/child_process:291:12e[0m
2023-01-13T04:54:59.231585Z	e[0m  e[0m
2023-01-13T04:54:59.231802Z	e[0m
2023-01-13T04:54:59.231981Z	
2023-01-13T04:54:59.233481Z	e[2Ke[1Ae[2Ke[Gnot finished Running gatsby-plugin-sharp.IMAGE_PROCESSING jobs - 187.832s
2023-01-13T04:54:59.233654Z	
2023-01-13T04:54:59.236988Z	e[2Ke[1Ae[2Ke[Gnot finished run queries in workers - 131.338s
2023-01-13T04:54:59.23718Z	
2023-01-13T04:54:59.464497Z	Failed: build command exited with code: 1
2023-01-13T04:55:00.999272Z	Failed: an internal error occurred
2023-01-13T04:54:59.115146Z	Image downloading failed for
2023-01-13T04:54:59.115287Z	https://images.ctfassets.net/jtyamzi59vuk/35x1NpQFfEu0bSkW4z4buQ/6d9bf95989d5a16
2023-01-13T04:54:59.115424Z	42946da3b5c0bf8d8/blog-description-one-cable-unit-004.png, please check if the
2023-01-13T04:54:59.115558Z	image still exists on contentful connect ETIMEDOUT 13.224.2.11:443
1 Like

Image downloading failed error only occurs when using Cloudflare Pages.

This does not occur with other hosting services.

It did not occur last month when I used Cloudflare Pages.