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
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.
- We are trying to understand where exactly a change is needed to support CORS. Please help.
- Would moving to latest version of webviewer resolve this?