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)
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)