Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
33.63k stars 1.88k forks source link

Stream error in the HTTP/2 framing layer #5862

Open FlexViking opened 1 year ago

FlexViking commented 1 year ago

Expected Behavior

That a valid JSON response is returned The service that I am using allows for passing oData query via query param. This service works fine from Postman. My service provider downloaded Insomnia and and tried, he received the same error.

Actual Behavior

Stream error in the HTTP/2 framing layer

A POST request with a payload & NO oData query param works fine A POST request with a payload (that I know won't match any records) + an oData query param returns 204, which is fine A POST request with a payload (that I know matches records) + an oData query param fails. A GET request (different endpoints) + an oData query param works

If I look at the timeline, it appears that the service provider is marking the request as a 200 and that the issue occurs during the stream of the response. An endless stream of chunks is being returned to me before I get "HTTP/2 stream 0 was not closed cleanly". The response is not that big ... a single chunk .. not sure why it's streaming so much ...

Switching from HTTP/2 to HTTP/1.1 doesn't not fix the issue

Service provider thinks it has to do with URL escaping? But I am not so sure since the GET command works fine.

Reproduction Steps

No response

Is there an existing issue for this?

Additional Information

No response

Insomnia Version

2023.1.0

What operating system are you using?

Windows

Operating System Version

Windows 10 - 19044.2604

Installation method

Insomnia updates itself

Last Known Working Insomnia version

Never tried before this version

FlexViking commented 1 year ago

I had one of my developers write an Java Integration Test to test the oData microservice and it correctly returned a response. This seems to be an issue with Insomnia or one of it's libraries.

max-wittig commented 8 months ago

Same problem here, since 8. So currently its just unusable in combination with https://github.com/Kong/insomnia/issues/6580

mukteshkrmishra commented 2 months ago

Same problem.

mmathys commented 1 month ago

same problem here as well.

ndbeyer commented 1 month ago

same problem here as well.