Open bwofsi opened 2 years ago
I've created simpler projects, including a C# client which works without any issues, but in the Dart client I now get
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Failed to invoke 'Identify' due to an error on the server.
There's some traffic on the server but I can't get any valuable information from it. Maybe you're more skilled than me?
tests_dartr.zip
Same Here
Fixed by going with docs of parameter on clients and server like KeepAliveInterval & you should increase the timeout of HttpConnectionOptions like this:
final httpOptions = new HttpConnectionOptions(logger: transportProtLogger, requestTimeout: 15000, skipNegotiation: true, transport: HttpTransportType.WebSockets);
Same problem (C# client works) and on flutter 'GeneralError (The underlying connection was closed before the hub handshake could complete.)' that happen when I add Authentication only
Trying to connect to a dotnet6.0 SignalR server, I'm constantly getting this error in sensor.connect():
Cannot connect to sensor: Invocation canceled due to the underlying connection being closed.
What is the issue? A C# client works like a charm.main.dart:
sensor.dart: