Bug #2373
HTTP/403 when proxy settings are defined in environment variables
Start date:
03/25/2019
Due date:
% Done:
100%
Description
To reproduce the issue, add proxy settings to /opt/splunk/etc/splunk-launch.conf:
HTTP_PROXY = XXXXX HTTPS_PROXY = XXXXX
Associated revisions
Adding ability to define a proxy override list
Closes #2373
History
#1 Updated by Luke Murphey over 5 years ago
Observations:
- I found that the proxy is used when I set the environment variables
- How is the customer saying that the proxy is not being used?
- Is the customer's proxy using authentication?
- Do the customers want to disable the proxy?
- How can I disable the proxy in requests?
- https://stackoverflow.com/questions/28521535/requests-how-to-disable-bypass-proxy/28521696
- This works: os.environ['no_proxy'] = '*'
- This doesn't work: session.trust_env = False
#2 Updated by Luke Murphey over 5 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100