Mixed content error when connecting to imageserver in Kubernetes
Dear Jürgen,
the mediaserver is up and running on Kubernetes: https://media.memobase.k8s.unibas.ch/.
The connection to the Cantaloupe instance works as well:
- https://media.memobase.k8s.unibas.ch/memo/sig-2/iiif/info.json
- https://media.memobase.k8s.unibas.ch/iiif/sig-2/open/iiif/2/N_Eugen_Thierstein_206_12.jp2/full/full/0/default.jpg
However, it is not possible to view the image in the provided OpenSeadragon instance since we get a mixed content error:
Mixed Content: The page at 'https://media.memobase.k8s.unibas.ch/memo/sig-2/iiif/view' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://media.memobase.k8s.unibas.ch/memo/sig-2/iiif/info.json?auth='. This request has been blocked; the content must be served over HTTPS.
I assume that the error stems from this line: https://gitlab.switch.ch/memoriav/memobase-2020/services/streaming-server/-/blob/master/pkg/memostream/memoServerHandlerMain.go#L148.
I guess we can safely remove this switch since we use a proxy for the mediaserver which does not allow non-TLS connections.