This worked form me for a year then with the latest Homebridge I have tried installing on several plateforms (windows, PI) I get the same error and it forces a restart of my homebridge server.
[Symbol(kBytesWritten)]: 0,
[Symbol(kEndCalled)]: true,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(kUniqueHeaders)]: null
},
data: '<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Server was unable to process request. ---> An exception has been raised that is likely due to a transient failure. If you are connecting to a SQL Azure database consider using SqlAzureExecutionStrategy. ---> The underlying provider failed on Open. ---> An exception has been raised that is likely due to a transient failure. If you are connecting to a SQL Azure database consider using SqlAzureExecutionStrategy. ---> A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) ---> The specified network name is no longer available</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>'
}
}
[17/01/2023, 16:29:12] [Thermostat] Critical Error - No devices created, please restart.
[17/01/2023, 16:29:12] [Thermostat] AxiosError: Request failed with status code 500
Sorry - reviewed my settings in the (https://www.mytotalconnectcomfort.com/) website and had an error in the setup so that resolved this issue with adding the device.
This worked form me for a year then with the latest Homebridge I have tried installing on several plateforms (windows, PI) I get the same error and it forces a restart of my homebridge server.
running a PI Zero W 64MG
Error: GetLocations Error: AxiosError: Request failed with status code 500 at settle (/var/lib/homebridge/node_modules/homebridge-tcc/node_modules/axios/lib/core/settle.js:19:12) at IncomingMessage.handleStreamEnd (/var/lib/homebridge/node_modules/homebridge-tcc/node_modules/axios/lib/adapters/http.js:512:11) at IncomingMessage.emit (node:events:525:35) at endReadableNT (node:internal/streams/readable:1359:12) at processTicksAndRejections (node:internal/process/task_queues:82:21) { code: 'ERR_BAD_RESPONSE', config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http' ], transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 10000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: [Function], Blob: [class Blob] }, validateStatus: [Function: validateStatus], headers: AxiosHeaders { Accept: '/', 'Content-Type': 'text/xml;charset=UTF-8', 'user-agent': 'TCCStageC/1092 CFNetwork/1125.2 Darwin/19.4.0', ADRUM: 'isAjax:true', 'Accept-Language': 'en-ca', 'Accept-Encoding': 'gzip, deflate, br', ADRUM_1: 'isMobile:true', soapAction: 'http://services.alarmnet.com/Services/MobileV2/GetLocations', 'Content-Length': '390' }, method: 'post', url: 'https://tccna.honeywell.com/ws/MobileV2.asmx', data: '<?xml version="1.0" encoding="utf-8"?>7F1ACBA0-F0BF-4A01-B83C-E8F45450A803 </soap:Body></soap:Envelope>'
},
request: <ref 1> ClientRequest {
_events: [Object: null prototype] {
abort: [Function (anonymous)],
aborted: [Function (anonymous)],
connect: [Function (anonymous)],
error: [Function (anonymous)],
socket: [Function (anonymous)],
timeout: [Function (anonymous)],
finish: [Function: requestOnFinish]
},
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: false,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: '390',
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: false,
socket: TLSSocket {
_tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
secureConnecting: false,
_SNICallback: null,
servername: 'tccna.honeywell.com',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype],
_eventsCount: 10,
connecting: false,
_hadError: false,
_parent: null,
_host: 'tccna.honeywell.com',
_closeAfterHandlingError: false,
_readableState: [ReadableState],
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: [TLSWrap],
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular 1],
timeout: 10000,
}, response: { status: 500, statusText: 'Internal Server Error', headers: AxiosHeaders { 'cache-control': 'private', 'content-type': 'text/xml; charset=utf-8', server: 'Microsoft-IIS/8.5', 'x-xss-protection': '1; mode=block', 'x-content-type-options': 'nosniff', date: 'Tue, 17 Jan 2023 21:29:10 GMT', connection: 'close', 'content-length': '1035', 'set-cookie': [Array] }, config: { transitional: [Object], adapter: [Array], transformRequest: [Array], transformResponse: [Array], timeout: 10000, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: [Object], validateStatus: [Function: validateStatus], headers: [AxiosHeaders], method: 'post', url: 'https://tccna.honeywell.com/ws/MobileV2.asmx', data: '<?xml version="1.0" encoding="utf-8"?>7F1ACBA0-F0BF-4A01-B83C-E8F45450A803 </soap:Body></soap:Envelope>'
},
request: <ref 1> 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: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: '390',
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: false,
socket: [TLSSocket],
_header: 'POST /ws/MobileV2.asmx HTTP/1.1\r\n' +
'Accept: /*\r\n' +
'Content-Type: text/xml;charset=UTF-8\r\n' +
'user-agent: TCCStageC/1092 CFNetwork/1125.2 Darwin/19.4.0\r\n' +
'ADRUM: isAjax:true\r\n' +
'Accept-Language: en-ca\r\n' +
'Accept-Encoding: gzip, deflate, br\r\n' +
'ADRUM_1: isMobile:true\r\n' +
'soapAction: http://services.alarmnet.com/Services/MobileV2/GetLocations\r\n' +
'Content-Length: 390\r\n' +
'Host: tccna.honeywell.com\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'POST',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/ws/MobileV2.asmx',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'tccna.honeywell.com',
protocol: 'https:',
_redirectable: [Writable],
} } [17/01/2023, 16:29:12] [Thermostat] Critical Error - No devices created, please restart. [17/01/2023, 16:29:12] [Thermostat] AxiosError: Request failed with status code 500
Config: { "name": "Thermostat", "username": "xxx", "password": "xxx", "refresh": 1212, "storage": "fs", "platform": "tcc", "_bridge": { "username": "0E:D9:E9:21:D7:EF", "port": 32397 }