Skip to content

java.net.MalformedURLException: unknown protocol: wss #650

Closed
@aminrz3

Description

@aminrz3

According to the documentation, there is no problem in using the WSS protocol

Socket socket = IO.socket("wss://example.com"); // OK, similar to the example above

But when I use it, it gives the following error:
java.lang.RuntimeException: java.net.MalformedURLException: unknown protocol: wss

Socket mSocket = IO.socket("wss://mydomain.com");

please help me

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions