All Questions
Tagged with spring-cloud-gateway reactor-netty
41
questions
0
votes
1
answer
104
views
Http Connection Management In Spring Cloud Gateway / Reactor Netty
We use Spring Cloud Gateway (Spring Boot 2.0) to route(POST) request to different external customer REST endpoint (along with filters).
Most of the time routing is ok in production, only certain times ...
0
votes
0
answers
36
views
[SpringCloudGateway]: Netty HttpClient failed to connect with SSLHandshakeException after establishing HTTPS connection with endpoint
We have built API Gateway application using Spring Cloud Gateway 4.0 (on webflux) framework and Azul Zulu OpendJDK 17. The application is able to intercept incoming request and redirect it to the ...
0
votes
0
answers
102
views
Scheduler worker in group main failed with an uncaught exception
Scheduler worker in group main failed with an uncaught exception
reactor.core.Exceptions$ErrorCallbackNotImplemented: java.util.ConcurrentModificationException
在使用spring-cloud-...
0
votes
0
answers
338
views
Spring cloud gateway intermittent delay at proxy request and response handling with reactor netty
I am using Spring Cloud Gateway, observing intermittent delay while sending request or receiving response from the downstream applications. The notable delay occurs in about 15% of the requests (more ...
0
votes
0
answers
270
views
Getting [io.netty.handler.ssl.SslClosedEngineException: SSLEngine closed already] for HTTP/2.0 with TLS on netty
I am getting below error for almost 1% of my total requests under high load e.g. 1k-2k/s requests.
ERROR org.springframework.web.server.adapter.HttpWebHandlerAdapter - [9899f030-1528794]
Error [io....
0
votes
0
answers
193
views
Reactor Netty custom access log, missing connected user details
In a Spring Cloud Gateway application, I'm trying to understand how I can add the connected user in my access log. The user property in AccessLogArgProvider is always at the default value (-).
I'm ...
0
votes
0
answers
43
views
Netty client sends TCP RST
I see strange behaviour in Netty HTTP Client.
It establishes connection to server fine, has some traffic but then sends RST out of blue.
What could cause such behaviour?
22:20:03.954242 IP 10.15.12....
0
votes
0
answers
303
views
Reactor Netty HTTP client opens new connection in Pool mode
Set up:
Java 17
Spring Cloud Gateway 4.0.7
Netty client propetrties
spring.cloud.gateway.httpclient.connect-timeout=3000
spring.cloud.gateway.httpclient.pool.type=fixed
spring.cloud.gateway.httpclient....
0
votes
1
answer
381
views
Spring cloud sleuth with spring cloud gateway
I'm using spring cloud sleuth with spring cloud gateway (webflux based)
I would like to only "log" TraceId and SpanId without propagating in http request
Given this scenario :
client --> ...
3
votes
1
answer
3k
views
NativeIoException:io.netty.channel.unix.Errors$NativeIoException recvAddress(..) failed: Connection reset by peer
I am trying to find the solution for below error which occurs in our Appdynamics logs when we perform load testing with Jmeter for 5tps. I am using spring cloud gateway 2.7.8 and netty version - 4.1....
1
vote
0
answers
184
views
Getting PoolAcquireTimeoutException : Pool#acquire(Duration) has been pending for more than the configured timeout of 45000ms
I am using spring cloud gateway sometimes i see poolconnectionTimeoutexception:
ERROR 1 --- [ parallel-29] a.w.r.e.AbstractErrorWebExceptionHandler : [5f4fbedf] 500 Server Error for HTTP GET "...
0
votes
1
answer
1k
views
How to resolve memory Leak in Spring cloud gateway
I am using spring cloud gateway in my service and using below RequestDecorator as a wrapper in my LoggingFilter.
public class RequestDecorator extends ServerHttpRequestDecorator {
private final ...
0
votes
1
answer
1k
views
Spring Gateway - multiple httpclients in Spring Gateway?
I have many filters that I use to manipulate different requests.
I'm overriding the default netty httpClient provided by Spring Gateway so I can set programatically some sslContext - mTLS in my case. ...
0
votes
0
answers
318
views
How to increase Spring Cloud Gateway throughput without 502 errors
I am running a Spring Cloud Gateway(version 3.0.3) Project with reactor netty(version 2.5.7). My system is with 8 core processor and 16 GB RAM. I have a route which calls the HttpBin API. When i ...
0
votes
1
answer
197
views
Value for HttpClient timeout on a Spring Gateway with resilience4j circuit breaker and time limiter
Should HTTPClient response-timeout be set separately for slow-running calls and separately fast-running calls? Or should it be one timeout value set for all requests?
The application is an Spring ...