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
I am migrating our current gateway from zuul to Spring Cloud Gateway Server MVC and I am not sure if it is a bug or just me that is missing something but I am trying to add a timeout for a specific service and I am not able to make it work.
when I define a global timeout, using the following configuration
Describe the bug
I am migrating our current gateway from zuul to Spring Cloud Gateway Server MVC and I am not sure if it is a bug or just me that is missing something but I am trying to add a timeout for a specific service and I am not able to make it work.
when I define a global timeout, using the following configuration
I get a
java.net.SocketTimeoutException
but when I define it in themetadata
of the simple instance, like belowit does not work. I even tried to use the
response-timeout
from herespring-cloud-gateway/docs/modules/ROOT/pages/spring-cloud-gateway/http-timeouts-configuration.adoc
Line 39 in 58c8441
Is there any other way I could set a per-route route read-timeout?
PS: I am setting up a router, like in the samples https://github.com/spencergibb/spring-cloud-gateway-mvc-sample/blob/396005238cec0ad9b66ee01ea7e3006aa6aed5a6/src/main/java/com/example/gatewaymvcsample/Route01FirstRoute.java#L16-L16
I am currently using
spring-cloud-gateway-server-mvc:4.1.2
Thank you for the project and in advance for any help.
The text was updated successfully, but these errors were encountered: