Skip to content

wasm: connection fails with obscure error when using non-TLS #53

@jgraef

Description

@jgraef

Output of the tests when I tried using ws://echo.websocket.org/ or http://echo.websocket.org/: wasm-test.txt

echo.websocket.org sends a redirect to https, but we just give the URL to web_sys and it looks like it just fails because the URL is not safe. This is okay, except we need a better error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions