openservicemesh / osm

Open Service Mesh (OSM) is a lightweight, extensible, cloud native service mesh that allows users to uniformly manage, secure, and get out-of-the-box observability features for highly dynamic microservice environments.
https://openservicemesh.io/
Apache License 2.0
2.59k stars 277 forks source link

Enabling OSM is blocking the upload of documents received as a payload string content #5341

Closed manojbale closed 1 year ago

manojbale commented 1 year ago

We have a GRAPHQL backend service (deployed in Azure Kubernetes services) with the OSM add-on enabled and being used as backend for our mobile applications.

We have configured ingress backends and egress policies for our graphql backend service. Every functionality of our mobile application works fine when OSM is enabled.

However the documents upload functionality in the mobile applications is timing out when OSM is enabled.

But there are no issues observed with document upload if OSM is disabled (namespace removed from OSM) for the application.

We are not sure what is causing the issue. Is there any limitation with OSM for allowing a file content as string type content in the request body to graphql? We are not seeing errors in the OSM controller log, but we see the following error message in the ingress controller pod.

[error] 106#106: *74780367 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 10.85.32.213, server: , request: "POST /bff-test/graphql HTTP/1.1", upstream: "http://10.85.32.88:4000/graphql", host: ""

We are using NGINX ingress controller. Below are the configurations

-------INGRESS--------- apiVersion: v1 items: