BigCommerce support needs to enable/fix Stencil-CLI endpoint
Connecting Stencil to the sandbox environment works fine, however, does not work on production. Called support and they requested a ticket be opened on Git.
PS C:\StencilProjects\ThemeV7> stencil init --url https://herrschners.com --token ////////////////hashed out//////////////// ? What port would you like to run the server on? 3000 ? What is your favourite Package Manager? npm Set API host to: https://api.bigcommerce.com √ Dependencies installed successfully You are now ready to go! To start developing, run $ stencil start PS C:\StencilProjects\ThemeV7> cd C:\StencilProjects\ThemeV7
stencil start AggregateError: Error at AxiosError.from (file:///C:/ProgramData/nvm/v20.16.0/node_modules/@bigcommerce/stencil-cli/node_modules/axios/lib/core/AxiosError.js:96:14) at RedirectableRequest.handleRequestError (file:///C:/ProgramData/nvm/v20.16.0/node_modules/@bigcommerce/stencil-cli/node_modules/axios/lib/adapters/http.js:817:25) at RedirectableRequest.emit (node:events:519:28) at eventHandlers.
(C:\ProgramData\nvm\v20.16.0\node_modules@bigcommerce\stencil-cli\node_modules\follow-redirects\index.js:49:24) at ClientRequest.emit (node:events:519:28) at TLSSocket.socketErrorListener (node:_http_client:500:9) at TLSSocket.emit (node:events:519:28) at emitErrorNT (node:internal/streams/destroy:169:8) at emitErrorCloseNT (node:internal/streams/destroy:128:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at Axios.request (file:///C:/ProgramData/nvm/v20.16.0/node_modules/@bigcommerce/stencil-cli/node_modules/axios/lib/core/Axios.js:45:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async Object.getStoreHash (file:///C:/ProgramData/nvm/v20.16.0/node_modules/@bigcommerce/stencil-cli/lib/theme-api-client.js:17:26) at async StencilStart.getChannelUrl (file:///C:/ProgramData/nvm/v20.16.0/node_modules/@bigcommerce/stencil-cli/lib/stencil-start.js:92:26) at async StencilStart.run (file:///C:/ProgramData/nvm/v20.16.0/node_modules/@bigcommerce/stencil-cli/lib/stencil-start.js:61:28) { code: 'ETIMEDOUT', errors: [ Error: connect ETIMEDOUT 10.0.2.100:443 at createConnectionError (node:net:1648:14) at Timeout.internalConnectMultipleTimeout (node:net:1707:38) at listOnTimeout (node:internal/timers:583:11) at process.processTimers (node:internal/timers:519:7) { errno: -4039, code: 'ETIMEDOUT', syscall: 'connect', address: '10.0.2.100', port: 443 }, Error: connect ETIMEDOUT 10.0.2.130:443 at createConnectionError (node:net:1648:14) at Timeout.internalConnectMultipleTimeout (node:net:1707:38) at listOnTimeout (node:internal/timers:583:11) at process.processTimers (node:internal/timers:519:7) { errno: -4039, code: 'ETIMEDOUT', syscall: 'connect', address: '10.0.2.130', port: 443 }, Error: connect ETIMEDOUT 10.0.2.41:443 at createConnectionError (node:net:1648:14) at Timeout.internalConnectMultipleTimeout (node:net:1707:38) at listOnTimeout (node:internal/timers:583:11) at process.processTimers (node:internal/timers:519:7) { errno: -4039, code: 'ETIMEDOUT', syscall: 'connect', address: '10.0.2.41', port: 443 }, Error: connect ETIMEDOUT 10.0.2.3:443 at createConnectionError (node:net:1648:14) at Timeout.internalConnectMultipleTimeout (node:net:1707:38) at listOnTimeout (node:internal/timers:583:11) at process.processTimers (node:internal/timers:519:7) { errno: -4039, code: 'ETIMEDOUT', syscall: 'connect', address: '10.0.2.3', port: 443 }, Error: connect ETIMEDOUT 10.0.2.7:443 at createConnectionError (node:net:1648:14) at Timeout.internalConnectMultipleTimeout (node:net:1707:38) at listOnTimeout (node:internal/timers:583:11) at process.processTimers (node:internal/timers:519:7) { errno: -4039, code: 'ETIMEDOUT', syscall: 'connect', address: '10.0.2.7', port: 443 }, Error: connect ETIMEDOUT 10.0.2.31:443 at createConnectionError (node:net:1648:14) at Timeout.internalConnectMultipleTimeout (node:net:1707:38) at listOnTimeout (node:internal/timers:583:11) at process.processTimers (node:internal/timers:519:7) { errno: -4039, code: 'ETIMEDOUT', syscall: 'connect', address: '10.0.2.31', port: 443 }, Error: connect ETIMEDOUT 10.0.2.20:443 at createConnectionError (node:net:1648:14) at afterConnectMultiple (node:net:1678:16) { errno: -4039, code: 'ETIMEDOUT', syscall: 'connect', address: '10.0.2.20', port: 443 } ], name: 'StoreHashReadError', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: Infinity, maxBodyLength: Infinity, env: { FormData: [Function], Blob: [class Blob] }, validateStatus: [Function: validateStatus], headers: Object [AxiosHeaders] { Accept: 'application/json, text/plain, /', 'Content-Type': undefined, 'x-auth-client': 'stencil-cli', 'stencil-cli': '8.10.5', 'stencil-version': '1.0', 'User-Agent': 'axios/1.13.2', 'Accept-Encoding': 'gzip, compress, deflate, br' }, httpsAgent: Agent { _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, defaultPort: 443, protocol: 'https:', options: [Object: null prototype], requests: [Object: null prototype] {}, sockets: [Object: null prototype], freeSockets: [Object: null prototype] {}, keepAliveMsecs: 1000, keepAlive: false, maxSockets: Infinity, maxFreeSockets: 256, scheduling: 'lifo', maxTotalSockets: Infinity, totalSocketCount: 1, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(shapeMode)]: false, [Symbol(kCapture)]: false }, url: 'https://herrschners.com/admin/oauth/info', allowAbsoluteUrls: true, method: 'get', data: undefined }, request: <ref *1> Writable { _events: { close: undefined, error: [Function: handleRequestError], prefinish: undefined, finish: undefined, drain: undefined, response: [Function: handleResponse], socket: [Array], abort: undefined }, _writableState: WritableState { highWaterMark: 16384, length: 0, corked: 0, onwrite: [Function: bound onwrite], writelen: 0, bufferedIndex: 0, pendingcb: 0, [Symbol(kState)]: 17580812, [Symbol(kBufferedValue)]: null }, _maxListeners: undefined, _options: { maxRedirects: 21, maxBodyLength: Infinity, protocol: 'https:', path: '/admin/oauth/info', method: 'GET', headers: [Object: null prototype], agents: [Object], auth: undefined, family: undefined, beforeRedirect: [Function: dispatchBeforeRedirect], beforeRedirects: [Object], http2Options: undefined, hostname: 'herrschners.com', port: '', agent: [Agent], nativeProtocols: [Object], pathname: '/admin/oauth/info' }, _ended: true, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _eventsCount: 3, _onNativeResponse: [Function (anonymous)], _currentRequest: ClientRequest { _events: [Object: null prototype], _eventsCount: 7, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: false, _last: true, chunkedEncoding: false, shouldKeepAlive: false, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, strictContentLength: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [TLSSocket], _header: 'GET /admin/oauth/info HTTP/1.1\r\n' + 'Accept: application/json, text/plain, /\r\n' + 'x-auth-client: stencil-cli\r\n' + 'stencil-cli: 8.10.5\r\n' + 'stencil-version: 1.0\r\n' + 'User-Agent: axios/1.13.2\r\n' + 'Accept-Encoding: gzip, compress, deflate, br\r\n' + 'Host: herrschners.com\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, joinDuplicateHeaders: undefined, path: '/admin/oauth/info', _ended: false, res: null, aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'herrschners.com', protocol: 'https:', _redirectable: [Circular *1], [Symbol(shapeMode)]: false, [Symbol(kCapture)]: false, [Symbol(kBytesWritten)]: 0, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype], [Symbol(errored)]: null, [Symbol(kHighWaterMark)]: 16384, [Symbol(kRejectNonStandardBodyWrites)]: false, [Symbol(kUniqueHeaders)]: null }, _currentUrl: 'https://herrschners.com/admin/oauth/info', _timeout: null, [Symbol(shapeMode)]: true, [Symbol(kCapture)]: false }, [cause]: AggregateError [ETIMEDOUT]: at internalConnectMultiple (node:net:1118:18) at afterConnectMultiple (node:net:1685:7) { code: 'ETIMEDOUT', [errors]: [ [Error], [Error], [Error], [Error], [Error], [Error], [Error] ] } }
not ok -- StoreHashReadError: Error
{ transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: Infinity, maxBodyLength: Infinity, env: { FormData: [Function: FormData] { LINE_BREAK: '\r\n', DEFAULT_CONTENT_TYPE: 'application/octet-stream' }, Blob: [class Blob] }, validateStatus: [Function: validateStatus], headers: Object [AxiosHeaders] { Accept: 'application/json, text/plain, /', 'Content-Type': undefined, 'x-auth-client': 'stencil-cli', 'stencil-cli': '8.10.5', 'stencil-version': '1.0', 'User-Agent': 'axios/1.13.2', 'Accept-Encoding': 'gzip, compress, deflate, br' }, httpsAgent: Agent { _events: [Object: null prototype] { free: [Function (anonymous)], newListener: [Function: maybeEnableKeylog] }, _eventsCount: 2, _maxListeners: undefined, defaultPort: 443, protocol: 'https:', options: [Object: null prototype] { rejectUnauthorized: false, noDelay: true, path: null }, requests: [Object: null prototype] {}, sockets: [Object: null prototype] { 'herrschners.com:443::::::::false:::::::::::::': [Array] }, freeSockets: [Object: null prototype] {}, keepAliveMsecs: 1000, keepAlive: false, maxSockets: Infinity, maxFreeSockets: 256, scheduling: 'lifo', maxTotalSockets: Infinity, totalSocketCount: 1, maxCachedSessions: 100, _sessionCache: { map: {}, list: [] }, [Symbol(shapeMode)]: false, [Symbol(kCapture)]: false }, url: 'https://herrschners.com/admin/oauth/info', allowAbsoluteUrls: true, method: 'get', data: undefined } URL: https://herrschners.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.