Jump to content

Cloudflare Flexible ssl doesn’t work properly


fastandfurious

Recommended Posts

Hello,

When I activate Cloudflare Flexible ssl I get the following errors. How can I solve it?

Errors in Chrome console:

Uncaught DOMException: Failed to execute 'pushState' on 'History': A history state object with URL 'http://www.WEBSITE.com/topic/2740-main/page/264/' cannot be created in a document with origin 'https://www.WEBSITE.com' and URL 'https://www.WEBSITE.com/topic/2740-main/page/265/?tab=comments#comment-250284'.
    at Function.h.pushState (https://www.WEBSITE.com/uploads/javascript_global/root_library.js?v=14bdd528b21601155032:56:20942)
    at baseController._updateURL (https://www.WEBSITE.com/uploads/javascript_global/root_front.js?v=14bdd528b21601155032:82:9)
    at baseController.paginationClick (https://www.WEBSITE.com/uploads/javascript_global/root_front.js?v=14bdd528b21601155032:80:45)
    at HTMLDivElement.dispatch (https://www.WEBSITE.com/uploads/javascript_global/root_library.js?v=14bdd528b21601155032:2:43090)
    at HTMLDivElement.v.handle (https://www.WEBSITE.com/uploads/javascript_global/root_library.js?v=14bdd528b21601155032:2:41074)
    at Object.trigger (https://www.WEBSITE.com/uploads/javascript_global/root_library.js?v=14bdd528b21601155032:2:71513)
    at HTMLUListElement.<anonymous> (https://www.WEBSITE.com/uploads/javascript_global/root_library.js?v=14bdd528b21601155032:2:72108)
    at Function.each (https://www.WEBSITE.com/uploads/javascript_global/root_library.js?v=14bdd528b21601155032:2:2976)
    at jQuery.fn.init.each (https://www.WEBSITE.com/uploads/javascript_global/root_library.js?v=14bdd528b21601155032:2:1454)
    at jQuery.fn.init.trigger (https://www.WEBSITE.com/uploads/javascript_global/root_library.js?v=14bdd528b21601155032:2:72084)

Link to comment
Share on other sites

I wouldn't recommend the use of Flexible SSL on Cloudflare.

https://support.cloudflare.com/hc/en-us/articles/200170416-End-to-end-HTTPS-with-Cloudflare-Part-3-SSL-options#h_4e0d1a7c-eb71-4204-9e22-9d3ef9ef7fef

Quote

The Flexible SSL option allows a secure HTTPS connection between your visitor and Cloudflare, but forces Cloudflare to connect to your origin web server over unencrypted HTTP. An SSL certificate is not required on your origin web server and your visitors will still see the site as being HTTPS enabled.

 

Flexible is not recommended if your website contains sensitive information. Use Flexible only as a last resort if you are unable to setup SSL at your origin web server.

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...