Chrome : ERR_INSECURE_RESPONSE and allow Chrome browser to load insecure content



Tags : chrome insecure-content javascript-console

There are times when you try to access some web pages such as pages with SSL/https/secured/encrypted pages but with some insecure content in-between. This will cause some part of the page to appear broken because Google Chrome refused to load the insecure content.

Hitting the keyboard shortcut Command + Option + J for Mac or Control + Shift + J for Windows/Linux will bring up the Javascript Console and you see these type of messages :

Failed to load resource : net ::ERR_INSECURE_RESPONSE

chome console err_insecure_response message

To allow Chrome to load the insecure content, you can create a short-cut for launching Chrome browser, but with additional parameter :

--allow-running-insecure-content

For example :

"C:\Program Files\Google\Chrome\Application\chrome.exe" --allow-running-insecure-content

It would be great idea to mark the short-cut with the word "Insecure Content Allowed" so that you will know that launching this instance of Chome that allowed insecure content to be loaded. For normal Internet browsing, it will be advisable to disable insecure content loading, which is the default setting.

Reference :

https://developer.chrome.com/devtools/docs/console



Tags : chrome insecure-content javascript-console

By Adam Ng

IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.


Advertisement