jenkinsci / jenkinsci/java-client-api
Getting HTTP HttpResponseException
- Vorherrschende Sprache
- Java
- Sterne
- 913
- Forks
- 466
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Getting HTTP HttpResponseException for every API except getVersion().
Below is the exception i am getting:
org.apache.http.client.HttpResponseException: at com.offbytwo.jenkins.client.validator.HttpResponseValidator.validateResponse(HttpResponseValidator.java:11)
at com.offbytwo.jenkins.client.JenkinsHttpClient.get(JenkinsHttpClient.java:152)
at com.offbytwo.jenkins.JenkinsServer.getJobs(JenkinsServer.java:169)
at com.offbytwo.jenkins.JenkinsServer.getJobs(JenkinsServer.java:127)
at Jenkins.main(Jenkins.java:70)
I am just creating the JenkinsServer Object using the URI and username and password and hitting the methods, But getting the above exception.
Seems like it is failing at validating the API. Please Help.
Beitragsleitfaden
Rechercherichtung
Start in com.offbytwo.jenkins.client.validator.HttpResponseValidator.validateResponse and trace the request path through JenkinsHttpClient.get and JenkinsServer.getJobs. Reproduce the reported behavior using the URI, username, password, and API methods described, then inspect the HTTP response details to identify why validation fails. Done means the affected APIs behave correctly while getVersion() continues to work.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- api
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100