Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tado abstürze #825

Closed
denjo1982 opened this issue Jun 21, 2024 · 23 comments
Closed

Tado abstürze #825

denjo1982 opened this issue Jun 21, 2024 · 23 comments
Assignees
Labels

Comments

@denjo1982
Copy link

ich habe ständig diese abstürze mit den Tado adapter

Tado v0.4.5
Node.js: v20.14.0
js-controller 5.0.19

`

host.iOBroker 2024-06-21 11:02:48.697 warn Do not restart adapter system.adapter.tado.0 because restart loop detected
host.iOBroker 2024-06-21 11:02:48.697 info Restart adapter system.adapter.tado.0 because enabled
host.iOBroker 2024-06-21 11:02:48.697 error instance system.adapter.tado.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[2]: at processTicksAndRejections (node:internal/process/task_queues:95:5)
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[2]: at Axios.request (/opt/iobroker/node_modules/iobroker.tado/node_modules/axios/lib/core/Axios.js:45:41)
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[2]: at TLSSocket.emit (node:domain:488:12)
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[2]: at TLSSocket.emit (node:events:519:28)
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[2]: at TLSSocket.socketErrorListener (node:_http_client:500:9)
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[2]: at ClientRequest.emit (node:domain:488:12)
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[2]: at ClientRequest.emit (node:events:531:35)
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[2]: at ClientRequest.eventHandlers. (/opt/iobroker/node_modules/follow-redirects/index.js:38:24)
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[2]: at RedirectableRequest.emit (node:domain:488:12)
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[2]: at RedirectableRequest.emit (node:events:531:35)
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[2]: at RedirectableRequest.handleRequestError (/opt/iobroker/node_modules/iobroker.tado/node_modules/axios/lib/adapters/http.js:610:25)
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[2]: at Function.AxiosError.from (/opt/iobroker/node_modules/iobroker.tado/node_modules/axios/lib/core/AxiosError.js:89:14)
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[2]: Error: getaddrinfo EAI_AGAIN my.tado.com
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[1]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[0]: }
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[0]: }
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[0]: hostname: 'my.tado.com'
host.iOBroker 2024-06-21 11:02:48.697 error Caught by controller[0]: syscall: 'getaddrinfo',
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: code: 'EAI_AGAIN',
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: errno: -3001,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: cause: Error: getaddrinfo EAI_AGAIN my.tado.com
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: },
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: [Symbol(kCapture)]: false
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: [Symbol(shapeMode)]: true,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: _timeout: null,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: _currentUrl: 'https://my.tado.com/api/v2/devices/VA0595462400/temperatureOffset',
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: },
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: [Symbol(kUniqueHeaders)]: null
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: [Symbol(kRejectNonStandardBodyWrites)]: false,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: [Symbol(kHighWaterMark)]: 16384,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: [Symbol(errored)]: null,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: [Symbol(kOutHeaders)]: [Object: null prototype],
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: [Symbol(corked)]: 0,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: [Symbol(kNeedDrain)]: false,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: [Symbol(kBytesWritten)]: 0,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: [Symbol(kCapture)]: false,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: [Symbol(shapeMode)]: false,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: _redirectable: [Circular *1],
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: protocol: 'https:',
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: host: 'my.tado.com',
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: reusedSocket: false,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: maxHeadersCount: null,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: parser: null,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: upgradeOrConnect: false,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: timeoutCb: null,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: aborted: false,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: res: null,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: _ended: false,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: path: '/api/v2/devices/VA0595462400/temperatureOffset',
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: joinDuplicateHeaders: undefined,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: insecureHTTPParser: undefined,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: maxHeaderSize: undefined,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: method: 'GET',
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: socketPath: undefined,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: agent: [Agent],
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: _onPendingData: [Function: nop],
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: _keepAliveTimeout: 0,
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: '\r\n',
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: 'Connection: keep-alive\r\n' +
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: 'Host: my.tado.com\r\n' +
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: 'baggage: sentry-environment=production,sentry-release=iobroker.tado%400.5.4,sentry-public_key=9417776af8984b5090f8c4ff8635cead,sentry-trace_id=7804a43f655845f0b4b3cacc634f59ff\r\n' +
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: 'sentry-trace: 7804a43f655845f0b4b3cacc634f59ff-a7227e2c5d5f9667\r\n' +
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: 'Accept-Encoding: gzip, compress, deflate, br\r\n' +
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: 'Content-Length: 2\r\n' +
host.iOBroker 2024-06-21 11:02:48.696 error Caught by controller[0]: 'User-Agent: axios/1.6.8\r\n' +
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: 'Source: iobroker.tado@0.5.4\r\n' +
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI1YTNmNGI3YzQ2ZTBmYjAwMTAxNGNhNTgiLCJ0YWRvX2hvbWVzIjpbeyJpZCI6MTUzMDkxfV0sImlzcyI6InRhZG8iLCJsb2NhbGUiOiJkZSIsImF1ZCI6InBhcnRuZXIiLCJuYmYiOjE3MTg5NjA1NTIsInRhZG9fc2NvcGUiOlsiaG9tZS51c2VyIl0sInRhZG9fdXNlcm5hbWUiOiJkYXZlbi5idWRlbG1hbm5AZ21haWwuY29tIiwibmFtZSI6IkRhdmVuIEJ1ZGVsbWFubiIsImV4cCI6MTcxODk2MTE1MiwiaWF0IjoxNzE4OTYwNTUyLCJ0YWRvX2NsaWVudF9pZCI6InRhZG8td2ViLWFwcCIsImp0aSI6Ijg5MDhlZTRiLTZjMDYtNDhlOS1hMTIwLWVkMGFlZTdjZjI4MyIsImVtYWlsIjoiZGF2ZW4uYnVkZWxtYW5uQGdtYWlsLmNvbSJ9.CNdcqwiKdh9jcXFKZ8PPnn6b8KI_lEprb0XXV2CxOxAsHYn7Ntpn3HQ9lKqtfInVW9woPfDkbP5KnUFwrOJofJdh8HZb9BCQZm7hw_n6AmFy0PaRbj7FJNV1V0VAOaZ07nmwYNrIeXYqw1F53naHHGmVKWXa-Qm_Z5fbG8-1wL7i_oltLXTR8B8M2jnPFbGoiLWA2cY82Fhnf7Xylx3zarjJC7JUcaFJwKfNdf7BZiOH2ffgo8eX-lJnfUt2KgwfSe7cyJzl3aLfJHdkVsYiTMgut-TcCKPfdeqdDbZh8hy5lpEO31W8GHOAbMfAHIthTMsFNTCxB_0sCml0ERqS5w\r\n' +
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: 'Content-Type: application/json\r\n' +
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: 'Accept: application/json, text/plain, /\r\n' +
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _header: 'GET /api/v2/devices/VA0595462400/temperatureOffset HTTP/1.1\r\n' +
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: socket: [TLSSocket],
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _closed: false,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _headerSent: true,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: finished: false,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _trailer: '',
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _hasBody: true,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _contentLength: '2',
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: strictContentLength: false,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _removedTE: false,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _removedContLen: false,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _removedConnection: false,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: sendDate: false,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: useChunkedEncodingByDefault: false,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _defaultKeepAlive: true,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: maxRequestsOnConnectionReached: false,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: shouldKeepAlive: true,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: chunkedEncoding: false,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _last: false,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: destroyed: false,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: writable: true,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: outputSize: 0,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: outputData: [],
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _maxListeners: 100,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _eventsCount: 7,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _events: [Object: null prototype],
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _currentRequest: ClientRequest {
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _onNativeResponse: [Function (anonymous)],
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _eventsCount: 3,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _requestBodyBuffers: [ [Object] ],
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _requestBodyLength: 2,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _redirects: [],
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _redirectCount: 0,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _ending: true,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: _ended: false,
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: },
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: pathname: '/api/v2/devices/VA0595462400/temperatureOffset'
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: nativeProtocols: [Object],
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: agent: [Agent],
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: port: '',
host.iOBroker 2024-06-21 11:02:48.695 error Caught by controller[0]: hostname: 'my.tado.com',
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: beforeRedirects: [Object],
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: beforeRedirect: [Function: dispatchBeforeRedirect],
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: family: undefined,
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: auth: undefined,
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: agents: [Object],
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: headers: [Object: null prototype],
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: method: 'GET',
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: path: '/api/v2/devices/VA0595462400/temperatureOffset',
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: protocol: 'https:',
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: maxBodyLength: Infinity,
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: maxRedirects: 21,
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: _options: {
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: _maxListeners: 100,
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: },
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: [Symbol(kBufferedValue)]: null
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: [Symbol(kState)]: 17580812,
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: pendingcb: 0,
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: bufferedIndex: 0,
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: writelen: 0,
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: onwrite: [Function: bound onwrite],
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: corked: 0,
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: length: 0,
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: highWaterMark: 16384,
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: _writableState: WritableState {
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: },
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: abort: undefined
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: timeout: undefined,
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: socket: [Array],
host.iOBroker 2024-06-21 11:02:48.694 error Caught by controller[0]: response: [Function: handleResponse],
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: drain: undefined,
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: finish: undefined,
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: prefinish: undefined,
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: error: [Function: handleRequestError],
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: close: undefined,
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: _events: {
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: request: <ref *1> Writable {
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: },
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: data: '{}'
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: method: 'get',
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: url: '/api/v2/devices/VA0595462400/temperatureOffset',
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: },
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: [Symbol(kCapture)]: false
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: [Symbol(shapeMode)]: false,
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: _sessionCache: [Object],
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: maxCachedSessions: 100,
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: totalSocketCount: 3,
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: maxTotalSockets: Infinity,
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: scheduling: 'lifo',
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: maxFreeSockets: 256,
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: maxSockets: Infinity,
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: keepAlive: true,
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: keepAliveMsecs: 1000,
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: freeSockets: [Object: null prototype] {},
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: sockets: [Object: null prototype],
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: requests: [Object: null prototype] {},
host.iOBroker 2024-06-21 11:02:48.693 error Caught by controller[0]: options: [Object: null prototype],
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: protocol: 'https:',
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: defaultPort: 443,
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: _maxListeners: 100,
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: _eventsCount: 2,
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: _events: [Object: null prototype],
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: httpsAgent: Agent {
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: baseURL: 'https://my.tado.com/',
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: },
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: 'Accept-Encoding': 'gzip, compress, deflate, br'
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: 'Content-Length': '2',
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: 'User-Agent': 'axios/1.6.8',
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: Source: 'iobroker.tado@0.5.4',
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: Authorization: 'Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI1YTNmNGI3YzQ2ZTBmYjAwMTAxNGNhNTgiLCJ0YWRvX2hvbWVzIjpbeyJpZCI6MTUzMDkxfV0sImlzcyI6InRhZG8iLCJsb2NhbGUiOiJkZSIsImF1ZCI6InBhcnRuZXIiLCJuYmYiOjE3MTg5NjA1NTIsInRhZG9fc2NvcGUiOlsiaG9tZS51c2VyIl0sInRhZG9fdXNlcm5hbWUiOiJkYXZlbi5idWRlbG1hbm5AZ21haWwuY29tIiwibmFtZSI6IkRhdmVuIEJ1ZGVsbWFubiIsImV4cCI6MTcxODk2MTE1MiwiaWF0IjoxNzE4OTYwNTUyLCJ0YWRvX2NsaWVudF9pZCI6InRhZG8td2ViLWFwcCIsImp0aSI6Ijg5MDhlZTRiLTZjMDYtNDhlOS1hMTIwLWVkMGFlZTdjZjI4MyIsImVtYWlsIjoiZGF2ZW4uYnVkZWxtYW5uQGdtYWlsLmNvbSJ9.CNdcqwiKdh9jcXFKZ8PPnn6b8KI_lEprb0XXV2CxOxAsHYn7Ntpn3HQ9lKqtfInVW9woPfDkbP5KnUFwrOJofJdh8HZb9BCQZm7hw_n6AmFy0PaRbj7FJNV1V0VAOaZ07nmwYNrIeXYqw1F53naHHGmVKWXa-Qm_Z5fbG8-1wL7i_oltLXTR8B8M2jnPFbGoiLWA2cY82Fhnf7Xylx3zarjJC7JUcaFJwKfNdf7BZiOH2ffgo8eX-lJnfUt2KgwfSe7cyJzl3aLfJHdkVsYiTMgut-TcCKPfdeqdDbZh8hy5lpEO31W8GHOAbMfAHIthTMsFNTCxB_0sCml0ERqS5w',
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: 'Content-Type': 'application/json',
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: Accept: 'application/json, text/plain, /',
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: headers: Object [AxiosHeaders] {
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: validateStatus: [Function: validateStatus],
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: env: { FormData: [Function], Blob: [class Blob] },
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: maxBodyLength: -1,
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: maxContentLength: -1,
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: xsrfHeaderName: 'X-XSRF-TOKEN',
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: xsrfCookieName: 'XSRF-TOKEN',
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: timeout: 20000,
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: transformResponse: [ [Function: transformResponse] ],
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: transformRequest: [ [Function: transformRequest] ],
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: adapter: [ 'xhr', 'http' ],
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: },
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: clarifyTimeoutError: false
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: forcedJSONParsing: true,
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: silentJSONParsing: true,
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: transitional: {
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: config: {
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: errno: -3001,
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: code: 'EAI_AGAIN',
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: syscall: 'getaddrinfo',
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: hostname: 'my.tado.com',
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: at processTicksAndRejections (node:internal/process/task_queues:95:5) {
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: at Axios.request (/opt/iobroker/node_modules/iobroker.tado/node_modules/axios/lib/core/Axios.js:45:41)
host.iOBroker 2024-06-21 11:02:48.692 error Caught by controller[0]: at TLSSocket.emit (node:domain:488:12)
host.iOBroker 2024-06-21 11:02:48.691 error Caught by controller[0]: at TLSSocket.emit (node:events:519:28)
host.iOBroker 2024-06-21 11:02:48.691 error Caught by controller[0]: at TLSSocket.socketErrorListener (node:_http_client:500:9)
host.iOBroker 2024-06-21 11:02:48.691 error Caught by controller[0]: at ClientRequest.emit (node:domain:488:12)
host.iOBroker 2024-06-21 11:02:48.691 error Caught by controller[0]: at ClientRequest.emit (node:events:531:35)
host.iOBroker 2024-06-21 11:02:48.691 error Caught by controller[0]: at ClientRequest.eventHandlers. (/opt/iobroker/node_modules/follow-redirects/index.js:38:24)
host.iOBroker 2024-06-21 11:02:48.691 error Caught by controller[0]: at RedirectableRequest.emit (node:domain:488:12)
host.iOBroker 2024-06-21 11:02:48.691 error Caught by controller[0]: at RedirectableRequest.emit (node:events:531:35)
host.iOBroker 2024-06-21 11:02:48.691 error Caught by controller[0]: at RedirectableRequest.handleRequestError (/opt/iobroker/node_modules/iobroker.tado/node_modules/axios/lib/adapters/http.js:610:25)
host.iOBroker 2024-06-21 11:02:48.691 error Caught by controller[0]: at Function.AxiosError.from (/opt/iobroker/node_modules/iobroker.tado/node_modules/axios/lib/core/AxiosError.js:89:14)
host.iOBroker 2024-06-21 11:02:48.691 error Caught by controller[0]: AxiosError: getaddrinfo EAI_AGAIN my.tado.com
tado.0 2024-06-21 11:02:43.940 info terminating
tado.0 2024-06-21 11:02:43.439 warn Terminated (UNCAUGHT_EXCEPTION): Without reason
tado.0 2024-06-21 11:02:43.438 info terminating
tado.0 2024-06-21 11:02:43.438 info cleaned everything up...
tado.0 2024-06-21 11:02:43.423 error Exception-Code: EAI_AGAIN: getaddrinfo EAI_AGAIN my.tado.com`
@denjo1982 denjo1982 added the bug Something isn't working label Jun 21, 2024
@HGlab01
Copy link
Collaborator

HGlab01 commented Jun 22, 2024

Hallo!
Der Fehler bedeutet, dass der Adapter die URL nicht auflösen kann, also gibt es ein Problem mit deinem DNS-Server
Entweder ist dieser nicht erreichbar oder irgendwo in den Netzwerkkomponenten geht was schief

Tritt der Fehler seit der ersten Installation auf oder ist er irgendwann aufgetaucht? Mit einer neuen Adapter-Version?
Ggf. mal Router und andere Netz-Komponenten neu starten

@denjo1982
Copy link
Author

Ich habe mir vor kurzen ADGuard auf Proxmox installiert, ich glaube das es daran liegt. Ich habe schon alles freigegeben so wie ich es weiß. Leider ohne erfolg, leider tritt der Fehler immer wieder auf und ich weiß auch nicht mehr weiter.

@HGlab01
Copy link
Collaborator

HGlab01 commented Jun 22, 2024

DNS Abfragen laufen über das Port 53 (also vom Adapter auf den DNS Server) - vielleicht hilft das was...

@McR1983
Copy link

McR1983 commented Jun 22, 2024

Hey hab das selbe Problem... scheinbar durch Adguard? Ist aber der einzige Adapter der Probleme macht.
Die Fehler kommen unregelmäßig. tado.com ist in der Außnameliste manuell rein gepackt.
Aber immer noch das Problem

@HGlab01
Copy link
Collaborator

HGlab01 commented Jun 22, 2024

Hey hab das selbe Problem... scheinbar durch Adguard? Ist aber der einzige Adapter der Probleme macht. Die Fehler kommen unregelmäßig. tado.com ist in der Außnameliste manuell rein gepackt. Aber immer noch das Problem

es ist auch kein Request vom Adapter zum Tado-Server, es ist ein Request vom Adapter zum DNS-Server

@McR1983
Copy link

McR1983 commented Jun 22, 2024

Hey hab das selbe Problem... scheinbar durch Adguard? Ist aber der einzige Adapter der Probleme macht. Die Fehler kommen unregelmäßig. tado.com ist in der Außnameliste manuell rein gepackt. Aber immer noch das Problem

es ist auch kein Request vom Adapter zum Tado-Server, es ist ein Request vom Adapter zum DNS-Server

vllt die 30sec zu knapp? Oder eher ein anderes Problem? Aber dann müsste jeder Adapter ja Probleme machen oder?

@denjo82
Copy link

denjo82 commented Jun 23, 2024

Es ist wirklich nur Tado der mit adguard nicht klar kommt. Ich weiß auch echt nicht weiter.

@HGlab01
Copy link
Collaborator

HGlab01 commented Jun 24, 2024

Ich bin kein adguard-Spezialist - Ich kann mir nur vorstellen, dass das Tool die Anzahl an DNS-Requests nicht mag.
Wie gesagt, die Requests gehen an deinen DNS-Server nicht zu tado.com. Somit nützt es nichts wenn es eine Ausnahme für tado.com gibt.

@HGlab01 HGlab01 added support and removed bug Something isn't working labels Jun 24, 2024
@McR1983
Copy link

McR1983 commented Jun 24, 2024

Ich habe mal nachgeschaut, ist auf 20 Anfragen die Sekunde eingestellt im Standard, sollte reichen...
Habe testhalber mal den Client in die Ausnahmeliste gepackt. Mal sehen

@denjo82
Copy link

denjo82 commented Jun 24, 2024

Ich habe es sogar auf 40 und auch in die Ausnahme liste, gerade wieder ein error gehapt

@denjo1982
Copy link
Author

Ich habe mal nachgeschaut, ist auf 20 Anfragen die Sekunde eingestellt im Standard, sollte reichen... Habe testhalber mal den Client in die Ausnahmeliste gepackt. Mal sehen

und hat es was geholfen???

@McR1983
Copy link

McR1983 commented Jun 25, 2024

Ich habe mal nachgeschaut, ist auf 20 Anfragen die Sekunde eingestellt im Standard, sollte reichen... Habe testhalber mal den Client in die Ausnahmeliste gepackt. Mal sehen

und hat es was geholfen???

Hey also im Moment scheint es ruhig zu sein. Keine LOG Einträge dazu. Tado Adapter hatte ich auf 30sec gelassen. Auch kein abschalten durch den iobroker, nach den mehrfachen Fehlern.. Mal abwarten.

In Adguard Home: Also unter DNS-Serverkonfiguration alles so gelassen auch die 20Stk pro sec. Nur die IOB IP dort in der Ausnahme eingetragen.

Werde den iob auch mal wieder raus nehmen und die 20 auch auf höher stellen...

Morgen mal Neustart vom IOB testen und gucken...

@McR1983
Copy link

McR1983 commented Jun 25, 2024

Also ich kann in Aguard sehen, das der Adapter extrem viele Anfragen pro Sec. macht...
Das kann dann schon zu dem Problem führen siehe Foto, mal eben 15 Stk pro sec. wahrscheinlich eher mehr...

Screenshot_20240625_185909_Firefox

@denjo82
Copy link

denjo82 commented Jun 25, 2024

Ja das habe ich auch schon bemerkt

@McR1983
Copy link

McR1983 commented Jun 27, 2024

Hey, hatte jetzt auf 50 Anfragen gestellt und den iob aus der Ausnahme heraus genommen, hatte innerhalb eines Tages nur einen Fehler. Aber wohl nur kurz dann...
Das ist ja schon eine deutliche Verbesserung.

Klar wenn der IOB komplett in der Ausnahme gar keinen Fehler.

Allerdings bleibt die Frage warum dieser Adapter so extrem viele Anfragen pro Sekunde macht @HGlab01 ?

Vielleicht kann man da ja was machen, andere Adapter scheinen das wohl nicht zu machen?!
Zumindest gibt es keine Fehler im LOG oder sogar die Abstürze mit Endergebnis das der Adapter durch den IOB automatisch abgeschaltet wird.
Das ist dann echt doof.

Also Meine Lösung wird erstmal sein auf 60 Anfragen pro sec. den Adguard Home zu erweitern. Schade...denn das gilt für allen Trafic und die Ausnahme ja leider auch... Also eigentlich nur eine Notlösung.

LG

@denjo82
Copy link

denjo82 commented Jun 27, 2024

Ich habe jetzt einfach auf 100 sec gestellt. Und ja tado macht die meisten abfragen in mein Netzwerk mit Abstand die meisten, wäre toll wenn es weniger geht.

@McR1983
Copy link

McR1983 commented Jun 27, 2024

Ja definitiv ist das sehr komisch

@McR1983
Copy link

McR1983 commented Jun 27, 2024

@HGlab01

Ich habe 1,5 Millionen Anfragen von wirklich all meinen Heimnetzgeräten.
Jetzt kommts, davon sind ca. 30% Tado (470.000), also von dem Tado Iob Adapter.

Und wir reden hier von einigen Windows PCs, Handys TVs, Alexas, Firetvs usw... Nichts macht so viel Trafic....

Von meiner Seite kann das hier zu, aber das könnte man mal als Verbesserung oder Bug einstellen

@denjo82
Copy link

denjo82 commented Jun 27, 2024

Screenshot_20240627_204222_Samsung Internet

Ich hab auch 85821 wie man sieht.

@HGlab01
Copy link
Collaborator

HGlab01 commented Jun 28, 2024

Die Tado REST-API besteht aus vielen fine-grained calls was auch ein State of the Art Design ist.
Wenn man alle (relevanten) Informationen abfragen will, dann kommen pro Device so 10 bis 15 Calls zusammen. Dann kommen noch ein paar Calls mit übergreifenden Daten dazu.
85.000 Calls in 24 Stunden sind pro 30 Sekunden ca. 30 Calls. Also gehe ich mal davon aus, dass du 2 Tado-Devices hast.
Für REST-Calls sind 30 Calls pro 30 Sekunden nichts.
Diese leichtgewichtigen Calls mit anderen Calls zu vergleichen ist ein Äpfel mit Birnen Vergleichsansatz.

Von extrem vielen Calls pro Sekunde kann hier nicht die Rede sein. Denn es finden die Calls nur im eingestellten Intervall statt und dann natürlich die volle Ladung an Calls damit wieder ein konsistentes Bild entsteht. Derzeit gibt es 1544 aktive Installationen des Adapters. Sentry-Fehler-Log ist unauffällig.
Aber ihr könnt gerne den Adapter mal im Debug-Modus laufen lassen und euch mal inspirieren lassen, welche Daten hier alle gesammelt werden damit ein umfassendes Abbild der Tado-Welt im ioBroker entsteht.

Mit euren Analysen habt ihr nur nicht euer Problem analysiert.
Wie ich schon geschrieben habe, geht es um die DNS-Auflösung und nicht um die REST-Calls zu Tado. Das ist genau der Schritt zuvor, wenn der Adapter beim konfigurierten DNS-Server zum Host-Namen die IP-Adresse haben will. Und da stottert der DNS-Server immer wieder. Mag auch sein, dass es hier viele Calls gibt, weil der Tado-Host-Name oft aufgelöst werden muss. Nur kein DNS-Server hat mit ein paar hundert Requests in der Minute ein Problem.

Zu guter Letzt noch ein persönlicher Gedanke
Eure Art der Formulierungen und scheinbar auch die Erwartungshaltung, die aus den Formulierungen ableitbar sind, sollten euch eher dazu veranlassen eine kommerzielle Lösung und keine OpenSource Lösung zu verwenden. Bei kommerziellen Produkten sind eure (nicht ganz fundierten) Aussagen und v.a. Forderungen besser aufgehoben (nicht dass ihr dort so rasch wie hier eine Reaktion bekommt oder gar eine Lösung) als in einer OpenSource Community, in der engagierte Menschen in ihrer Freizeit kostenlos an Lösungen arbeiten und der Allgemeinheit zur Verfügung stellen.

@denjo82
Copy link

denjo82 commented Jun 28, 2024

Ich will hier niemanden angreifen oder so, ihr macht alle tolle Arbeit. Ich bin leider kein Profi.

@serpentes80
Copy link

serpentes80 commented Jul 16, 2024

Hallo zusammen,

mein Tado Adapter kackt zur Zeit auch ständig ab. Seit wann genau kann ich nicht sagen, da die Heizung aus ist, merke ich das ja nicht ohne drauf zu schauen.
Aber in den letzten Tagen musste ich die Instanz täglich neu starten.

das einzige, was ich in den Logs finden konnte, war das hier:
2024-07-15 03:03:49.685 - �[31merror�[39m: tado.0 (28685) AxiosError: timeout of 20000ms exceeded 2024-07-15 03:03:49.700 - �[31merror�[39m: tado.0 (28685) Error in data refresh at step DoWeather: AxiosError: timeout of 20000ms exceeded 2024-07-15 03:03:49.701 - �[31merror�[39m: tado.0 (28685) Disconnected from Tado cloud service ..., retry in 30 seconds !

habe auch Tage, wo kein einziger Logeintrag von Tado zu finden war - denk mal da hing der Adapter komplett. Habe jetzt mal das Loglevel erhöht, aber bis zur Heizsaison sollte das wieder laufen 😬

Edit:
achja, bei mir ist kein Adguard o.ä. aktiv.

@HGlab01
Copy link
Collaborator

HGlab01 commented Jul 17, 2024

Da k.... nichts ab, es gibt einfach für eine gewisse Zeit keine Antwort vom Tado-Server und die Fehlermeldung wird vom Adapter abgefangen und ausgegeben.
Works as designed
Hat auch offensichtlich keinen Zusammenhang mit #842

@HGlab01 HGlab01 closed this as completed Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants