Build failing: Error: connect ETIMEDOUT

I’m not sure why my site is not building.
I’ve added a local plugin to my Gatsby project - it’s working fine locally, however it fails to build on Netlify.

Site name: prodigy-static-web-staging.netlify.app

Issue: site is failing to build

10:55:58 AM: success open and validate gatsby-configs - 0.128s
10:55:59 AM: success load plugins - 1.258s
10:55:59 AM: success onPreInit - 0.045s
10:55:59 AM: success delete html and css files from previous builds - 0.003s
10:55:59 AM: success initialize cache - 0.006s
10:55:59 AM: success copy gatsby files - 0.053s
10:55:59 AM: success onPreBootstrap - 0.017s
10:55:59 AM: success createSchemaCustomization - 0.004s
10:56:00 AM: info Starting to fetch data from Strapi - https://strapi-cms.staging.pdg.io/articles?_limit=1000&_publicationState=preview
10:56:32 AM: error [object Object] connect ETIMEDOUT 3.248.19.22:443
10:56:32 AM: 
10:56:32 AM: 
10:56:32 AM:   Error: connect ETIMEDOUT 3.248.19.22:443
10:56:32 AM: 
10:56:32 AM: not finished source and transform nodes - 32.994s
10:56:32 AM: not finished Fetched Strapi Data - 31.889s
10:56:32 AM: npm ERR! code ELIFECYCLE
10:56:32 AM: npm ERR! errno 1
10:56:32 AM: npm ERR! prodigy-static-web@0.1.0 build: `npm run install-plugin && gatsby build --prefix-paths && cp ./src/data/_redirects ./public`
10:56:32 AM: npm ERR! Exit status 1
10:56:32 AM: npm ERR!
10:56:32 AM: npm ERR! Failed at the prodigy-static-web@0.1.0 build script.
10:56:32 AM: npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
10:56:32 AM: npm ERR! A complete log of this run can be found in:
10:56:32 AM: npm ERR!     /opt/buildhome/.npm/_logs/2021-04-14T08_56_32_789Z-debug.log
10:56:32 AM: ​
10:56:32 AM: ────────────────────────────────────────────────────────────────
10:56:32 AM:   "build.command" failed                                        
10:56:32 AM: ────────────────────────────────────────────────────────────────
10:56:32 AM: ​
10:56:32 AM:   Error message
10:56:32 AM:   Command failed with exit code 1: npm run build
10:56:32 AM: ​
10:56:32 AM:   Error location
10:56:32 AM:   In Build command from Netlify app:
10:56:32 AM:   npm run build

Hey there, Stuart :wave:

sorry you are having trouble with your build.

This Support Guide contains a ton of useful debugging tips that can likely help you solve your problem :slight_smile:

We also recommend trying to search the forums with the build error you encountered - it’s likely your question was already asked by someone else!

If you are still having problems, please provide as much important information as you can on what you have already tried, what your build settings are, your package.json, etc. Thanks!