RequestError: connect ETIMEDOUT
Closed this issue · 0 comments
mtuchi commented
Am getting this error when i run gatsby develop
i have tried to increase max_execution_time = 600
on my wordpress server but still the error keep happening.
RequestError: connect ETIMEDOUT 192.185.16.155:443
at ClientRequest.<anonymous> (/Users/mtuchi/Workspace/next-nukta/node_modules/gatsby-source-wordpress/node_modules/got/dist/source/core/index.js:953:111)
at Object.onceWrapper (events.js:422:26)
at ClientRequest.emit (events.js:327:22)
at ClientRequest.origin.emit (/Users/mtuchi/Workspace/next-nukta/node_modules/@szmarczak/http-timer/dist/source/index.js:39:20)
at TLSSocket.socketErrorListener (_http_client.js:469:9)
at TLSSocket.emit (events.js:315:20)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
code: 'ETIMEDOUT',
timings: {
start: 1614340992727,
socket: 1614340992727,
lookup: 1614340992728,
connect: undefined,
secureConnect: undefined,
upload: undefined,
response: undefined,
end: undefined,
error: 1614341015926,
abort: undefined,
phases: {
wait: 0,
dns: 1,
tcp: undefined,
tls: undefined,
request: undefined,
firstByte: undefined,
download: undefined,
total: 23199
}
}
}
Help of any kind will be much appreciated
Here is my gastby-config.js
resolve: `gatsby-source-wordpress`,
options: {
// the only required plugin option for WordPress is the GraphQL url.
url: process.env.WPGRAPHQL_URL || `https://mywebsite.com/graphql`,
schema: {
requestConcurrency: 1,
},
type: {
MediaItem: {
localFile: {
requestConcurrency: 1,
},
},
},
},