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

This widget could not be displayed.

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.

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

163 views 1 3
Join discussion

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