Some test text!
There are generally 2 possible reasons for this at an infrastructure level:
To verify that the connection is being maintained, you should verify that the Websocket isn't being broken at the load balancer level.
To verify the cookie stickiness, you can check the cookies of incoming and out going requests. The cookie
HAPROXID should maintain its value while loading a single document.
The network load balancer does not support Websockets, however, the classic and application balancers do.
If using the classic load balancer all communication will have to be done over SSL and TCP ports rather than HTTP and HTTPS. This is because this balancer does not provide native support for Websockets.
If the links you're providing to WebViewer Server do not have a file extension, you may need to pass an extension. This would need to be passed as an argument to loadDocument
ext option or through the formatting of the file name. Otherwise WebViewer Server will treat it as if it were a PDF and act accordingly.
Ensure that the document you are sending is accessible from the remote location you are requesting it from WebViewer Server's hosted location.
If it cannot retrieve the document, this may be because authentication is incorrect or the file is not physically accessible from WebViewer Server.
You can verify if it's physically accessible by requesting the file from your WebViewer Server host.
You may need to reconfigure your caching options. The default behaviour for WebViewer Server's caching can be found here. We still recommend at least 50GB of disk space to ensure that disk space cannot be consumed faster than the server can produce it.
It's possible that your docker images have taken up too much disk space, you can clear unused docker image space by running the
docker system prune command. You may also see what space is used by calling
docker system df.
Get the answers you need: Support
Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.
Select a platform to get started with your free trial.
Unlimited usage. No email address required.
Join our live demo to learn about use cases & capabilities for WebViewerLearn more