My web server requires https. I find I am unable to load igLoader or igGrid from cdn-na.infragistics.com, because they seem to assume they will be loaded via http.
// This works but is not allowed by my webserver:
<script type="text/javascript" src="http://cdn-na.infragistics.com/igniteui/2015.1/latest/js/infragistics.loader.js"></script>
// Changing to https fails with browser security errors about mixing https with http:
<script type="text/javascript" src="https://cdn-na.infragistics.com/igniteui/2015.1/latest/js/infragistics.loader.js"></script>
I also tried loading just the loader from a local file, then using it to load the igGrid from your CDN, but that failed in the same way.
We are happy to host the ignite files on our server so this isn't a big problem for us. But are there any third-party CDN's hosting Infragistic with https? If not, you might consider doing that yourself. Or if there is some way to do it already, please let me know how. Thanks!
Hi Matthew,
Actually Infragistics CDN distributes the files via both secure and non-secure protocol, so referencing files via https should work. I believe you should go for fixing the browser warning that prevents you from mixing both secure and non-secure protocols. What is the exact browser version that you are using >?
You are right; I was able to get it to work today. Not sure what changed-- I'm guessing that after I loaded infragistics.loader.js via HTTPS, I must have forgotten to put HTTPS in either the scriptPath or cssPath URLs. When all three paths specify https it works.
This was under Firefox. Chrome failed for a different reason-- the error was:
GET https://cdn-na.infragistics.com/igniteui/2015.1/latest/js/infragistics.loader.js net::ERR_INSECURE_RESPONSE
Apparently Chrome didn't trust the certificate of cdn-na.infragistics.com, because the provider's name (Cloudfront) didn't match. I had to navigate to the URL manually so that Chrome would prompt me to add an exception to trust the certificate. (Allow me to change my original suggestion to, fix your CDN's certificate. :-) But like I said, we'll just host the files ourselves.
Thanks for clearing up my misconception.