Open bradjin8 opened 4 years ago
I have the same issue
add this to your gatsby config file. Play around with those:
schema:{ perPage: 20, timeout: 90000, requestConcurrency: 2, previewRequestConcurrency: 2,
},
Thanks, @hofdee for actively answering people's questions on Github issues, If you get some, your contribution to https://github.com/imranhsayed/gatsby-woocommerce-themes/pull/77 is welcomed, for this open-source project.
I built this project using node v14.15.4, npm 6.14.10
Tried the commands after configuring environment variables.
yarn build
yarn dev
Both of them led me to the same errors as following:`Error: timeout of 30000ms exceeded
createError.js:16 createError [gatsby-woocommerce-themes]/[axios]/lib/core/createError.js:16:15
http.js:256 ClientRequest.handleRequestTimeout [gatsby-woocommerce-themes]/[axios]/lib/adapters/http.js:256:16
timers.js:531 listOnTimeout internal/timers.js:531:17
timers.js:475 processTimers internal/timers.js:475:7
⠇ source and transform nodes ⠇ gatsby-source-wordpress fetching nodes — 0 total ⠇ gatsby-source-wordpress Category ⠇ gatsby-source-wordpress Comment ⠧ gatsby-source-wordpress ContentType ⠧ gatsby-source-wordpress Coupon ⠧ gatsby-source-wordpress Customer ⠧ gatsby-source-wordpress MenuItem ⠧ gatsby-source-wordpress Menu ⠧ gatsby-source-wordpress Order ⠧ gatsby-source-wordpress Page ⠧ gatsby-source-wordpress PostFormat ⠧ gatsby-source-wordpress Post
ERROR
gatsby-source-wordpress It took too long for http://mysite.com/graphql to respond (longer than 30 seconds). `
How can I solve this?