These are chat archives for UniversalViewer/universalviewer

24th
Sep 2015
Masson Xavier
@noxa02
Sep 24 2015 14:14
Hi guys, my website is in "https" but in the info.json , it return an "http" url. Where can i change it ?
Edward Silverton
@edsilv
Sep 24 2015 15:28
Hi, to which info.json are you referring? Is it one that you have created? If so, how are you generating it? If not, I think you're probably stuck with whatever is being served - but this shouldn't matter?
Masson Xavier
@noxa02
Sep 24 2015 15:32
Nop it's generated automatically by IIIF
Edward Silverton
@edsilv
Sep 24 2015 15:34
Ok, sounds like you're stuck with http. Is this causing a problem with the UV?
Masson Xavier
@noxa02
Sep 24 2015 15:40
Yep, "Mixed Content" but all my urls images from manifest are "https" and same for the manifest url
Edward Silverton
@edsilv
Sep 24 2015 15:59

I can reproduce this:

https://universalviewer.azurewebsites.net/?jsonp=null&testids=false&defaultToFullScreen=false&manifest=https%3A%2F%2Fwellcomelibrary.org%2Fiiif%2Fb18035723%2Fmanifest&locale=en-GB#?c=0&m=0&s=0&cv=0

https://developer.mozilla.org/en-US/docs/Security/MixedContent/How_to_fix_website_with_mixed_content

"The best strategy to avoid mixed content blocking is to serve all the content as HTTPS instead of HTTP."

There are two options I suppose. The first is that you change the page hosting the UV to http (I'm assuming this is not desirable/possible), the second is to get the institution hosting the manifests to change all of their content and resource identifiers to https, which is probably what everyone should be doing by default. I think the scope of this is bigger than the UV and more relevant to the IIIF-discuss group:

https://groups.google.com/forum/#!forum/iiif-discuss

If you like I can ask a question on there for you?

I don't understand, all my urls are https
except I get warnings due to the images being redirected to http
Masson Xavier
@noxa02
Sep 24 2015 16:10
Yep but look your url the lock for https "Insecure connexion"
Cause by this warning
Edward Silverton
@edsilv
Sep 24 2015 16:16
blob
looks like the tile requests are being redirected to http on your server
Masson Xavier
@noxa02
Sep 24 2015 16:22
Oh ok i will look in this way ! Thanks you :)
Edward Silverton
@edsilv
Sep 24 2015 16:22
no worries :-)