Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Issue: Bitbucket Data Center Dhttp.nonProxyHosts ignored by Wehbook

limboonchia
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 10, 2024

I am using outbound proxy for Bitbucket DC for external network, while bypassing proxy for internal network with below option in the _start-webapp.sh

 -Dhttp.nonProxyHosts=localhost|127.0.0.1|192.168.*.*     

OR

-Dhttp.nonProxyHosts=\"localhost|127.0.0.1|192.168.*.*\"

However, when i was testing connection in wehbook plugin, both localhost and 127.0.0.1 are working and bypassing proxy, while 192.168.x.x server is not reachable . So this seems like ignored by webhook. 

 

Then if I use below option instead, then it works with bypassing proxy. 

 

 -Dhttp.nonProxyHosts=192.168.1.2 

 

Anyone has any resolution on this or encountered before on how to setup multiple target ip addresses ?

 

-Dhttp.nonProxyHosts=localhost|127.0.0.1|192.168.*.* 

1 answer

0 votes
Aman Shrivastava
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 17, 2024

Hi @limboonchia 

I think instead of using -Dhttp.nonProxyHosts=localhost|127.0.0.1|192.168.*.*, if you use -Dhttp.nonProxyHosts=localhost|127.0.0.1|192.168.* , it may work. 
The wildcard character generally doesn't work in the segments of dot notation so you can user it in the beginning or the end. 

Regards,
Aman

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events