Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-55743

performance signature dynatrace plugin integration: Getting response code 503

XMLWordPrintable

      We are creating a pipeline from jenkins to create createDeployementEvent and reportPerfSignatureReport event in dynatrace using performance signature dynatrace plugin. Plugin connection shows sucessfull when we enter dynatrace URL with api token. But when are using the plugin in pipeline with providing the dynatrace managed server api URL, authentication, api token it doesn't work. It gives the below exception. We are not getting any other information from log files. Please help what could be the issue.

       

      Started by user [FSSTAR|http://localhost:8080/user/fsstar]Building in workspace C:\Program Files (x86)\Jenkins\workspace\DynatraceHttp_Jan23HttpMethod: POSTURL: [https://dtserverxxx/e/74fdd165-d231-48b9-8bb2-8f955d5a75bd/api/v1/|https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fray199.dynatrace-managed.com%2Fe%2F74fdd165-d231-48b9-8bb2-8f955d5a75bd%2Fapi%2Fv1%2F&data=02%7C01%7C%7C9c4d56920160487041b808d6811b19b3%7C63ce7d592f3e42cda8ccbe764cff5eb6%7C1%7C0%7C636838350726168221&sdata=CO1ZJj%2FV2mkGUqx9TVjzbTxkthgjpJWoMX%2BinhnZDaA%3D&reserved=0]Content-type: application/jsonAccept: application/jsonAuthorization: *****Sending request to url: [https://dtserverxxx/e/74fdd165-d231-48b9-8bb2-8f955d5a75bd/api/v1/|https://apac01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fray199.dynatrace-managed.com%2Fe%2F74fdd165-d231-48b9-8bb2-8f955d5a75bd%2Fapi%2Fv1%2F&data=02%7C01%7C%7C9c4d56920160487041b808d6811b19b3%7C63ce7d592f3e42cda8ccbe764cff5eb6%7C1%7C0%7C636838350726178231&sdata=yXXirAAWLzPkIhS%2F1dt6hLtId5%2FhzUVYOCOjOwp%2B6v8%3D&reserved=0]Response Code: HTTP/1.1 503 Service UnavailableERROR: Build step failed with exceptionhudson.AbortException: Fail: the returned code 503 is not in the accepted range: [[100?399]]        at jenkins.plugins.http_request.HttpRequestExecution.responseCodeIsValid(HttpRequestExecution.java:306)        at jenkins.plugins.http_request.HttpRequestExecution.processResponse(HttpRequestExecution.java:316)        at jenkins.plugins.http_request.HttpRequestExecution.authAndRequest(HttpRequestExecution.java:232)        at jenkins.plugins.http_request.HttpRequestExecution.call(HttpRequestExecution.java:195)Caused: java.lang.IllegalStateException        at jenkins.plugins.http_request.HttpRequestExecution.call(HttpRequestExecution.java:198)        at jenkins.plugins.http_request.HttpRequestExecution.call(HttpRequestExecution.java:67)        at hudson.remoting.LocalChannel.call(LocalChannel.java:45)        at jenkins.plugins.http_request.HttpRequest.perform(HttpRequest.java:328)        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)        at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)        at hudson.model.Build$BuildExecution.build(Build.java:206)        at hudson.model.Build$BuildExecution.doRun(Build.java:163)        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)        at hudson.model.Run.execute(Run.java:1810)        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)        at hudson.model.ResourceController.execute(ResourceController.java:97)        at hudson.model.Executor.run(Executor.java:429)Build step 'HTTP Request' marked build as failureFinished: FAILURE

            rpionke Raphael Pionke
            surajkumar1582 suraj panda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: