Connection to Rally URL from ConnectAll server requires proxy and you are not able to create RallyV2 adapter connection from UI even if the proxy is setup in setenv.sh for Tomcat.
Steps to reproduce:
-Dhttps.proxyHost=Proxy.com -Dhttps.nonProxyHosts=*.com -Dhttps.proxyPort=Port -Dhttps.proxyUser=UserName -Dhttps.proxyPassword=**** -Dhttp.proxyHost=Proxy.com -Dhttp.nonProxyHosts=*.com -Dhttp.proxyPort=Port -Dhttp.proxyUser=UserName -Dhttp.proxyPassword=****
systemctl restart connectall-ui
ps -ef | grep java
Expected Results:
Connection should be created as the proxy is in place
Actual Results:
It will give error Credentials are valid but user is not allowed to login and you will find 407 error in UI logs.
3.4.x
When checked the proxy server logs it is found that the proxy username and password is not being passed from ConnectALL and .../UI/tomcat/logs/ConnectAll.logs shows 407 error when attempting to create a connection while the proxy settings are already present in ../UI/tomcat/bin/setenv.sh and proxy settings were visible for the respective process(ps -ef | grep java).
Validated and found that curl to rally URL is not working from server and timing out. It works when proxy is enforced using- export https_proxy="https://username:password@host:port"
systemctl stop connectall-ui
export https_proxy="https://username:password@host:port"
./startup.sh
unset https_proxy
or by connecting a new session./shutdown.sh
systemctl stop connectall-ui