You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Connection is dropped early with Content-Type "application/stream+json", could be ambassador or AWS ELB.
To Reproduce
I have a K8S cluster deployed in AWS with kops, and ambassador is in front of my java backend. I also have an auth service in Go connected to ambassador.
Everything works fine with application/json requests.
I implemented an endpoint with Flux to support application/stream+json and text/event-stream. The endpoint works fine locally (without ambassador), but when I deploy it in my cluster and try a curl, I get this error.
"curl: (18) transfer closed with outstanding read data remaining"
I receive some data (2400 json objects over 10000)
When I check the logs, I notice that ambassador logs twice:
ambassador service receives the request
my java service receive the request
another ambassador service receives the request
The connection is closed when the second ambassador service receives the request.
Why does it receive that second request, could it be related?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
Connection is dropped early with Content-Type "application/stream+json", could be ambassador or AWS ELB.
To Reproduce
I have a K8S cluster deployed in AWS with kops, and ambassador is in front of my java backend. I also have an auth service in Go connected to ambassador.
Everything works fine with application/json requests.
I implemented an endpoint with Flux to support application/stream+json and text/event-stream. The endpoint works fine locally (without ambassador), but when I deploy it in my cluster and try a curl, I get this error.
"curl: (18) transfer closed with outstanding read data remaining"
I receive some data (2400 json objects over 10000)
When I check the logs, I notice that ambassador logs twice:
The connection is closed when the second ambassador service receives the request.
Why does it receive that second request, could it be related?
Here is the response headers:
Expected behavior
The connection shouldn't be closed before I receive all the data.
Versions (please complete the following information):
Additional context
I need help, but it seems I can't but the tag on this issue.
The text was updated successfully, but these errors were encountered: