-
Bug
-
Resolution: Fixed
-
Medium
-
3.3.2, 3.4.0
Steps to reproduce
- Set up Stash using an outbound proxy. In my case, Stash is set to go through Charles proxy setup in the same machine with the following parameter, nonproxyhost is unset to force all connection through the proxy:
-Dhttp.proxyHost=localhost -Dhttp.proxyPort=8888 -Dhttps.proxyHost=localhost -Dhttps.proxyPort=8888
- Add a Crowd Directory in Stash
Expected Results
The request should go through the outgoing proxy set
Actual Results
The request bypasses the proxy. This is proven by the absence of the request from Charles proxy logging. All other connection such as UPM and Application link goes through the proxy, as in Charles proxy logs:
The crowd server used for testing is located at http://10.60.3.44:8095/crowd which is absent from the proxy logs
When using an invalid proxy, connection to Marketplace would fail as expected but connection to Crowd directory will still work as another test to prove that the proxy is being bypassed when adding a directory