It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Proxy Error while trying to integrate JIRA with Github

Hello,

 

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

http://server1:8080/jira

. it takes me to homepage without any issues

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

3,017 views 11 5
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you