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
-
Have you tried during add host server tick Unauthorized Certificates? It must be ticked.

-
@lukask Yes.

-
maybe try other version of nodejs, which version of nodejs you have? I have v16.17.0
-
Thanks @lukask, it was the nodejs version. I had version 19.1.0. Switching to 18.12.1 solved this issue.
-
@olivier-monaco Perfect
-
That's why we put that in bold in our documentation:
Please always use latest Node LTS.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login