Problems trying to get the attached files to an issue using HTTPS

I have problems trying to get the attached files to an issue through HTTPS using a client made in AngularJS+NodeJS+ExpressJS.

This client makes use of the JIRA API so I can get information of projects, issues, even information related to the files attached, but when I try to get the file I get a 502 error or HTTP /1.1 Service Unavailable.

Is this something directly related to the use of HTTPS?, because if I configure mi client to point to JIRA using HTTP then I'm able to open the files attached.

Thanks in advance.

1 answer

0 votes
Boris Berenberg Community Champion Jun 08, 2015

Can you reproduce the issue using curl? It sounds like there is a server or proxy error occurring. Any errors in the JIRA logs when this happens?

Hello Boris, thanks for your answer!

I've  used Curl and Wget and I keep getting the same error. No, there are no entries in JIRA log, it seems that is something related to the communication between my client and the JIRA server, but only when I use HTTPS. There are no firewalls on the network and the only proxy configured is the one from JIRA.

I have installed the CA on my Debian and when I try to get the attached file from any ISSUE the same error happens: "502 Bad Gateway" or "HTTP /1.1 Service Unavailable."

 

Thanks

 

 

Boris Berenberg Community Champion Jun 09, 2015

Do you have a proxy between JIRA and the world? Maybe the proxy is handling something wrong?

Between JIRA and the world, yes, but there are no messages that indicate that there is something wrong. Really weird.

Boris Berenberg Community Champion Jun 09, 2015

If you execute the curl attempt directly on the JIRA server and bypass the proxy, does the issue re-occur?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,309 views 12 19
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you