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

Iobroker reports error when offline #14

Closed
Fatmax1982 opened this issue Mar 17, 2024 · 3 comments
Closed

Iobroker reports error when offline #14

Fatmax1982 opened this issue Mar 17, 2024 · 3 comments

Comments

@Fatmax1982
Copy link

Iobroker reports continuously error when inverter is offline due to missing sun:

Unknown error: Error: connect ETIMEDOUT xxx.xxx.xxx.xxx:8050. Stack: Error: connect ETIMEDOUT xxx.xxx.xxx.xxx:8050 at AxiosError.from (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:837:14) at RedirectableRequest.handleRequestError (/opt/iobroker/node_modules/axios/dist/node/axios.cjs:3083:25) at RedirectableRequest.emit (node:events:514:28) at eventHandlers. (/opt/iobroker/node_modules/follow-redirects/index.js:38:24) at ClientRequest.emit (node:events:514:28) at Socket.socketErrorListener (node:_http_client:501:9) at Socket.emit (node:events:514:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

@JBSullivan
Copy link

Schließe mich dem an und - für eine nächste Version bitte ggf. noch die Units (W, kwh) zu den Werten mit einpflegen - vielen Dank.

`

ap-systems-ez1.0 | 13572 | 2024-04-29 20:51:17.004 | info | onOffStatus: undefined -- | -- | -- | -- | -- ap-systems-ez1.0 | 13572 | 2024-04-29 20:51:17.004 | error | Unknown error: Error: connect ETIMEDOUT 10.122.60.114:8050. Stack: Error: connect ETIMEDOUT 10.122.60.114:8050 at AxiosError.from (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\node_modules\axios\dist\node\axios.cjs:836:14) at RedirectableRequest.handleRequestError (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\node_modules\axios\dist\node\axios.cjs:3086:25) at RedirectableRequest.emit (node:events:517:28) at eventHandlers. (C:\ioBroker\GLT\node_modules\follow-redirects\index.js:38:24) at ClientRequest.emit (node:events:517:28) at Socket.socketErrorListener (node:_http_client:501:9) at Socket.emit (node:events:517:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at Axios.request (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\node_modules\axios\dist\node\axios.cjs:3876:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ApSystemsEz1Client.getRequest (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\build\lib\ApSystemsEz1Client.js:40:24) at async ApSystemsEz1Client.getOnOffStatus (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\build\lib\ApSystemsEz1Client.js:61:20) ap-systems-ez1.0 | 13572 | 2024-04-29 20:51:17.003 | info | deviceInfo: undefined ap-systems-ez1.0 | 13572 | 2024-04-29 20:51:17.002 | error | Unknown error: Error: connect ETIMEDOUT 10.122.60.114:8050. Stack: Error: connect ETIMEDOUT 10.122.60.114:8050 at AxiosError.from (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\node_modules\axios\dist\node\axios.cjs:836:14) at RedirectableRequest.handleRequestError (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\node_modules\axios\dist\node\axios.cjs:3086:25) at RedirectableRequest.emit (node:events:517:28) at eventHandlers. (C:\ioBroker\GLT\node_modules\follow-redirects\index.js:38:24) at ClientRequest.emit (node:events:517:28) at Socket.socketErrorListener (node:_http_client:501:9) at Socket.emit (node:events:517:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at Axios.request (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\node_modules\axios\dist\node\axios.cjs:3876:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ApSystemsEz1Client.getRequest (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\build\lib\ApSystemsEz1Client.js:40:24) at async ApSystemsEz1Client.getDeviceInfo (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\build\lib\ApSystemsEz1Client.js:53:20) ap-systems-ez1.0 | 13572 | 2024-04-29 20:51:17.001 | info | maxPower: undefined ap-systems-ez1.0 | 13572 | 2024-04-29 20:51:17.001 | error | Unknown error: Error: connect ETIMEDOUT 10.122.60.114:8050. Stack: Error: connect ETIMEDOUT 10.122.60.114:8050 at AxiosError.from (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\node_modules\axios\dist\node\axios.cjs:836:14) at RedirectableRequest.handleRequestError (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\node_modules\axios\dist\node\axios.cjs:3086:25) at RedirectableRequest.emit (node:events:517:28) at eventHandlers. (C:\ioBroker\GLT\node_modules\follow-redirects\index.js:38:24) at ClientRequest.emit (node:events:517:28) at Socket.socketErrorListener (node:_http_client:501:9) at Socket.emit (node:events:517:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at Axios.request (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\node_modules\axios\dist\node\axios.cjs:3876:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ApSystemsEz1Client.getRequest (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\build\lib\ApSystemsEz1Client.js:40:24) at async ApSystemsEz1Client.getMaxPower (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\build\lib\ApSystemsEz1Client.js:90:20) ap-systems-ez1.0 | 13572 | 2024-04-29 20:51:17.000 | info | alarmInfo: undefined ap-systems-ez1.0 | 13572 | 2024-04-29 20:51:16.999 | error | Unknown error: Error: connect ETIMEDOUT 10.122.60.114:8050. Stack: Error: connect ETIMEDOUT 10.122.60.114:8050 at AxiosError.from (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\node_modules\axios\dist\node\axios.cjs:836:14) at RedirectableRequest.handleRequestError (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\node_modules\axios\dist\node\axios.cjs:3086:25) at RedirectableRequest.emit (node:events:517:28) at eventHandlers. (C:\ioBroker\GLT\node_modules\follow-redirects\index.js:38:24) at ClientRequest.emit (node:events:517:28) at Socket.socketErrorListener (node:_http_client:501:9) at Socket.emit (node:events:517:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at Axios.request (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\node_modules\axios\dist\node\axios.cjs:3876:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ApSystemsEz1Client.getRequest (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\build\lib\ApSystemsEz1Client.js:40:24) at async ApSystemsEz1Client.getAlarmInfo (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\build\lib\ApSystemsEz1Client.js:57:20) ap-systems-ez1.0 | 13572 | 2024-04-29 20:51:16.997 | info | outputData: undefined ap-systems-ez1.0 | 13572 | 2024-04-29 20:51:16.997 | error | Unknown error: Error: connect ETIMEDOUT 10.122.60.114:8050. Stack: Error: connect ETIMEDOUT 10.122.60.114:8050 at AxiosError.from (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\node_modules\axios\dist\node\axios.cjs:836:14) at RedirectableRequest.handleRequestError (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\node_modules\axios\dist\node\axios.cjs:3086:25) at RedirectableRequest.emit (node:events:517:28) at eventHandlers. (C:\ioBroker\GLT\node_modules\follow-redirects\index.js:38:24) at ClientRequest.emit (node:events:517:28) at Socket.socketErrorListener (node:_http_client:501:9) at Socket.emit (node:events:517:28) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at Axios.request (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\node_modules\axios\dist\node\axios.cjs:3876:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async ApSystemsEz1Client.getRequest (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\build\lib\ApSystemsEz1Client.js:40:24) at async ApSystemsEz1Client.getOutputData (C:\ioBroker\GLT\node_modules\iobroker.ap-systems-ez1\build\lib\ApSystemsEz1Client.js:65:20) ap-systems-ez1.0 | 13572 | 2024-04-29 20:51:15.988 | info | url: http://10.122.60.114:8050/getMaxPower ap-systems-ez1.0 | 13572 | 2024-04-29 20:51:15.986 | info | url: http://10.122.60.114:8050/getOnOff ap-systems-ez1.0 | 13572 | 2024-04-29 20:51:15.985 | info | url: http://10.122.60.114:8050/getAlarm ap-systems-ez1.0 | 13572 | 2024-04-29 20:51:15.984 | info | url: http://10.122.60.114:8050/getOutputData ap-systems-ez1.0 | 13572 | 2024-04-29 20:51:15.983 | info | url: http://10.122.60.114:8050/getDeviceInfo `

@Fatmax1982
Copy link
Author

@tobiasexner any update planned to solve this issue?

tobiasexner added a commit that referenced this issue Jun 19, 2024
avoid error message with setting "ignore connection error messages" = true
tobiasexner added a commit that referenced this issue Jun 19, 2024
tobiasexner added a commit that referenced this issue Jun 20, 2024
…-when-offline

Bugfix issue #14: Iobroker reports error when offline
@tobiasexner
Copy link
Owner

Fixed with v0.1.0
new parameter ignoreConnectionErrorMessages in adapter settings.
Enable it for ignoring these log messages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants