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
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.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 fieldnormalStoreUrl
fromhttp://
tohttps://
to switch from regular HTTP to HTTP over SSL