Skip to content

[BUG]: Assets wont load in a http-only scenario #528

@Jogai

Description

@Jogai

What happened?

In my home setup I have nothing opened up to the internet, and cosmos is not using any ssl certificates whatsoever. Recently the images for assets stopped showing up including icons for the deployed project. This is an example error:

Mixed Content: Upgrading insecure display request ‘http://nachy.lanonly/cosmos/api/favicon?q=http%3A%2F%2Fstirling-pdf%3A8080&servapp=true’ to use ‘https’ favicon

What should have happened?

When cosmos is not running in secure mode the content should not be requested over https

How to reproduce the bug?

  1. Deploy cosmos without ssl options
  2. Assets like logo won't load

Relevant log output

Other details

No response

System details

  • OS: Docker deployment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions