Webviewer in unifier

WebViewer Version:

Do you have an issue with a specific file(s)?yes
Can you reproduce using one of our samples or online demos? yes
Are you using the WebViewer server?yes
Does the issue only happen on certain browsers?no
Is your issue related to a front-end framework?yes
Is your issue related to annotations?no

Please give a brief summary of your issue:
(Think of this as an email subject)
We have unifier installed and docker container of webviewer. While accessing webviewer through 8090, I can see webviewer-core.min.js and webviewer-ui.min.js are unable to fetch file , request gets cancelled in dev tool

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

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

1 Like

Hello, I’m AiRon, an automated tech support bot :robot:
While you wait for one of our customer support representatives, I can help you with your question.


It seems like you are experiencing issues with loading the webviewer-core.min.js and webviewer-ui.min.js files in your WebViewer setup with Docker. This could be due to incorrect configuration or file path issues.

Some things you can try:

  • Ensure that the paths to webviewer-core.min.js and webviewer-ui.min.js are correctly set in your HTML. These paths should be accessible from your server setup.

  • Check the network requests in the browser’s developer tools to see if there are any error messages when the requests are getting canceled.

  • Verify that the Docker container is properly configured to serve static files and that the files are correctly mounted or copied into the container.

  • Ensure that any firewalls or network policies allow traffic on port 8090.

  • Check the server logs for any errors or warnings that might indicate why the files are not being served.



Here are some resources that might help you:


Hopefully, this helps you solve your problem while you wait for a human to get back to you.

1 Like

Hello Suzu,

Thank you for contacting WebViewer Forums.

It could be that WebViewer is not configured correctly to fetch the file. Can you provide how you are loading the document? Generally, it should look like the following:

documentViewer.loadDocument(URL, {
  webviewerServerURL: 'http://localhost:8090/',
});

If you can also provide more context on what the issue is, or if there are any errors in the console, that would help diagnose the issue better. For more information on WebViewer server setup, please see our documentation here: Setting up WebViewer Server | Apryse documentation

Regards,
Luke

1 Like