i have a kubenates cluster and I have setup istio and there's one service basically this service is an rest API, i have some endpoints exposed though an lb
the issue is basically my other endpoints works find and everything is good but there's one endpoint which specifically takes long time to run roughly around 35s ? (in my local devl env)
so whenever i try to execute this endpoint it tries to load for like 25s and re-starts the pods the api returns
upstream connect error or disconnect/reset before headers. reset reason: connection termination
and im my proxy i see the log saying
2023-04-12T13:20:43.449969Z error Request to probe app failed: Get "http://10.0.79.104:8080/": context deadline exceeded (Client.Timeout exceeded while awaiting headers), original URL path = /app-health/server/readyz
app URL path = /
no errors from the api.
Im wondering if this issue is because istio proxy expects the response time to be lower than 25s maybe ? I wonder if i can exceed that and find a work around this issue ?