Gastby build - connect ETIMEDOUT
yondr-agency-15 opened this issue · comments
Hello there,
Since yesterday, I am unable to build anymore using the gatsby-source-graphcms plugin.
This worked perfectly fine the previous week on my projects, but now it results in the following error:
[gatsby-source-graphcms]: Problem building GraphCMS nodes
Error: {
"message": "request to https://api-eu-central-1.graphcms.com/v2/xxxxhashxxxxx/master failed, reason: connect ETIMEDOUT xxx.xx.xx.xx:443",
"type": "system",
"errno": "ETIMEDOUT",
"code": "ETIMEDOUT"
}
Error: Worker exited before finishing task
- index.js:112 ChildProcess.<anonymous>
[1.round_table_sport]/[gatsby-worker]/dist/index.js:112:45
- node:events:527 ChildProcess.emit
node:events:527:28
- child_process:291 Process.ChildProcess._handle.onexit
node:internal/child_process:291:12
Both enabling token or disabling will result in the same error:
// <!-- gastby-config.js -->
{
resolve: "gatsby-source-graphcms",
options: {
endpoint: process.env.GRAPHCMS_ENDPOINT,
// token: process.env.GRAPHCMS_TOKEN,
downloadLocalImages: true,
},
},
Same problem, but just in one project.
Can you find a difference between the other projects?
Problem is only on Windows when project has a lot of assets and schemas.
I have a website that used a page-template to create pages. But it is only 10 Pages with maybe 50 assets. Don't seem like much. But indeed if I build with GitHub actions it works perfectly fine, so seems to be a windows issue.