-
Bug
-
Resolution: Fixed
-
Medium
-
6.3.8, 6.4, 6.4.2, 6.4.4, 6.4.5, 6.4.8, 6.4.9, 6.4.11, 6.4.12, 6.4.13, 7.0.5, 7.1.0, 7.1.7, 7.2.1, 7.3.0, 7.2.3, 7.2.9, 7.3.6, 7.3.8, 7.7.1, 7.5.5
-
6.03
-
57
-
Severity 2 - Major
-
216
-
-
Steps to reproduce the problem
- Install a Charles Proxy
- Create a HTTP proxy settings via Charles - see http-proxy.png
- Configure the parameters below to JVM argument via $JIRA_INSTALL/bin/setenv file:
-Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=8888 -Dhttp.nonProxyHosts=requestb.in
- Save it and start JIRA.
- Configure a webhook to http://requestb.in/ for example like this test-webhook-642.png
- Create a new issue to fire a webhook.
- The http://requestb.in URL is showing in the Charles traffic (which mean -Dhttp.nonProxyHosts is not working).
Expected Result
The -Dhttp.nonProxyHosts is respected and the traffic is not directed to the proxy. The Request Bin URL shouldn't be showed in the traffic if the -Dhttp.nonProxyHosts is working.
Actual Result
The WebHook goes through the proxy.
From the logs :
2016-01-19 13:25:00,973 httpclient-callbacks:thread-23 WARN anonymous [atlassian.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Client error - 400 when posting to web hook at 'http://requestb.in/xxxxx'
Additional Information
- Tested on 6.4.2 and 6.4.3
- The problem is not occurring in JIRA 6.3.15, thus this is a regression.
Workaround
See "Upgrading" section from Current status
- is duplicated by
-
JRASERVER-43088 Webhook doesn't respect -Dhttp.nonProxyHosts
- Closed
- is related to
-
JRASERVER-41388 WebHooks will not log any errors or throw an exception when there's a connection error
- Closed
-
JSWSERVER-19934 Accessing Version and licensing page return 500 error with NoClassDefFoundError: org/apache/http/impl/auth/BasicScheme
- Closed
- relates to
-
JRASERVER-35119 Webhooks do not work with HTTP proxies that require auth
- Gathering Impact
-
RAID-835 Loading...
- is blocked by
-
PSR-58 Loading...
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
- was cloned as
-
RAID-89 Loading...