Skip to content

connection issue in production  #132

Description

@yusuf987

everything is working fine in development but in production i am getting bellow error

binary.min.js:1 Mixed Content: The page at 'https://my_url.com/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://null/'. This request has been blocked; this endpoint must be available over WSS.
(anonymous) @ binary.min.js:1
binary.min.js:1 WebSocket connection to 'ws://localhost:9001/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

below is my client code

var client = new BinaryClient('WSS://my_url.com.com:9090');

please let me know if i need share all code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions