Jira software PDF preview issue in reverse proxy mode (IIS)

The PDF preview is working in Firefox but not in other browsers.

I have configured the JIRA software in reverse proxy mode with IIS server. Everything is working perfect except the PDF preview in tickets, it's showing something like below in source of the page in Chrome

"GET https://support.****.com/secure/attachment/20619/biometricLogin.pdf 502 (Bad Gateway)"  and

"Ouch! We can't load the PDF.

/secure/attachment/20619/biometricLogin.pdf" in frontend

but we can download the pdf using this url.  All image previews are working fine but only the PDF format having issues.

Please help..

 

2 answers

0 vote

Hi Suneesh,

What version of JIRA are you running and do you have any PDF relatead plugins, e.g. PDF View Plugin for JIRA?  I tested this in JIRA 7.4 and did not run into this issue. 

In instances where I have seen this happen some users have reported clearing their cache and cookies will fix it at least temporarily. 

502 errors can happen for a number of reasons:

  • A failure to connect to the server
  • No response from the server
  • The server took too long to respond (time out)

If you are on an older version of JIRA I would recommend installing a newer version of JIRA in a test environment and see if you run into the same issue.  If not, upgrade to that version in production after making a backup.

Another options is to make sure detailed HTTP logging is on for IIS and see if there are any clues in your IIS logs.

Cheers,

Branden

 

 

Hi Branden,

Thanks for looking in to this.!

No, I am not using any PDF View plugin in JIRA.

I am using the JIRA server version v7.2 ( "self hosted").

I have configured this in our own infrastructure and the IIS is acting as a reverse proxy (front end ) for the JIRA software.

we can download the PDF using the url but only in chrome we can't see the preview and shows this error.

Hi,

Is there an update to this issue? Seems we are plagued by this too.

Are you also experiencing no problems with Firefox?

Either way, do you have a solution yet?

Would be fantastic.

Thanks.

PS: In an earlier chat with support we came across this: https://confluence.atlassian.com/jirakb/project-sidebar-broken-using-iis-proxy-860033769.html

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

200 views 0 2
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