Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gastby build - connect ETIMEDOUT #238

Open
yondr-agency-15 opened this issue May 4, 2022 · 4 comments
Open

Gastby build - connect ETIMEDOUT #238

yondr-agency-15 opened this issue May 4, 2022 · 4 comments

Comments

@yondr-agency-15
Copy link

yondr-agency-15 commented May 4, 2022

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,
      },
    },
@luciobenini
Copy link

Same problem, but just in one project.

@yondr-agency-15
Copy link
Author

Can you find a difference between the other projects?

@luciobenini
Copy link

Problem is only on Windows when project has a lot of assets and schemas.

@yondr-agency-15
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants