PDF open issue with PDFJS express

Which product are you using?
PDF.js Express Plus

PDF.js Express Version

Detailed description of issue
I have some valid URLs which PDFJS can’t open.

Expected behavior
Actually, I have a lot of valid PDF URLs. Expected behavior open PDF with the listed URL.

Does your issue happen with every document, or just one?
Not for every URL.

Link to document

  1. https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0230503&type=printable
  2. [0810.3252] High Energy Sources Observed with OMC
  3. https://core.ac.uk/download/335344838.pdf
  4. http://europepmc.org/backend/ptpmcrender.fcgi?accid=PMC5325212&blobtype=pdf

Code snippet

initializeWebViewer = () => {
        path: '/static/pdfexpress',
        initialDoc: this.props.initialDoc,
        disableFlattenedAnnotations: true,
        disabledElements: [
          // 'textPopup',
          // 'toggleNotesButton',
        licenseKey: '##############'
    ).then(instance => {)

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:


Hey there,

1, 2 & 4) This is not an issue with PDF.js Express, but is an issue with the server serving this files. It does not allow cross origin requests and therefore the file cannot be downloaded by Express.

  1. I can load this file with no issues