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

Connecting to Github with access token fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • blueocean-plugin

      Pre-Requisites:

      Installed Jenkins in AWS EC2 server.

      Installed recommended plusgins and BlueOcean plugin

      Steps:

      PUT http://ec2-xx-xx-xx-xx.us-west-2.compute.amazonaws.com:8080/blue/rest/organizations/jenkins/scm/github/validate/?apiUrl=https://api.github.com 500 (Server Error)
      (anonymous) @ VM161:1
      request @ blueocean-core-js.js:55041
      FetchFunctions.rawFetchJSON @ blueocean-core-js.js:55061
      Fetch.fetchJSON @ blueocean-core-js.js:55148
      createAccessToken @ jenkins-js-extension.js:110574
      createAccessToken @ jenkins-js-extension.js:110731
      executeAction @ jenkins-js-extension.js:56150
      res @ jenkins-js-extension.js:56122
      _createToken @ jenkins-js-extension.js:110893
      onClick @ jenkins-js-extension.js:110962
      _onClick @ jenkins-js-extension.js:107696
      onClick @ jenkins-js-extension.js:107719
      invokeGuardedCallback @ jenkins-design-language.js:53009
      executeDispatch @ jenkins-design-language.js:47426
      executeDispatchesInOrder @ jenkins-design-language.js:47449
      executeDispatchesAndRelease @ jenkins-design-language.js:46872
      executeDispatchesAndReleaseTopLevel @ jenkins-design-language.js:46883
      forEachAccumulated @ jenkins-design-language.js:58886
      processEventQueue @ jenkins-design-language.js:47086
      runEventQueueInBatch @ jenkins-design-language.js:53067
      handleTopLevel @ jenkins-design-language.js:53078
      handleTopLevelImpl @ jenkins-design-language.js:53145
      perform @ jenkins-design-language.js:58297
      batchedUpdates @ jenkins-design-language.js:52883
      batchedUpdates @ jenkins-design-language.js:56607
      dispatchEvent @ jenkins-design-language.js:53220
      blueocean.js:58216 Unhandled Rejection: "Error: fetch failed: 500 for http://ec2-xx-xx-xx-xx.us-west-2.compute.amazonaws.com:8080/blue/rest/organizations/jenkins/scm/github/validate/?apiUrl=https://api.github.com\n at FetchFunctions.checkStatus (http://ec2-xx-xx-xx-xx.us-west-2.compute.amazonaws.com:8080/adjuncts/72fe9d8e/io/jenkins/blueocean/blueocean-core-js.js:54923:25)"
      logUnhandledPromiseRejection @ blueocean.js:58216

       

            Unassigned Unassigned
            softveda Pratik K
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: