简体   繁体   中英

asp.net image handler (.ashx) not showing images on SSL (https)

I have image handler working fine on HTTP. But The same page when access using https its not showing up the image. When check browser console for errors its showing "ERR_INSECURE_RESPONSE".

This usually occurs when you try to load content from http site into https site. This results into Mixed-Content error.

On http page you can load contents from http or https both but when you are on https site then you can load contents like images or iframe only from https sites.

In this case i assume that the site which is sending request is on https but your ashx page is on http site.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM