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)?
Linux
Reproduction steps
Jenkins master running behind a corporate proxy that requires authentication.
Authentication credentials set up in jenkins system configuration
O365 notificaitions fail with
Apr 16, 2021 9:41:19 AM SEVERE org.apache.commons.httpclient.HttpMethodDirector executeConnect
Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials
org.apache.commons.httpclient.auth.InvalidCredentialsException: Credentials cannot be used for NTLM authentication: org.apache.commons.httpclient.UsernamePasswordCredentials
at org.apache.commons.httpclient.auth.NTLMScheme.authenticate(NTLMScheme.java:342)
at org.apache.commons.httpclient.HttpMethodDirector.authenticateProxy(HttpMethodDirector.java:327)
at org.apache.commons.httpclient.HttpMethodDirector.executeConnect(HttpMethodDirector.java:498)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:178)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:404)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:330)
at jenkins.plugins.office365connector.HttpWorker.run(HttpWorker.java:83)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Results
Expected result:
Notification works
Actual result:
Notification fails due to HttpClient trying NTLM auth but only receiving UsernamePasswordCredentials here:
Version report
Jenkins and plugins versions report:
Reproduction steps
Results
Expected result:
Notification works
Actual result:
Notification fails due to HttpClient trying NTLM auth but only receiving UsernamePasswordCredentials here:
office-365-connector-plugin/src/main/java/jenkins/plugins/office365connector/HttpWorker.java
Lines 113 to 114 in 3a5e628
The text was updated successfully, but these errors were encountered: