Webviewer not loading only on one machine

WebViewer Version: 5.2.3

Do you have an issue with a specific file(s)? Arimo-Regular.ttf.lzma
Can you reproduce using one of our samples or online demos? No, This is causing issues to only one user, while other users in the same environment are not facing this problem. User is able to load pdfviewer when using the application from another machine.

Are you using the WebViewer server? No
Does the issue only happen on certain browsers? User is only using latest version of Chrome
Is your issue related to a front-end framework? No
Is your issue related to annotations? No

Please give a brief summary of your issue:
(Think of this as an email subject)
Webviewer not loading only on one machine

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)

Here is the console log of an error received by only one user -
822d76dd-376d-41e4-bb83-d2c4696a55aa:1 Access to XMLHttpRequest at ‘https://www.pdftron.com/webfonts/v2/Arimo-Regular.ttf.lzma’ from origin ‘xyzxyzxyz’(intentionally updated as only 2 links are allowed in this post) has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

In network logs -
Following request fails for this user - https://www.pdftron.com/webfonts/v2/Arimo-Regular.ttf.lzma


image

Please provide a link to a minimal sample where the issue is reproducible: NA

Our application hosting is IIS based and webviewer is integrated with AngularJS.
It seems to be a CORS error, but only for 1 user! All other users using same version of application and workflow are not receiving any error.

  1. We are trying to understand where exactly a change is needed to support CORS. Please help.
  2. Would moving to latest version of webviewer resolve this?

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:

Guides:APIs:Forums:

Hello bhushan.panchabhai,

Thank you for reaching out to us regarding this issue.

Would you be able to see if the user having trouble with CORS can get WebViewer to load on a different browser or in incognito mode on the same machine? The issue could possibly be caused by a browser extension such as an ad blocker if it’s only that machine with the issue and only in Chrome.

Best Regards,

Carlo Mendoza
Software Developer
PDFTron Systems, Inc.
www.pdftron.com