Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

gatsby-source-wordpress stops working #35917

Closed
2 tasks done
tonyvu2014 opened this issue Jun 11, 2022 · 0 comments
Closed
2 tasks done

gatsby-source-wordpress stops working #35917

tonyvu2014 opened this issue Jun 11, 2022 · 0 comments

Comments

@tonyvu2014
Copy link

Preliminary Checks

  • This issue is not a duplicate. Before opening a new issue, please search existing issues: https:/gatsbyjs/gatsby/issues
  • This issue is not a question, feature request, RFC, or anything other than a bug report directly related to Gatsby. Please post those things in GitHub Discussions: https:/gatsbyjs/gatsby/discussions

Description

I used gatsby-source-wordpress to fetch data from Wordpress and create blog posts. It has been working and then suddenly stopped working one day which failed my gatsby build step.

This is the error:

Step #4: gatsby-source-wordpress Error: socket hang up

Step #4: at connResetException (internal/errors.js:628:14)

Step #4: at TLSSocket.socketOnEnd (_http_client.js:499:23)

Step #4: at TLSSocket.emit (events.js:387:35)

Step #4: at endReadableNT (internal/streams/readable.js:1317:12)

Step #4: at processTicksAndRejections (internal/process/task_queues.js:82:21)

package version:

  • node: v14
  • gatsby: ^4.9.0
  • gatsby-source-wordpress: ^6.9.0

What I have tried without success

  • Increased the wordpress server memory limit
  • Changed the plugin schema to:
    schema: { queryDepth: 5, perPage: 10, timeout: 1000000 }

Please help

Reproduction Link

https:/tonyvu2014/compare-n-save

Steps to Reproduce

  1. Trigger the gatsby project build

...

Expected Result

It should successfully fetch data from Wordpress and build blog post pages

Actual Result

The build failed due to communication issue with Wordpress server

Environment

System:
    OS: macOS 12.2.1
    CPU: (10) x64 Apple M1 Pro
    Shell: 5.8 - /bin/zsh
Binaries:
    Node: 14.19.3 - ~/.nvm/versions/node/v14.19.3/bin/node
    npm: 6.14.17 - ~/.nvm/versions/node/v14.19.3/bin/npm
Languages:
    Python: 2.7.18 - /usr/bin/python
Browsers:
    Chrome: 102.0.5005.61
    Safari: 15.3
npmPackages:
    gatsby: ^4.16.0 => 4.16.0
    gatsby-plugin-image: ^2.16.1 => 2.16.1
    gatsby-plugin-sharp: ^4.16.1 => 4.16.1
    gatsby-source-filesystem: ^4.16.0 => 4.16.0
    gatsby-transformer-sharp: ^4.16.0 => 4.16.0

Config Flags

N/A

@tonyvu2014 tonyvu2014 added the type: bug An issue or pull request relating to a bug in Gatsby label Jun 11, 2022
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jun 11, 2022
@LekoArts LekoArts removed type: bug An issue or pull request relating to a bug in Gatsby status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Jun 13, 2022
@gatsbyjs gatsbyjs locked and limited conversation to collaborators Jun 13, 2022
@LekoArts LekoArts converted this issue into discussion #35922 Jun 13, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants