github-for-jira
github-for-jira copied to clipboard
Internal Server Error when connecting GitHub organisation
Hello!
I'm getting 500 Internal Server Error when connecting GitHub organisation. GET https://github.atlassian.com/github/configuration gives 500.
Could you help me to connect my GitHub organisation?
i couldnt be able to do. it think its broken.
@awesome-Leni what is your jira url? I'll look at the logs. Do you have IP Allowlisting enabled in your github org?
IP allowlist is a premium feature :/
@Ritma-Teknoloji you don't need it, the problem is often because IP Allowlisting is enabled and not configured properly. If you don't have it enabled, there shouldn't be any major issue unless you're not the admin of the github organization.
https://github.atlassian.com/github/configuration
gives 500 to me as well. Shame, wanted to give Jira <> Github a spin.
Hi @awesome-Leni @yersoy @Ritma-Teknoloji and @rikur, You'll need to go through the right flow of installing the GitHub for Jira App in your Jira and then proceed with the installation flow for it to make it work.

After installing the app, from the page above, when you click Connect GitHub organization
we'll redirect you to the github/configuration
URL using your current Jira host. Directly navigating to the https://github.atlassian.com/github/configuration
link returns a 500 because we don't know the Jira Host you're trying to install the app.
As Michel mentioned above, if you don't have IP Allowlisting enabled, there shouldn't be any major issue unless you're not the admin of the GitHub organization.
Could you please try to install the app again and, if not successful, could you send your Jira Hosts so we can investigate further on our end? Thanks!
Hey @awesome-Leni @yersoy @Ritma-Teknoloji and @rikur. As we haven’t heard from you in almost 2 months, I’m going to go ahead and close this issue. Please feel free to reopen if you still need assistance.
@rachellerathbone I had this problem today. Installed the Atlassian-side app, clicked the "Connect GitHub organization" button shown in @atrigueiro 's screenshot above, it tried to take me to GitHub to authenticate and get set up but it caused an error. First time I tried it said "Jira Host url is missing", then when I went back a retried I hit the internal server error. The workaround was to go to the GitHub org I wanted to link, install the GitHub-side app there manually first, then go back to the Atlassian side to link the two.
Seems like there's a bug in there somewhere, but if you want a quick "fix" you should update the messaging during the Atlassian-side app install to make it clear that we need to manually install the GitHub-side app before it's possible to connect Jira to GitHub.
@mboudreau @atrigueiro @rachellerathbone thanks for coming back to me! I didn't receive notifications for some reason and only checked the thread now.
I don't have any IP allow listing set up and I'm the admin of the GitHub organisation.
After trying to connect the GitHub organisation again I started to see Unauthorised
in the new window:
I decided I want to see the logs in that pop-up window in Web Developer Tools (I'm using Firefox) which lead me to opening Browser Console (following this answer https://superuser.com/a/1649172).
With Browser Console open and
Request
selected as described in the answer link below I suddenly could see the next step of the integration flow. I went through the integration and now my GitHub organisation is connected to Jira.
@awesome-Leni Can you explain how you got this to work again? I'm also getting the "Unauthorized" message
@awesome-Leni Can you explain how you got this to work again? I'm also getting the "Unauthorized" message
Did you try following the steps I described in my comment above? I don't think my explanation can be more detailed than what I already wrote.
@awesome-Leni Thanks. I got it now. It was a weird issue with my Browser.