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

getApiJson: (url=...) failed due to Http error #403

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: tfs-plugin
    • Labels:
      None
    • Environment:
      tfs-plugin 5.126.0, Jenkins 2.89.4, Oracle JDK 1.8.0_144-b01/amd64, Windows Server 2008 R2/amd64
    • Similar Issues:

      Description

      After job (which uses TFS plugin) completion we see following errors in jenkins.err.log:

      [timestamp omitted] hudson.plugins.tfs.JenkinsEventNotifier getApiJson
      WARNING: ERROR: getApiJson: (url=job/ZZPILPXI-SWRelayCount-Tests-Run-LinuxARM/63/) failed due to Http error #403

      Fortunately these errors seems to be harmless to us.

      Possible cause

      We have configured Jenkins Security to "Logged-in users can do anything"  mode without "Allow anonymous read access" (so user must be logged-in to access anything in Jenkins).

      It seems that the getApiJson is calling Jenkins without needed authentication info in such case.

        Attachments

          Activity

            People

            • Assignee:
              redsolo redsolo
              Reporter:
              hpaluch_pil Henryk Paluch
            • Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated: