How to set http proxy for connect S3 service?
-
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 changehttpProxy
setting in config.toml. They all seem not work. -
Hi,
Are you running XOA or XO from the sources?
-
@olivierlambert I'm running XO from the sources
-
Adding @julien-f in the loop.
-
@olivierlambert I'm use latest commit
I run XO in a docker, and I tried run a backup job that connect S3 remote, environment variable of backup process is correct
-
@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.
-
@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.