Failed to load jsReport generated PDF in Chrome



  • Hi,

    We are using jsReport generating large PDF files (~7000 kb) and hosting the generated PDFs in a static folder on IIS. However, opening those PDFs always failed initially in Chrome. Here is the error message:
    0_1540600372607_upload-b7eb049e-1e23-4383-8de7-3168a8d90bd6

    I have to refresh the page several time to load the PDF correctly.

    Do you have any idea about the issue?

    Thank you,
    Genhan



  • Can you share that pdf? Are you able to replicate such issue in playground?
    Do you use pdf utils extension?

    I've never heared about such issue when rendering with chrome or phantomjs so far.



  • Here is the generated PDF: https://www.dropbox.com/s/szn8diubiqkt8q3/Plans.pdf

    We did use "pdf utils" to merge headers and footers. This PDF is hosted as a static file on IIS 8. I tried to open the file using Chrome 69.0.3497.92 and Firefox 63, and both failed.

    Unfortunately it is hard to replicate the program in playground since it is connected with our local database.

    Any suggestion is really appreciated.

    Genhan



  • Hm, I can open this pdf in chrome, firefox or acrobat.
    I have chrome version 70.0.3538.77



  • May I ask what server (IIS, Apache ...) are you using to host this PDF?

    Thank you!



  • I've just download it and open on my PC.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.