# SUSE Manager 3: virtual-host-gatherer and HTTP proxy

**URL:** <https://forums.suse.com/t/suse-manager-3-virtual-host-gatherer-and-http-proxy/29314>\
**Category:** SUSE Multi Linux Manager\
**Created:** [February 2, 2017, 9:39am UTC](https://forums.suse.com/t/suse-manager-3-virtual-host-gatherer-and-http-proxy/29314 "2017-02-02T09:39:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![timstein](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@timstein](https://forums.suse.com/u/timstein)\
**Post date:** [February 2, 2017, 9:39am UTC](https://forums.suse.com/t/suse-manager-3-virtual-host-gatherer-and-http-proxy/29314/1 "2017-02-02T09:39:51Z")

</div>

Hello,

IÂm trying to get the virtual-host-gatherer up and running but as soon as I configure a HTTP proxy server via “Admin → Setup Wizard → HTTP Proxy” the gatherer fails with the following error:

`2017-02-02 08:15:02,354 gatherer.modules.VMware - ERROR: HTTPSConnectionPool(host=HostnameRemoved', port=443): Max retries exceeded with url: //sdk/vimServiceVersions.xml (Caused by ProxyError('Cannot connect to proxy.', error('Tunnel connection failed: 502 Bad Gateway',)))
2017-02-02 08:15:02,355 gatherer.modules.VMware - ERROR: Could not connect to the specified host using specified username and password.
2017-02-02 08:15:02,356 root - WARNING: Scanning finished`  
Unfortunately there is no way of configuring proxy exceptions via the web interface and we need the proxy for mirroring the channels.

Any help is appreciated.

Thanks and regards  
Tim

---

<div class="post-metadata">

**Author:** ![kwk](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/kwk/32/11997_2.png) [@kwk](https://forums.suse.com/u/kwk)\
**Post date:** [February 3, 2017, 11:30am UTC](https://forums.suse.com/t/suse-manager-3-virtual-host-gatherer-and-http-proxy/29314/2 "2017-02-03T11:30:28Z")

</div>

Proxy handling in Linux is a bit cumbersome, sorry for that.

Please also set the proxy via YaST and try again.

---

<div class="post-metadata">

**Author:** ![timstein](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@timstein](https://forums.suse.com/u/timstein)\
**Post date:** [February 3, 2017, 11:49am UTC](https://forums.suse.com/t/suse-manager-3-virtual-host-gatherer-and-http-proxy/29314/3 "2017-02-03T11:49:31Z")

</div>

Thanks for your answer!

> [@kwk;36389](#):
>
> Please also set the proxy via YaST and try again.

I already did but unfortunately with no success.

In the meantime I found a workaround for this problem:  
[LIST=1]  
[_]Disable the HTTP proxy via “Admin → Setup Wizard → HTTP Proxy”  
[_]Restart SUSE Manager  
[\*]Enable the HTTP proxy via “Admin → Setup Wizard → HTTP Proxy”  
[/LIST]  
This makes virtual-host-gatherer, the SCC synchronization and spacewalk-repo-sync working.

However, a solution that survives a restart/reboot would be very convenient.

---

<div class="post-metadata">

**Author:** ![timstein](https://avatars.discourse-cdn.com/v4/letter/t/96bed5/32.png) [@timstein](https://forums.suse.com/u/timstein)\
**Post date:** [March 3, 2017, 1:40pm UTC](https://forums.suse.com/t/suse-manager-3-virtual-host-gatherer-and-http-proxy/29314/4 "2017-03-03T13:40:07Z")

</div>

We opened a SR at SUSE.
