Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Proxy Error while trying to integrate JIRA with Github



We are trying to Integrating JIRA On premises instance with Github but we receive below error after making necessary configuration chnges. Can someone help


Error details:


Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /secure/admin/AddGithubOrganization.jspa.

Reason: Error reading from remote server

1 answer

0 votes

This is what it says - "error reading from remote server" - the proxy has passed your POST command to Jira and Jira has not responded with anything that works.

This could be a misconfigured proxy, or that Jira is not configured correctly, or that the POST is not a valid thing to send on that url, or Jira isn't responding at all.

I'd check if you can get to the Jira url in a browser first - does the proxy give the same error, a different one, or does it work ok?  (Note that a browser would be starting with GET though)

@Nic Brough _Adaptavist_ Hello Nic,


Thank you for your response. 


when you say I'd check if you can get to the Jira url in a browser first- you mean accessing JIRA  url like normal url or anything special ?


if its just basic url - yes it works without any issues.


ofcourse we have implemnted the similar functionality in one of our lower environment . only in this environment it is not working. 


any other suggestions ?

Let's say you're running Jira on server1, and that has a url of http://server1:8080/jira 

Your  are asking your proxy to expose that Jira as https://server2/jira

What do you get when you point your browser at those two urls?

@Nic Brough _Adaptavist_  when i try to login to jira with http and try to integrate jira with github i get github login page provided my credentials it takes me into jira ..


unfortunately i dont  see  git account being configured .



@Nic Brough _Adaptavist_  i have admin access in jira and i have admin access in github . still when i try to configure with http://server1:8080/jira . i get github loginpage. when i enter my credentals it takes me to https url of jira... when i try to open applications>DVCS accounts i dont see any github account added.


am i missing something here ?

I am afraid I do not understand what you are getting now.   Could you answer the question I asked before, looking at the systems separately, not jumping between them in the same sentence?

@Nic Brough _Adaptavist_ what exactly do you refer to server2 in below URL


Your  are asking your proxy to expose that Jira as https://server2/jira?


when i try to login to my jira with below url


. it takes me to homepage without any issues

I need you to explain what you have and what you are trying to do in simple single lines.

The error message tells us you are running Jira behind a proxy server.

A proxy server relays a connection from one place to another (there's several reasons for doing this, it's not important why you are doing this)

So, imagine your Jira server is running on a box

  • called server1
  • having a local ip address of
  • with a context of "/jira"
  • This means you can access Jira on http://server1:8080/jira (or (or
  • The proxy is set up to show Jira on http://server2/jira

I need to know what

  • the base url for your Jira is
  • what happens when you browse to the server directly
  • what happens when you go via the proxy

Suggest an answer

Log in or Sign up to answer
Site Admin

Atlassian Community Events