-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Error: connect ETIMEDOUT #31737
Comments
Hi! Sorry to hear you're running into an issue. To help us best begin debugging the underlying cause, it is incredibly helpful if you're able to create a minimal reproduction. This is a simplified example of the issue that makes it clear and obvious what the issue is and how we can begin to debug it. If you're up for it, we'd very much appreciate if you could provide a minimal reproduction and we'll be able to take another look. Thanks for using Gatsby! 💜 |
Timeouts for creating a new node aren't directly applied to fetching a remote node. Instead of using These timeouts need to be adjustable because there is no one-size-fits-all solution here. These calls ALWAYS fail after a threshold. This is the second time an issue like this has burned me, the first time was from the |
@ThyNameIsMud could you plz recommend a way I can implement a temporary fix to the plugin in my local plugins folder? Would love to throw a bandaid on this until it is addressed |
Look for
This will have the timeout execute when the socket is connected instead of when it's queued. The documentation notes how the times are treated: https://github.com/sindresorhus/got/tree/v11.7.0#timeout You may want to adjust You will want to use something like patch-patch to make the change until this is properly fixed |
…errides for timeouts (gatsbyjs#31737)
@ThyNameIsMud that's really good to know. The createRemoteFileNode helper was forked in the WP package to fix some issues with it and the fixes were never added back to the main copy of it. We'll be refocusing efforts on the WP plugin in the next couple months and will likely move back to using the main helper instead of the forked one at that time. |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. Thanks for being a part of the Gatsby community! 💪💜 |
Hey again! It’s been 60 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Thanks again for being part of the Gatsby community! 💪💜 |
Description
I can't launch / build the project because the plugin constantly throws ETIMEDOUT error (most often for MediaItem).
Steps to reproduce
Just follow this instruction:
https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-wordpress/docs/getting-started.md
gatsby-config.js
Then
Expected result
Expect that the project will be launched and the requests will be fulfilled.
Actual result
Some time for random query:
And for MediaItem (very often)
Environment
What I tried
gatsby-config.js
Halp!
The text was updated successfully, but these errors were encountered: