Viewing 3 replies - 1 through 3 (of 3 total)
  • Thank you for your message.

    Actually, when I browse to the HTTPS URL in a browser, I get an ‘unsafe’ warning, presumably due to incorrect SSL certificates. I wouldn’t be surprised if that’s the problem, but please could you send me the URL to a page on your site which embeds the file (using the plugin), and shows the same problem?

    I’ll see if I can think of anything else that might be wrong.

    Dan

    Thread Starter shmew22

    (@shmew22)

    Hello Dan. Thanks for your follow up. The site actually wasn’t live until today. If you try that url now, you will see the ssl warnings are gone. However, I did find that if I browse the site using “https” the pdf loads fine when using the “https” url in the shortcode. If I browse using regular old “http”, the pdf wont load using the “https” url in the shortcode. This is also the case in the opposite configuration. When using “http” in the shortcode, browsing with “https” causes the error.

    Also, try the test page i set up for you (https://washington.kyschools.us/test)

    That makes sense.

    Of course the best solution is for you to always use the same transport (e.g. always https) across your site to avoid inconsistencies. Aside from the PDF warnings, users will see mixed content warnings for images on other parts of your site.

    But it could also be possible to ensure the plugin always tries to use the same transport as the page on which it is loaded, regardless of the url specified in the shortcode.

    We’ll consider it for a future version!

    Thanks,

    Dan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error loading PDFs when using ssl’ is closed to new replies.