zino-hofmann / graphql-flutter

A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.

Home Page:https://zino-hofmann.github.io/graphql-flutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connection closed before full header was recieved error

Star-Lord-76 opened this issue · comments

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: [])

can i pick this up ?

can i pick this up ?

Do you have any idea about this error?