Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S Streaming Server
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

This server will be updated to version 14.10.5 on wednesday the 6th of july between 7:00 pm to 8:00 pm

  • memoriav
  • Memobase 2020
  • services
  • Streaming Server
  • Issues
  • #7

Closed
Open
Created Jun 09, 2020 by Sebastian Schüpbach@sschuepbachOwner

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.

Assignee
Assign to
Time tracking