-
Bug
-
Resolution: Timed out
-
Low (View bug fix roadmap)
-
None
-
DCON - old releases
-
JIRA 6.2.2
-
Severity 3 - Minor
-
The problem:
While configuring Github integration, the setup screen returns "error obtain access token" as in the following screenshots:
The following appears on atlassian-jira.log:
2014-04-08 10:32:45,944 http-bio-8622-exec-15 WARN admin 632x331x1 1ycok0n 192.168.10.136 /secure/admin/AddGithubOrganization!finish.jspa [spi.github.webwork.AddGithubOrganization] Error obtaining access token. Cannot access https://github.com from Jira. 2014-04-08 10:32:45,944 http-bio-8622-exec-15 WARN admin 632x331x1 1ycok0n 192.168.10.136 /secure/admin/AddGithubOrganization!finish.jspa [spi.github.webwork.AddGithubOrganization] Caused by: https://github.com/login/oauth/access_token
Current behavior:
If you click "Try Again" it redirects you to Github 404 page. If you click "Cancel" you see that the integration is set, but not all repositories appear on the list.
The only way to get the full repositories list is by selecting "Refresh list" as in the screenshot bellow:
Expected behavior:
The setup screen should complete the operation without any error and the list of repositories should be display without the need to select "Refresh list".
[JSWSERVER-14217] Error obtaining access token while configuring Github integration
Workflow | Original: JAC Bug Workflow v2 [ 2852208 ] | New: JAC Bug Workflow v3 [ 2938190 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Symptom Severity | Original: Minor [ 14432 ] | New: Severity 3 - Minor [ 15832 ] |
Workflow | Original: JIRA Bug Workflow w Kanban v7 - Restricted [ 2546192 ] | New: JAC Bug Workflow v2 [ 2852208 ] |
Status | Original: Closed [ 6 ] | New: Resolved [ 5 ] |
I got this error when I was using the GitHub-hosted (non-on-prem) version of GitHub Enterprise. I had picked the 'GitHub' option in the dropdown instead of 'GitHub Enterprise'. I was able to work around the issue by picking 'GitHub Enterprise' instead of 'GitHub', and using https://github.com/ as the instance URL.