miikka
9 years agoMaven
SDK and HTTPS
Hi, is anybody using the SDK with a stage running on HTTPS? I upgraded to the v. 1.2.1 of the SDK and tried configuring the local CSS instance to be served over HTTPS instead of HTTP. But even i...
Hey Mikka,
We don't currently have a solution that we've fully tested for this use case. However I think either of the following should work.
We are looking into making enhancements to this in the future, however currently the above should be a workaround.
Let me know if either of the above solutions work for you.
Hope this helps,
Yuri
Hi YuriK,
I tested both options and was still getting the same errors about some assets not being loaded. And then I realized that the missing assets are not included when exporting the Studio plugin from stage, for example:
http://localhost:9000/html/assets/fonts/fontawesome-webfont.ttf?v=4.3.0 Failed to load resource: the server responded with a status of 404 (Not Found)
As there's no /fonts folder under /assets and it looks like these are coming from the platform definitions:
coreplugin/res/feature/responsivebase/v1.8-lia16.3/res/skins/bootstrap_base/sass/_variables.scss:877://$fa-font-path: '/html/assets/fonts'; coreplugin/res/feature/responsivebase/v1.8-lia16.3/res/skins/bootstrap_base/sass/codebook/_variables-base.scss:956:$fa-font-path: '/html/assets/fonts' !default; coreplugin/res/feature/responsivepeak/v1.8-lia16.3/res/skins/responsive_peak/sass/_variables.scss:1445://$fa-font-path: '/html/assets/fonts';
Some configuration issue maybe?
Cheers,
.M
Hi Miika,
Today, I tried to replicate this issue but was unsuccessful.
It worked when my site was on https, and I got the following output when serving sass.
[11:19:47] Successfully downloaded asset = .tmp/lia/html/assets/fonts/fontawesome-webfont.woff2
I followed the instructions in http://stackoverflow.com/questions/18321032/how-to-get-chrome-to-allow-mixed-content while running Google Chrome on the latest version of SDK & LIA.
Is this issue still persisting when you follow the above steps?
Thanks,
Peter