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.
Non-Infragistics files like Modernzr can usually be loaded from public CDNs. For example, go to https://cdnjs.com/ and search for modernizr. You can even pick a specific version, which can be important for compatibility. If you find a CDN that carries the file you want, you don't need to download it, you can simply have your script load it from the CDN-- that's what CDN's are for.
The two CDNs I've seen used regularly are Google's (ajax.googleapis.com) and Cloudflare (cdnjs.com) but I'm sure there are others.
ajax.googleapis.com
I can't answer questions about Infragistics license and trial periods. You'll have to contact them directly, or (if they don't notice this thread) post a new message. Or maybe your question is answered already in their FAQ or another post in the forums.
Hi Matt
Thanks for your quick reply. I also tried doing the same way and copied these file from the respective urls
http://cdn-na.infragistics.com/igniteui/2015.2/latest/css/themes/infragistics/infragistics.theme.css,
http://cdn-na.infragistics.com/igniteui/2015.2/latest/css/structure/infragistics.css
http://cdn-na.infragistics.com/igniteui/2015.2/latest/js/infragistics.core.jshttp://cdn-na.infragistics.com/igniteui/2015.2/latest/js/infragistics.lob.js
but could not download from http://modernizr.com/downloads/modernizr-latest.js as this was giving me error: {"statusCode":404,"error":"Not Found"}
how i can overcome this issue.
Also, I haven't purchased the license yet will it not work after trial period is over.
Manish Kumar
Manish,
We avoided this problem by hosting all the Infragistics files on our own server.
Hope this helps,
Matt
I am also facing the same issue as described above and i came to know that url https://cdn-na.infragistics.com is not accepted by the browser with the following details
"This server could not prove that it is cdn-na.infragistics.com; its security certificate is from *.cloudfront.net. This may be caused by a misconfiguration or an attacker intercepting your connection."
One solution i found out was to add the cdn-na.infragistics.com; into exception of the respective browser manually but that don't seem to be a feasible solution as there are many end users may not be that technical and might not have any idea about this issue at all. Please suggest some way to deal with this issue asap.
I am glad you have managed to resolve your issue. Sharing this experience and knowledge here in the thread is highly appreciated since other community members can benefit from it as well.