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
Message:
org.apache.http.HttpException: No credentials for preemptive authentication
Caused by:
org.apache.http.client.ClientProtocolException
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:909)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at com.offbytwo.jenkins.client.JenkinsHttpClient.get(JenkinsHttpClient.java:141)
at com.offbytwo.jenkins.model.Job.details(Job.java:40)
at com.baloise.confluence.dashboardplus.jenkins.JenkinsService.fetchData(JenkinsService.java:43)
... 2 more
Caused by: org.apache.http.HttpException: No credentials for preemptive authentication
at com.offbytwo.jenkins.client.PreemptiveAuth.process(PreemptiveAuth.java:38)
at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:109)
at org.apache.http.protocol.HttpRequestExecutor.preProcess(HttpRequestExecutor.java:176)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:515)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
... 6 more
The text was updated successfully, but these errors were encountered:
The message org.apache.http.HttpException: No credentials for preemptive authentication gives me the impression that the problem is something different.
When trying to get job details, but it throws exception.
I'm using Jenkins with ssl and CloudBees "Folders Plugin" installed:
Interesting thing that job name with this plugin have such structure:
%folder_name%/job/%job_name%
Here simple steps for reproduce:
JenkinsServer jenkins = new JenkinsServer(new URI(host), "name", "token");
JobWithDetails job = jenkins.getJob("job_name");
job.details();
The main problem of such behaviour that
Message:
org.apache.http.HttpException: No credentials for preemptive authentication
Caused by:
org.apache.http.client.ClientProtocolException
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:909)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at com.offbytwo.jenkins.client.JenkinsHttpClient.get(JenkinsHttpClient.java:141)
at com.offbytwo.jenkins.model.Job.details(Job.java:40)
at com.baloise.confluence.dashboardplus.jenkins.JenkinsService.fetchData(JenkinsService.java:43)
... 2 more
Caused by: org.apache.http.HttpException: No credentials for preemptive authentication
at com.offbytwo.jenkins.client.PreemptiveAuth.process(PreemptiveAuth.java:38)
at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:109)
at org.apache.http.protocol.HttpRequestExecutor.preProcess(HttpRequestExecutor.java:176)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:515)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
... 6 more
The text was updated successfully, but these errors were encountered: