sefidgaran / signalr_client

A Flutter SignalR Client for ASP.NET Core
https://pub.dev/packages/signalr_netcore
MIT License
78 stars 112 forks source link

TimeoutException after 0:00:02.000000: Future not completed #18

Closed RazMuhammadAfridi closed 2 years ago

RazMuhammadAfridi commented 2 years ago

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

paulsarknas1 commented 2 years ago

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

luizrsilva commented 2 years ago

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.

Trushar88 commented 2 years ago

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

sefidgaran commented 2 years ago

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