medusajs / gatsby-starter-medusa

A production-ready Gatsby starter for Medusa
MIT License
80 stars 51 forks source link

"The following error status was produced while attempting to fetch products: Error: read ECONNRESET #27

Closed impactcolor closed 2 years ago

impactcolor commented 2 years ago

Install as specified and I setup a medusa server running on port localhost:9000 I get a response from http://localhost:9000/store/products but not from http://localhost:9000

While my medusa server is running I fire up the gatsby build wiht npm start I have an .env.development file with the following:

GATSBY_MEDUSA_BACKEND_URL=http://localhost:9000 The error that appears in a loop is:

"The following error status was produced while attempting to fetch products: Error: read ECONNRESET

impactcolor commented 2 years ago

Ok my fault on this it's being blocked by core policy.