Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DioLink._executeDioRequest Timeout exception #473

Open
amritnew opened this issue Oct 11, 2024 · 0 comments
Open

DioLink._executeDioRequest Timeout exception #473

amritnew opened this issue Oct 11, 2024 · 0 comments

Comments

@amritnew
Copy link

amritnew commented Oct 11, 2024

I'm encountering a timeout exception when using the DioLink._executeDioRequest method in my app. It seems that when requests are timeout, it throws an uncaught exception.
I have an PR open with my changes #472

Exception

Fatal Exception: FlutterError
LinkException(DioException [receive timeout]: The request took longer than 0:01:00.000000 to receive data. It was aborted. To get rid of this exception, try raising the RequestOptions.receiveTimeout above the duration of 0:01:00.000000 or improve the response time of the server., #0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520) <asynchronous suspension> #1 DioLink._executeDioRequest (package:gql_dio_link/src/dio_link.dart:198) <asynchronous suspension> #2 DioLink.request (package:gql_dio_link/src/dio_link.dart:71) <asynchronous suspension> )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant