Closed molinch closed 11 months ago
I don't know if it's related, but there was a fix here that is in the 14.x previews.
I confirm that 14 fixes the issue.
I used 13.7.1-preview.2 and forced to use latest HotChocolate.Transport.Http with it:
<PackageReference Include="HotChocolate.Transport.Http" VersionOverride="14.0.0-p.15" />
Lucikily it seems to be compatible.
Then it works as a charm. Could the fix be backported to 13? Otherwise SSE is unusable.
We will port this back... just did not have the time yet.
Should be fixed in 13.8.0-preview.3.
Is there an existing issue for this?
Product
Hot Chocolate
Describe the bug
With version 13.4.0 GraphQL SSE subgraph support was added to fusion. (https://github.com/ChilliCream/graphql-platform/pull/6356)
It seems that when SSE messages are bigger than X bytes, then exceptions occur on the gateway, which results in those messages being dropped.
The issue is with GraphQLHttpEventStreamProcessor, see:
The following exception gets thrown:
Steps to reproduce
If you use BCP directly on the downstream service (subgraph), then it works fine
Relevant log output
No response
Additional Context?
No response
Version
13.7.1-preview.2