Skip to content

WebSocket issue due to mixed content #5578

@aripddev

Description

@aripddev

The same issue which is explained in #4676.

Image

I think the solution is to fix this

const URL_PROTOCOL = window.location.protocol.replace("http", "ws") + "//"; // todo: unused... https...?

with this

const URL_PROTOCOL = window.location.protocol === "https:" ? "wss://" : "ws://";

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions