I try to connect to a hub and get exception on call start();
Unhandled Exception: Exception: HttpConnection.stopConnection(Exception: WebSocket closed with status code: 1002 (null).) was called while the connection is still in the connecting state.
This is my sample code:
`notificationHubConnection = HubConnectionBuilder().withUrl('${AppAPI.apiNotificationHub}?access_token=$token').withAutomaticReconnect().build();
await notificationHubConnection!.start();`
Anyone has this problem ? Thank you very much !!!