@thomas-braun
Also die ganzen Bemühungen hier haben leider das Problem nicht behoben. Mein JS Adapter stürzt immer noch of ab. Teilweise 2x am Tag, teilweise läuft er auch zwei Tage. Ich starte dann immer neu. Total ärgerlich weil ich auch Überschlussladen etc für das eAuto darüber realisiert habe und der Wage dann natürlich nicht lädt.
Ich habe folgendes im sys-Log dazu gefunden
Apr 29 12:47:25 homeserver bash[565527]: Was not able to detect the Linky linky_mode. Default to historique
Apr 29 12:47:25 homeserver bash[565527]: Was not able to detect the Linky energy_phase. Default to single_phase
Apr 29 12:47:25 homeserver bash[565527]: Not able to detect the current tarif. Not filtering any expose...
Apr 29 12:50:00 homeserver bash[565527]: (node:565605) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
Apr 29 12:50:00 homeserver bash[565527]: (Use `node --trace-warnings ...` to show where the warning was created)
Apr 29 12:50:00 homeserver bash[565527]: 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:
Apr 29 12:50:00 homeserver bash[565527]: 0
Apr 29 12:50:00 homeserver bash[565527]: 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:
Apr 29 12:50:00 homeserver bash[565527]: 0
Apr 29 12:50:00 homeserver bash[565527]: 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:
Apr 29 12:50:00 homeserver bash[565527]: 0
Apr 29 12:50:01 homeserver bash[565527]: ================================== > LOG REDIRECT system.adapter.javascript.0 => false [Process stopped]
Apr 29 12:50:01 homeserver bash[565527]: ================================== > LOG REDIRECT system.adapter.javascript.0 => false [system.adapter.javascript.0.logging]
Apr 29 12:55:00 homeserver bash[565527]: (node:565868) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
Apr 29 12:55:00 homeserver bash[565527]: (Use `node --trace-warnings ...` to show where the warning was created)
Apr 29 12:55:00 homeserver bash[565527]: 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:
Apr 29 12:55:00 homeserver bash[565527]: 0
Apr 29 12:55:00 homeserver bash[565527]: 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:
Apr 29 12:55:00 homeserver bash[565527]: 0
Apr 29 12:55:00 homeserver bash[565527]: 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:
Apr 29 12:55:00 homeserver bash[565527]: 0
Apr 29 12:55:01 homeserver bash[565527]: ================================== > LOG REDIRECT system.adapter.javascript.0 => false [Process stopped]
Apr 29 12:55:01 homeserver bash[565527]: ================================== > LOG REDIRECT system.adapter.javascript.0 => false [system.adapter.javascript.0.logging]
Apr 29 13:00:00 homeserver bash[565527]: (node:565961) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
Apr 29 13:00:00 homeserver bash[565527]: (Use `node --trace-warnings ...` to show where the warning was created)
Apr 29 13:00:00 homeserver bash[565527]: 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:
Apr 29 13:00:00 homeserver bash[565527]: 0
Apr 29 13:00:01 homeserver bash[565527]: ================================== > LOG REDIRECT system.adapter.javascript.0 => false [Process stopped]
Apr 29 13:00:01 homeserver bash[565527]: ================================== > LOG REDIRECT system.adapter.javascript.0 => false [system.adapter.javascript.0.logging]
Nach meiner Interpretation wird da die Konstante NODE_TLS_REJECT_UNAUTHORIZED für JS bzw node scheinbar so gesetzt, dass sie eine Warnung generieren kann und dieser Warnung führt dann dazu das eine Funktion zu einem Fehler führt, das dazu führt das der JS Adapter in den Restart-Loop geht (Sieht man ja auch gut im log)
Meine Frage: Wie kann man die Node-Konstante setzen? Als normale System-Environment-Variable funktioniert das irgendwie nicht. Oder kann ich das im ioBroker irgendwo setzen?
Und dann der Hinweis mit "node --trace-warnings" wie kann ich bei der ioBroker installation node startparamter mitgeben?
Danke für Hilfe,
selector