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

    How to configure Teleport App service for XO web UI?

    Scheduled Pinned Locked Moved Xen Orchestra
    8 Posts 2 Posters 995 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.
    • D Offline
      djingo
      last edited by djingo

      I would like to access the web UI of XO through Teleport (goteleport.com). On the login page after entering the credentials and clicking Sign-In the Login page just refreshs and clears the input fields and nothing else happens.

      I checked the documentation regarding reverse proxy settings. Teleport allows me to put the header settings as you can see in the attached config, nothing else.

      If someone got that to work I would be happy to see the configuration for Teleport. This is what I have now:

      - name: "xo"
          insecure_skip_verify: true
          uri: "https://xo.ex.com"
          rewrite:
            redirect:
            - xo.ex.com
            headers:
            - "Origin: https://xo.teleport.ex.com"
            - "Host: xo.teleport.ex.com"
      
      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Does Teleport support working with websockets?

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          djingo @olivierlambert
          last edited by

          @olivierlambert yes

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

            Then it should work 🙂 I would ask on Teleport community, because there's no issue to use a reverse proxy with websockets with Nginx or Apache, we even have some example here: https://xen-orchestra.com/docs/configuration.html#reverse-proxy

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              djingo @olivierlambert
              last edited by djingo

              @olivierlambert I have seen that part of the documentation and it did not contain a solution for me. I also talked to the community on the Teleport Slack and some staff member tried to solve it, but was unable to. So I hope the Teleport discussion forum on github will lead to some solution, so for not.

              So lets please keep this post open as someone here who is using Teleport might see it and answer, while that person may or may not follow the Teleport discussion on github.

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

                Just to check: your XO is working, right? (I mean you can login directly?)

                D 1 Reply Last reply Reply Quote 0
                • D Offline
                  djingo @olivierlambert
                  last edited by

                  @olivierlambert yes the XO is working normally

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

                    Then I don't see why it would be a XO problem 🤔

                    FYI, we use JSON-RPC over websockets. Hopefully, someone at Teleport community would be able to pinpoint the problem 🙂

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post