In my JIRA catalina.properties file I have:
http.proxyHost=<our proxy IP>
http.proxyPort=<our proxy port>
http.nonProxyHosts=localhost|127.0.0.1|<the local IP>
The intent of these properties are to allow for the plugin manager and gadgets/widgets to contact the internet. And, it works. With these settings the Plugin Manager gets through our proxy to plugins.atlassian.com.
However, now calls to Fisheye (installed on the same server; localhost) are going through the proxyHost (it seems the nonProxyHosts property is ignored). The Fisheye logs indicate that the web proxy's IP is not allowed. These errors do not occur if I remove the proxyHost setting (but then Plugin Manager and external gadgets stop working).
2011-09-28 15:34:29,454 WARN [btpool0-351 ] com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator-authenticate - Failed to login trusted application: jira:7809542 due to: com.atlassian.security.auth.trustedapps.InvalidCertificateException: Request not allowed from IP address: <our proxy's IP address>
2011-09-28 15:34:29,455 ERROR [btpool0-351 ] com.atlassian.fisheye.trustedapplications.FisheyeAuthenticationListener com.atlassian.fisheye.trustedapplications.FisheyeAuthenticationListener-authenticationError - Error handling trusted applications authentication attempt:BAD_REMOTE_IP; Request not allowed from IP address: {0}; ["<our proxy's IP address>"]
I tried this (https://jira.atlassian.com/browse/JRA-20715) and my Fisheye gadget still could not return recent change sets in JIRA when proxyHost, proxyPort, and nonProxyHosts were defined.
Is there a way for me to use a web proxy for my external http requests (plugin manager, external gadgets, etc.) and NOT use it for my internal http (localhost and intranet) requests?