Open ingvilow opened 2 years ago
It's not an Issue. Just change requestTimeout
inside HubConnectionBuilder
.
Common problem is race condition, especially on flutter hotReload. Check that start is not called twice at the same time. For example, if your code is based on 'chatPageViewModel.dart' just remove openConnection
from model constructor:
Hi, thanks you for such great package.
I am struggiling with this error - SEVERE: 2022-08-16 16:01:01.915620: Failed to complete negotiation with the server: TimeoutException after 0:00:02.000000: Future not completed
If there any chance to prevent it? I get a big pile of data and I don't want my websocket connection to fail and I need to wait until it is all done. As I understand it is not a backend issue (or may be I am wrong, I have searched a lot about this problem but any solutions dosen't work in my case).
My code is like that:
Thanks you for your replying :)