spring-cloud / spring-cloud-openfeign

Support for using OpenFeign in Spring Cloud apps
Apache License 2.0
1.18k stars 758 forks source link

For my openFeign implementation, noticing response decoding is taking too long #969

Closed sumitsandal closed 5 months ago

sumitsandal commented 6 months ago

In my project where I am using openFeign client for one of the big requests, noticed that it takes around 30 mins for decoding ( with open feign unbuild decoder , no customisation done). RPA void connect or read timeouts , increased the time. No doubt The response is big.

ln logs of API (being called from my feign client ), response was returned in seconds, but decoding entirely in my local took 30 mins.

I am thinking of enabling okHttp and enabling compression of responses. What else could be tried to figure out what’s the main issue ?

PS: For intellectual property reasons, can’t post code here

OlgaMaciaszek commented 5 months ago

Hello @sumitsandal from what I see in your entry, it seems to me the component you're having trouble with is part of the OpenFeign/feign project and not Spring Cloud OpenFeign, so please report your issue there. If you don't think that's the case, please provide a minimal, complete, verifiable example that reproduces the issue.

spring-cloud-issues commented 5 months ago

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

spring-cloud-issues commented 5 months ago

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.