Closed shalawfatah closed 1 year ago
Do you have both a .env.development && .env.production files in the root of your project?
Do you have both a .env.development && .env.production files in the root of your project?
Yes, this is .env.development
WORDPRESS_URL=http://guidedby2.local/graphql
So you're getting an error from port 443 when it tries to connect, which is the TCP port SSL uses. It looks to me like the problem is that wordpress is expecting an HTTPS connection and you are trying to connect with HTTP. Let me know if fixing that solves the problem
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! 💜
Hi!
Since we didn't receive an answer for 7 days or more about the ask of a reproduction I'm going to close this now, as we can't do much to help without a reproduction. If you are able to create a minimal reproduction for this then please do answer here or open a new issue with a reproduction. Thanks!
Preliminary Checks
Description
Upgrading to the latest
gatsby v5
andgatsby-source-wordpress v7
, I've been having this issue where I cannot start my application on my computer, as it succeeds from running all queries but later fails the development saying:When I click on that link, the image is there, and often this link changes to another image, which means images are not fetched overall for some reason.
I use Local by Flywheel to run my Wordpress sever locally, and Gatsby, with Node 18 and NPM 9 to run the Gatsby app. I changed the WP URL from https to http, but nothing changes.
This is all my packages on Gatsby:
This is my Wordpress plugin configuration:
Reproduction Link
nothinghere
Steps to Reproduce
Expected Result
I expect the development to run like before, but I face the unable to fetch image problem.
Actual Result
I face
unable to fetch image
problem.Environment
Config Flags
No