jamiewest / signalr_core

ASP.NET Core SignalR Dart Client
https://pub.dev/packages/signalr_core
MIT License
90 stars 58 forks source link

HubConnection failed to start successfully because of error '{Invalid request method.toString()} #77

Open maliaydemir opened 2 years ago

maliaydemir commented 2 years ago

I am using SignalR succesfully almost all phone. But I realized in Redmi Note7 (Android 10) it doesnt connect SignalR when celcular data is active. I couldun't find any solution therefore I am posting this issue. Maybe Redmi Note 7 phone has some security block. Does anyone get this error? By the way it is working on wifi on Redmi Note 7.

I used AWS ElasticBeanstalk on server side. Api and SignalR wrote with dotnet 5.

I/flutter ( 7123): SignalR log: Starting HubConnection. LogLevel.debug I/flutter ( 7123): SignalR log: Starting connection with transfer format 'TransferFormat.text'. LogLevel.debug I/flutter ( 7123): SignalR log: (WebSockets transport) Connecting. LogLevel.trace I/flutter ( 7123): SignalR log: Failed to start the connection: Invalid request method LogLevel.error I/flutter ( 7123): SignalR log: HubConnection failed to start successfully because of error '{Invalid request method.toString()}'. LogLevel.debug