Skip to content

WS error in secure environment with https #107

@natanfeitosa

Description

@natanfeitosa

I'm creating a project in Nullstack in Replit, but because the preview is in a secure link https, the ws of the framework gives an insecurity error

liveReload.js:16 Mixed Content: The page at 'https://[replit_project_name].[replit_user].repl.co/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://[replit_project_name].[replit_user].repl.co/'. This request has been blocked; this endpoint must be available over WSS.
Uncaught DOMException: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions