Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

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
Site Admin
TAGS
Community showcase
Published in Bitbucket Pipelines

Bitbucket Pipelines Runners is now in open beta

We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...

495 views 10 8
Read article

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