pusher / NWWebSocket

A WebSocket client written in Swift, using the Network framework from Apple.
MIT License
123 stars 25 forks source link

Getting an error when trying to connect to one websocket server specifically #41

Open nikolalukovic opened 1 year ago

nikolalukovic commented 1 year ago

I'm unable to use this lib to connect to this wss: wss://relay.getalby.com/v1. The error I'm getting is this:

POSIXErrorCode(rawValue: 53): Software caused connection abort
nw_protocol_copy_ws_definition_block_invoke

More specifically this falls in .waiting case of network state with above error inside.

Is there any workaround?