Exclude Satellite fqdn and localhost from possible proxying when user set foreman http proxy
Description of problem:
There is new RFE which implemented general http proxy for foreman(+katello)
If you set the setting to valid http proxy then suddenly all katello pages (and even org edit) throws "403 Forbidden" at you !!! This ultimate breakage is caused by the fact that every request is now proxied, even between internal components and even requests to localhost !!!
Some requests cannot and must not be proxied, for example all katello pages requests candlepin (8443/tcp) going via proxy all is denied.
Unless you specify Satellite FQDN in "HTTP proxy except hosts" which is really really tricky and wouldn't be obvoius to many CUs.
So please exclude Satellite fqdn and localhost by default from being proxied.
Either by listing them by default in "HTTP proxy except hosts" or (for localhost most applicable) exluding them right away in http proxy code.
Version-Release number of selected component (if applicable):
@satellite-6.3.1-3.el7sat.noarch (6.3.2 Snap1)
Steps to Reproduce:
1. Set HTTP proxy (having exlude list empty = which is default)
2. Navigate to any Katello page
"403 Forbidden" keeps smiling at ya
really really tricky and not obvious to many CUs.
setting http proxy breaks product
setting http proxy doesn't break anything
#2 Updated by Tomer Brisker about 1 year ago
- Legacy Backlogs Release (now unused) set to 330
- Subject changed from Exclude Satellite fqdn and localhost from possible proxying when user set foreman http proxy to Exclude Satellite fqdn and localhost from possible proxying when user set foreman http proxy