zino-hofmann / graphql-flutter

A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
https://zino-hofmann.github.io/graphql-flutter
MIT License
3.25k stars 622 forks source link

Connection closed before full header was recieved error #1405

Open Star-Lord-76 opened 9 months ago

Star-Lord-76 commented 9 months ago

I'm encountering an intermittent issue while fetching data from a GraphQL endpoint using the graphql_flutter package in my Flutter app. Occasionally, I receive the error message "Connection closed before full header was received", while at other times, the requests succeed without any problems.

Here are the logs for more context:

flutter: OperationException(linkException: ServerException(originalException: Connection closed before full header was received, originalStackTrace: #0 IOClient.send (package:http/src/io_client.dart:96:7)

#1 HttpLink._executeRequest (package:gql_http_link/src/link.dart:131:24) #2 HttpLink.request (package:gql_http_link/src/link.dart:76:26) #3 _StreamController._add (dart:async/stream_controller.dart:656:3) , parsedResponse: null), graphqlErrors: [])
priyanshnama commented 9 months ago

can i pick this up ?

Star-Lord-76 commented 9 months ago

can i pick this up ?

Do you have any idea about this error?

WingCH commented 3 months ago

any update? thanks

gellertkacso commented 1 month ago

Any updated on this? experiencing same issue? Any workaround?