Proxy Error while trying to integrate JIRA with Github

Bsrkprasad June 25, 2020

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
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 25, 2020

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)

Bsrkprasad June 28, 2020

@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 ?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 28, 2020

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?

Bsrkprasad June 29, 2020

@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 .

 

  

Bsrkprasad June 29, 2020

@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 ?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 30, 2020

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?

Bsrkprasad June 30, 2020

@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

Bsrkprasad July 3, 2020

Hello@Nic Brough -Adaptavist- any updates on this?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2020

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 192.168.1.42
  • with a context of "/jira"
  • This means you can access Jira on http://server1:8080/jira (or (or http://192.168.1.42:8080/jira)
  • 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
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events