You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What Operating System are you using (both controller, and any agents involved in the problem)?
Jenkins server runs on RHEL 8.6
Reproduction steps
Set on JVM the -Dhttp.proxyUser, -Dhttp.proxyPassword and -Dhttp.nonProxyHosts
Set the proxy settings in Jenkins, proxy user, proxy password, non proxy hosts
Setup the plugin and test the connection to SSC
The URL to SSC should be bypassing the proxy by using the non proxy hosts setup
Expected Results
Test to SSC connection succeeds
Actual Results
With checkbox Use Jenkins proxy OFF
Result: Cannot connect to SSC server. java.io.IOException: Failed to authenticate with proxy
With checkbox Use Jenkins proxy ON
Cannot connect to SSC server. java.io.IOException: Unexpected response code for CONNECT: 503
Anything else?
Seems the plugin is not taking care of the non proxy host value and still tries to use the proxy value - but the proxy must not be used in this specific case for the SSC URL.
The text was updated successfully, but these errors were encountered:
@flopma@maftema Sorry, I'm afraid I'm unable to reproduce the issue. I configured a proxy in Jenkins (Manage Jenkins -> Manage Plugins), added *.sscdomain.net to the "No Proxy Host" (each exception on a separate line), used correct credentials, then used Advanced... -> Validate Proxy and checked non-proxy and via-proxy URLs, everything was successful. Then, I enabled "Use Jenkins proxy" and tried Test Connection, and it worked well. Could you please give me exact values for No Proxy Host field and Validate Proxy URL and your SSC URL? We do have a logic in the plugin to check for No Proxy Host list, I am wondering if it's a matter of providing a correct pattern to have this excluded?
Hello Anna, thx for your reply. I'm out of office so can't answer your question right now. However, can you comment if you are using a proxy requiring authentication? Because this is the case for us here... Thx
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Jenkins server runs on RHEL 8.6
Reproduction steps
Set on JVM the -Dhttp.proxyUser, -Dhttp.proxyPassword and -Dhttp.nonProxyHosts
Set the proxy settings in Jenkins, proxy user, proxy password, non proxy hosts
Setup the plugin and test the connection to SSC
The URL to SSC should be bypassing the proxy by using the non proxy hosts setup
Expected Results
Test to SSC connection succeeds
Actual Results
With checkbox Use Jenkins proxy OFF
Result: Cannot connect to SSC server. java.io.IOException: Failed to authenticate with proxy
With checkbox Use Jenkins proxy ON
Cannot connect to SSC server. java.io.IOException: Unexpected response code for CONNECT: 503
Anything else?
Seems the plugin is not taking care of the non proxy host value and still tries to use the proxy value - but the proxy must not be used in this specific case for the SSC URL.
The text was updated successfully, but these errors were encountered: