Thanks @lukask, it was the nodejs version. I had version 19.1.0. Switching to 18.12.1 solved this issue.
Posts made by olivier-monaco
-
RE: ECONNRESET when new host added
-
ECONNRESET when new host added
Hi,
I've installed XO from source on Debian 11. Added a remote host without issue. Now I try to add local host (XO VM is running on it) and had a ECONNRESET error. VM appears for a few seconds in XO before error.
In XO logs I can see many times:
_watchEvents Error: socket hang up at connResetException (node:internal/errors:711:14) at TLSSocket.socketCloseListener (node:_http_client:461:25) at TLSSocket.emit (node:events:525:35) at TLSSocket.patchedEmit [as emit] (/opt/xen-orchestra/@xen-orchestra/log/configure.js:135:17) at node:net:298:12 at TCP.done (node:_tls_wrap:587:7) at TCP.callbackTrampoline (node:internal/async_hooks:132:17) { code: 'ECONNRESET', url: 'https://10.42.0.250/jsonrpc', call: { method: 'event.from', params: [ [Array], '00000000000001258275,00000000000001258250', 60.1 ] } }
I've found nothing in XCP-ng logs. XCP-ng Center 20.04.01 works. I've not rebooted host so far and will plan it if needed.
Maybe it comes from my SR: I have a SR which is a local folder containing symlink to 4 hard disks. They are used to have direct access to these disks from one VM (something like https://www.zerodispersion.com/xenserver-whole-disk-passthrough/).
Host : XCP-ng 8.2
XO : xo-server : 5.106.1 and xo-web 5.107.0Does anyone has an idea?
Regards,
Olivier