medusajs / gatsby-starter-medusa

A production-ready Gatsby starter for Medusa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

impactcolor opened this issue · comments

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

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