klein0r / ioBroker.awtrix-light

Integrate your Awtrix Light device (e.g. Ulanzi TC001) via HTTP
https://haus-automatisierung.com
MIT License
62 stars 4 forks source link

[Bug]: ECONNRESET in axios post #127

Closed AdamK-DE closed 4 months ago

AdamK-DE commented 4 months ago

I'm sure that

Version of awtrix-light firmware

123

The problem

der fehler trat wieder auf. alle x wochen mal:

javascript.0 2024-04-23 12:26:00.775 error Error: read ECONNRESET at Function.AxiosError.from (/opt/iobroker/node_modules/iobroker.javascript/node_modules/axios/lib/core/AxiosError.js:89:14) at RedirectableRequest.handleRequestError (/opt/iobroker/node_modules/iobroker.javascript/node_modules/axios/lib/adapters/http.js:610:25) at RedirectableRequest.emit (node:events:517:28) at RedirectableRequest.emit (node:domain:489:12) at ClientRequest.eventHandlers. (/opt/iobroker/node_modules/follow-redirects/index.js:38:24) at ClientRequest.emit (node:events:529:35) at ClientRequest.emit (node:domain:489:12) at Socket.socketErrorListener (node:_http_client:501:9) at Socket.emit (node:events:517:28) at Socket.emit (node:domain:489:12) at emitErrorNT (node:internal/streams/destroy:151:8) at emitErrorCloseNT (node:internal/streams/destroy:116:3) at processTicksAndRejections (node:internal/process/task_queues:82:21)
javascript.0 2024-04-23 12:26:00.775 error Error: read ECONNRESET
javascript.0 2024-04-23 12:26:00.775 error An error happened which is most likely from one of your scripts, but the originating script could not be detected.

**ps: gesendet per blockly/JS:

const axios = require('axios'); var API_SERVER = 'http://'+ ip + '/json/state';

axios.post(API_SERVER, inhalt, { headers: { 'Content-Type': 'application/json' } });**

iobroker.current.log (in debug mode!)

No response

Version of nodejs

123

Version of ioBroker js-controller

123

Version of adapter

123

github-actions[bot] commented 4 months ago

Thanks for reporting a new issue @AdamK-DE!

  1. Please make sure your topic is not covered in the documentation
  2. Please attach all necessary log files (in debug mode!), screenshots and other information to reproduce this issue
  3. Search for the issue topic in other/closed issues to avoid duplicates!
  4. Ensure that you use the latest available beta version of this adapter (not the current stable version): 1.0.0

    Otherwise this issue will be closed.

klein0r commented 4 months ago

Keine Ahnung was das mit awtrix-light zu tun hat?