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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • tfs-plugin
    • None
    • tfs-plugin 5.126.0, Jenkins 2.89.4, Oracle JDK 1.8.0_144-b01/amd64, Windows Server 2008 R2/amd64

      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.

            Unassigned Unassigned
            hpaluch_pil Henryk Paluch
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: