function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Abdul Mujeeb ShaikAbdul Mujeeb Shaik 

Mixed Content: The VF page was loaded over HTTPS and requesting insecure script(http)

Hi, I am getting this error in console window.

Mixed Content: The page at 'https://c.ap1.visual.force.com/apex/weatherAndGoogleMap_v1?core.apexpages.devmode.url=1' was loaded over HTTPS, but requested an insecure script 'http://api.openweathermap.org/data/2.5/weather?q=London,uk&callback=test'. This request has been blocked; the content must be served over HTTPS.

how can i overcome this issue.
As the visualforcepage is in https and it is trying to call other url of type http.
so how to solve this issue.
thanks 

I am calling 
an http 
James LoghryJames Loghry
When you log into Salesforce, whether it's internally or through a customer or partner community, you're viewing pages in https.  When an a site running on https displays http content, the browser typically warns you that it's displaying insecure content.  The insecure content can be an image, javascript file, etc.

So since you're presumably trying to reference a script using the http protocol, while the site itself is running under https, you're seeing this message.

If you can find a way to call the openweathermap api through https, I would switch to using that route. If not, then I would look for another, more secure api for retrieving weather information.
AmitSahuAmitSahu
Please read the below link. Hoping this will help. 

http://www.getthekt.com/?p=462 (http://www.getthekt.com/?p=462" target="_blank)