PDF.js Express is calling external site while running

Which product are you using?

PDF.js Express Plus

PDF.js Express Version

UI version 8.7.0
Core version 8.7.4
webviewer.min.js 8.7.4
Build ‘Ni8xNi8yMDIzfDhhZjQyYTgwOTU=’
WebViewer Server false
Full API false

Detailed description of issue
When I run my project locally with NO internet connection, I see in the browser console:
‘PDFJSDocumentType.js:409
POST https://pi.pdfjs.express/events net::ERR_INTERNET_DISCONNECTED’.
This is a concern for one of our customers: they won’t allow any call to an outside address (outside their fire-wall), because of security reason (this is a bank).
My questions are:

  1. is this a problem for the PDF.js Express Plus license? (How is the Domain verified for the license?)
  2. Is there a way to prevent the call out and the resulting repeated error message in the console?

Expected behaviour
PDF.js does not need to call an external side. License still working.

Does your issue happen with every document, or just one?
N/A

Link to document
N/A

Code snippet
N/A

Hi there,

Unfortunately, this cannot be turned off, please see this forum post for more information:

We have a disableLogs option available under the WebViewer constructor that could help:
https://pdfjs.express/api/global.html#WebViewer__anchor

Best regards,
Kevin Kim

Hi Kevin, thanks for your reply. What happens if this call out is blocked? Our customer said that it will not be possible to call a 3rd party web side from inside their Network.

Thanks
~Bastian

Please note that the license agreement calls for not blocking these requests.

Best regards,
Kevin Kim