sefidgaran / signalr_client

A Flutter SignalR Client for ASP.NET Core

Home Page:https://pub.dev/packages/signalr_netcore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TimeoutException after 0:00:02.000000: Future not completed

RazMuhammadAfridi opened this issue · comments

Dear when i try to connect with server i am getting "TimeoutException after 0:00:02.000000: Future not completed" issue , please check it and if working with you then please advise how can i fix this.

Note: I am using emulator and due to that reason i am accessing the localhost with ip: 10.0.2.2

Hello! I am experiencing the same issue, have you been able to resolve this?

Hello, I've been looking at the source code, and I actually found a default timeout of 2000ms in http_connection.dart

Maybe we could open a PR to expose this value in http_connection_options.dart so you can change this limit.

@RazMuhammadAfridi Hi, I am facing the same issue, have you got any solution for it?

Thanks Luke, pull request has been merged and published.
I am going to close this issue.