Skip to content

Cannot connect to Fantom through websockets because SNI hostname is not set #50

@NinZine

Description

@NinZine

await p.connect(uri)

I guess the TLSFlags should be passed in explicitly by the user.

In addition, I'm not sure it is a good idea to have no verification by default in the json_rpc library. I would think that it is more common for safe modes, where possible, are turned off by users when necessary (ie. running tests locally).

https://github.com/status-im/nim-json-rpc/blob/335f292a5816910aebf215e3a88db8a665133e0e/json_rpc/clients/websocketclient.nim#L131

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