stencil-cli icon indicating copy to clipboard operation
stencil-cli copied to clipboard

Report "socket hang up" issue

Open iceleo-com opened this issue 1 year ago • 1 comments

Today, I got "socket hang up" issue when developing stencil theme. The problem happen after running command stencil start. This command worked as expected till today.

brat@Brat-Inspiron-16-Plus-7630:~/Works/BigC/fwh-theme$ stencil start
API host set in config file: https://api.bigcommerce.com


not ok -- StoreHashReadError: socket hang up

URL: http://fabricwarehouse.com/admin/oauth/info
Method: GET
Please visit the troubleshooting page https://developer.bigcommerce.com/stencil-docs/deploying-a-theme/troubleshooting-theme-uploads.
If this error persists, please visit https://github.com/bigcommerce/stencil-cli/issues and submit an issue.

I solved this problem, but I want to share how I solved it. Hope it helps someone, and let the developer know about this issue.

To solve this issue, you need to edit file config.stencil.json, change the value of field normalStoreUrl from http:// to https:// to switch from regular HTTP to HTTP over SSL

iceleo-com avatar Aug 21 '24 09:08 iceleo-com

When you ran your stencil init command, did you use http or https?

AndrewBarber avatar Jun 27 '25 21:06 AndrewBarber