XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XOA doesn't show Console over zerotier vpn

    Scheduled Pinned Locked Moved Xen Orchestra
    2 Posts 3 Posters 1.3k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      Morpheus0x
      last edited by Morpheus0x

      I have a xcp-ng host server called Thor behind a firewall. Zerotier is installed directly on the hypervisor. The Xen Orchestra instance is in a VM on a different machine and also has zerotier installed.

      Everything works except for the console for the VM hosted on Thor and the hypervisor itself. Running xo-server in debug mode I get the following output after clicking on console:

      2021-03-16T19:39:14.225Z xo:main INFO + Console proxy (root - ::ffff:192.168.3.4)
      2021-03-16T19:39:14.488Z xo:api DEBUG root | pool.listMissingPatches(...) [8ms] ==> array
      2021-03-16T19:39:15.097Z xo:api DEBUG root | pool.listMissingPatches(...) [5ms] ==> array
      2021-03-16T19:39:28.506Z xo:proxy-console DEBUG error from the console: {
        error: Error: connect ETIMEDOUT 192.168.0.157:443
            at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
            at TCPConnectWrap.callbackTrampoline (internal/async_hooks.js:131:14) {
          errno: -110,
          code: 'ETIMEDOUT',
          syscall: 'connect',
          address: '192.168.0.157',
          port: 443
        }
      }
      2021-03-16T19:39:41.563Z xo:api WARN root | vm.stats(...) [32s] =!> Error: connect ETIMEDOUT 10.0.2.129:443
      2021-03-16T19:39:42.401Z xo:api DEBUG root | pool.listMissingPatches(...) [4ms] ==> array
        xen-api root@10.11.16.10: event.from(...) [40s] ==> object +4s
      2021-03-16T19:39:44.739Z xo:api DEBUG root | pool.listMissingPatches(...) [5ms] ==> array
      2021-03-16T19:39:45.658Z xo:proxy-console DEBUG error from the console: {
        error: Error: connect ETIMEDOUT 10.0.2.129:443
            at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
            at TCPConnectWrap.callbackTrampoline (internal/async_hooks.js:131:14) {
          errno: -110,
          code: 'ETIMEDOUT',
          syscall: 'connect',
          address: '10.0.2.129',
          port: 443
        }
      }
      2021-03-16T19:39:45.690Z xo:main INFO - Console proxy (root - ::ffff:192.168.3.4)
      

      192.168.3.4 is the IP of the jump host I am using to connect to the Xen Orchestra server, I don't know where 192.168.0.157 is from.
      10.0.2.129 is the local IP of Thor behind the firewall, but the Zerotier IP of the same server is 10.11.2.10 which is the IP I put into the host field for the server inside xoa.
      Screenshot from 2021-03-16 20-45-10.png
      Full disclosure: I installed Xen Orchestra from this install script https://github.com/ronivay/XenOrchestraInstallerUpdater but I don't think that this is the reason it doesn't work. Also none of my servers host anything in a productive environment. This is my hobby.

      How can I get the console to show up?

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Online
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        1. We do not encourage to modify the dom0
        2. Console IP is returned by XAPI. So check your management network IP address.
        1 Reply Last reply Reply Quote 0

        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
        • First post
          Last post