nebulous / infinitude

Open control of Carrier/Bryant thermostats
MIT License
225 stars 50 forks source link

Timeout Error with Infinitude Docker Container and HomeBridge #114

Closed beech190 closed 3 years ago

beech190 commented 3 years ago

I am receiving this error: [11/21/2020, 12:37:49 PM] [InfinitudePlatform] Error: timeout of 5000ms exceeded at createError (/homebridge/node_modules/homebridge-infinitude/node_modules/axios/lib/core/createError.js:16:15) at Timeout.handleRequestTimeout [as _onTimeout] (/homebridge/node_modules/homebridge-infinitude/node_modules/axios/lib/adapters/http.js:217:16) at listOnTimeout (internal/timers.js:554:17) at processTimers (internal/timers.js:497:7) { config: { adapter: [Function: httpAdapter], transformRequest: { '0': [Function: transformRequest] }, transformResponse: { '0': [Function: transformResponse] }, timeout: 5000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json, text/plain, /', 'User-Agent': 'axios/0.18.1' }, method: 'get', url: 'http://10.0.0.62:32790/status.xml', data: undefined }, code: 'ECONNABORTED', request: <ref 1> Writable { _writableState: WritableState { objectMode: false, highWaterMark: 16384, finalCalled: false, needDrain: false, ending: false, ended: false, finished: false, destroyed: false, decodeStrings: true, defaultEncoding: 'utf8', length: 0, writing: false, corked: 0, sync: true, bufferProcessing: false, onwrite: [Function: bound onwrite], writecb: null, writelen: 0, afterWriteTickInfo: null, buffered: [], bufferedIndex: 0, allBuffers: true, allNoop: true, pendingcb: 0, prefinished: false, errorEmitted: false, emitClose: true, autoDestroy: true, errored: null, closed: false }, _events: [Object: null prototype] { response: [Function: handleResponse], error: [Function: handleRequestError] }, _eventsCount: 2, _maxListeners: undefined, _options: { protocol: 'http:', maxRedirects: 21, maxBodyLength: 10485760, path: '/status.xml', method: 'get', headers: [Object], agent: undefined, auth: undefined, hostname: '10.0.0.62', port: '32790', nativeProtocols: [Object], pathname: '/status.xml' }, _redirectCount: 0, _redirects: [], _requestBodyLength: 0, _requestBodyBuffers: [], _onNativeResponse: [Function (anonymous)], _currentRequest: ClientRequest { _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, outputData: [], outputSize: 0, writable: true, destroyed: true, _last: true, chunkedEncoding: false, shouldKeepAlive: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, socket: [Socket], _header: 'GET /status.xml HTTP/1.1\r\n' + 'Accept: application/json, text/plain, /\r\n' + 'User-Agent: axios/0.18.1\r\n' + 'Host: 10.0.0.62:32790\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: noopPendingOutput], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/status.xml', _ended: false, res: null, aborted: true, timeoutCb: null, upgradeOrConnect: false, parser: [HTTPParser], maxHeadersCount: null, reusedSocket: false, host: '10.0.0.62', protocol: 'http:', _redirectable: [Circular 1],

  [Symbol(kNeedDrain)]: false,
  [Symbol(corked)]: 0,
  [Symbol(kOutHeaders)]: [Object: null prototype]
},
_currentUrl: 'http://10.0.0.62:32790/status.xml',
[Symbol(kCapture)]: false

}, response: undefined })

I have a docker container running infinitude and can access the UI. It is receiving data from the thermostat because I can see it in the UI of Infinitude. I have HomeBridge running in a separate container on the same host (a Synology NAS). I have the settings of the infinitude plugin for HomeBridge set as http://10.0.0.62:32790. HomeBridge doesn't seem to be communicating with the Infinitude Container. Anyone seen this before or know what could be causing my issue? Thanks!