hydrogen icon indicating copy to clipboard operation
hydrogen copied to clipboard

Client network socket disconnected before secure TLS connection was established

Open Guo8a opened this issue 9 months ago • 1 comments

What is the location of your example repository?

At my local folder

Which package or tool is having this issue?

Hydrogen

What version of that package or tool are you using?

"@remix-run/react": "^2.8.0", "@remix-run/server-runtime": "^2.8.0", "@shopify/cli": "3.60.0", "@shopify/cli-hydrogen": "^8.0.4", "@shopify/hydrogen": "2024.4.2", "@shopify/remix-oxygen": "^2.0.4", "graphql": "^16.6.0", "graphql-tag": "^2.12.6", "isbot": "^3.8.0", "react": "^18.2.0", "react-dom": "^18.2.0"

What version of Remix are you using?

"@remix-run/react": "^2.8.0", "@remix-run/server-runtime": "^2.8.0",

Steps to Reproduce

  1. npm create @shopify/hydrogen@latest -- --quickstart
  2. cd hydrogen-quickstart
  3. npm install
  4. npm run dev

There is nothing wrong with the above steps, and I can run the project perfectly and can see the content at localhost:3000.

continue:

npx shopify hydrogen link

Something error occured:

FetchError: request to 
    https://***.myshopify.com/admin/api/unstable/graphql.json failed, reason: 
    Client network socket disconnected before secure TLS connection was established
    Code: ECONNRESET

I'm in China mainland, can't visit shopify resource... https://github.com/Shopify/cli/issues/3225#issuecomment-1879660279 Is there anyway to fix the problem... I want link my shopify use hydrogen. Thanks >_<

Expected Behavior

link shopify success

Actual Behavior

at above

Guo8a avatar May 22 '24 07:05 Guo8a