signalr_core
signalr_core copied to clipboard
The underlying connection was closed before the hub handshake could complete.
I/flutter ( 3764): The underlying connection was closed before the hub handshake could complete. I/flutter ( 3764): SignalR HubConnectionState.Disconnected I/flutter ( 3764): Cannot send data if the connection is not in the 'Connected' State.
I believe this is caused by bad certificate as mentioned in #5
I'm getting this fairly consistently, to the point where I've coded a retry for await _connection.start();
Any ideas?
I'm experiencing the same issue, but your workaround works well for the time being - thanks for the idea @shammill !
@sfmskywalker may i know what is the workaround ?
@kivocsa99 Sure, the workaround is to retry the call to await _connection.start(). I think I did it in a loop with a small delay.
facing the same issue please help me