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

    How to set http proxy for connect S3 service?

    Scheduled Pinned Locked Moved Xen Orchestra
    7 Posts 3 Posters 1.0k Views 3 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.
    • L Offline
      luxurious
      last edited by luxurious

      Hi, Is there anyway that I can connect a remote S3 service use http proxy, when I direct connect AWS S3 it is very slow, so I need connect them with a http proxy .

      I'm tried to set http_proxy HTTP_PRXOY https_proxy HTTPS_PRXOY environment variable at machine run Xen Orchestra , And change httpProxysetting in config.toml. They all seem not work.

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

        Hi,

        Are you running XOA or XO from the sources?

        L 2 Replies Last reply Reply Quote 0
        • L Offline
          luxurious @olivierlambert
          last edited by

          @olivierlambert I'm running XO from the sources

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

            Adding @julien-f in the loop.

            1 Reply Last reply Reply Quote 0
            • L Offline
              luxurious @olivierlambert
              last edited by

              @olivierlambert I'm use latest commit
              c7707239-2950-4943-a20b-ca0f04f4d3bd-image.png

              I run XO in a docker, and I tried run a backup job that connect S3 remote, environment variable of backup process is correct
              9c4b3413-e6ec-48e6-be86-67609f0a14fd-image.png

              julien-fJ 1 Reply Last reply Reply Quote 0
              • julien-fJ Offline
                julien-f Vates 🪐 Co-Founder XO Team @luxurious
                last edited by

                @luxurious The S3 connector does not support HTTP proxies at this time.

                We are currently using this library to handle proxies in XO, unfortunately it does not support HTTP keep-alive at this time.

                Disabling HTTP keep-alive in S3 backups would result in severe perf impact.

                I have no solution at this time.

                L 1 Reply Last reply Reply Quote 0
                • L Offline
                  luxurious @julien-f
                  last edited by

                  @julien-f ok, thanks. I will temporary use Transparent proxy to connect S3 service, which can't use my main firewall setting is a downside, other than that is work well.

                  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