How to fix "Mixed active content has been blocked from loading" in Firefox

I put the project on the server today, and the error "Loading of mixed activity content has been blocked..." appeared when debugging:

The workaround is as follows:

Method 1: Let Firefox not block temporarily

Open a new tab and enter about:config in the address bar to enter the configuration page .
Search for security.mixed_content.block_active_content and change true to false.

Method 2: Avoid including HTTP content in HTTPS pages.

The first method is very impractical, because we cannot require all users to change this configuration.
We can see if it is the reason for submitting content from https to http, and if so, change the requested URL to https.

After investigation, it was found that when accessing the URL, it was indeed http, and it was changed to https, and no error was reported.

I put the project on the server today, and the error "Loading of mixed activity content has been blocked..." appeared when debugging:

The workaround is as follows:

Method 1: Let Firefox not block temporarily

Open a new tab and enter about:config in the address bar to enter the configuration page .
Search for security.mixed_content.block_active_content and change true to false.

Method 2: Avoid including HTTP content in HTTPS pages.

The first method is very impractical, because we cannot require all users to change this configuration.
We can see if it is the reason for submitting content from https to http, and if so, change the requested URL to https.

After investigation, it was found that when accessing the URL, it was indeed http, and it was changed to https, and no error was reported.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325078493&siteId=291194637