Free Support Forum -

Issue using groupdocs viewer behind SSL



I have the groupdocs viewer working properly, however when I navigate to my site using https I get an error in the web developer tools saying :

"My page was loaded over HTTPS, but requested an insecure script ‘http://…/GetJsHandler?script=libs/jquery-1.9.1.min.js’. This request has been blocked; the content must be served over HTTPS."

Is there a fix for this issue ?

Hello John,

Thank you for your inquiry.

You can avoid this issue if you will configure your applicationPath parameter with HTTPS prefix and in such case the GroupDocs.Viewer for Java library will send requests to this url .

Try do this in file :


and in the web developer tools you will see that the Viewer will send all requests to HTTPS , as shown on screenshot(

If you will have more questions please feel free to contact us.


Best regards,
Evgen Efimov
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+