Skip to main content

All Questions

0 votes
0 answers
31 views

PrematureCloseException in netty http client

We are using Spring Cloud Gateway (spring boot 2.7.X, JDK 11) to route request. To fetch/pass OAuth2.0 token before routing, filter is added to fetch it from OAuth2.0 provider, to make secure call to ...
Arpit S's user avatar
  • 185
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 ...
Deepak Chhetri's user avatar
0 votes
0 answers
12 views

netty internal error occurred when java17+spring boot3.02+spring cloud gateway was used

siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000009300000092 Register to memory mapping RAX= [error occurred during error reporting (printing register info), id 0xb, SIGSEGV (...
felixc's user avatar
  • 1
1 vote
1 answer
323 views

I had a netty dns problem and I solved it but I don't know why it solved it

While using spring cloud gateway, there was an error where netty could not check DNS. however, I found the following code on the Internet, added it, and it was solved. I feel dizzy. @Bean ...
JOJU's user avatar
  • 67
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 ...
Flanfl's user avatar
  • 514
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....
yurybubnov's user avatar
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....
yurybubnov's user avatar
0 votes
0 answers
292 views

Dockerized Spring Cloud Gateway request header too large

I am trying to solve problem with my app. When I start my app locally on desktop, everything is all right. When I start it inside docker and send post or get request I got respond from Postman ...
Danica Zdravkovic's user avatar
0 votes
0 answers
331 views

Spring boot embedded nettey server deadlock when calling the same service other endpoint

I am using Spring Cloud gateway, Spring boot webflux starter, and default embedded netty server. I have created two routes Route1: /api/v1/task & Route2: /api/v1/general Route1: There are a few ...
Abhishek Verma's user avatar
2 votes
0 answers
725 views

Spring Cloud Gateway memory leak with non-standart response content-type

We are facing strange memory leak in Spring Cloud Gateway that only appears in one route, that points to a regular Spring Web Rest service that returns response with non standart content-type: "...
Andrey Cage's user avatar
1 vote
0 answers
415 views

SpringCloudGateway - configuration parameter IO_SELECT_COUNT

I'm using SpringCloudGateway, I have an doubt on config parameter IO_SELECT_COUNT /** * Default selector thread count, fallback to -1 (no selector thread) */ public static final String ...
Yan Huang's user avatar
0 votes
0 answers
645 views

Upload payload body to Spring Cloud Gateway before making proxy or downstream calls?

Original question (Please view edit): In nginx, there is module directive called proxy_read_timeout: http://nginx.org/en/docs/http/ngx_http_proxy_module.html - By default, it is 60s, and as I ...
Franz's user avatar
  • 29
0 votes
1 answer
505 views

ClassCastException when enabling HTTP/2 support at Spring Cloud API Gateway on 2.1.9.RELEASE

See I'm able to enable HTTP/2 support at user interface on jetty server with JDK8 by excluding tomcat starter and adding jetty started to spring web config and also added jetty-alpn-conscrypt-server, ...
Vinod's user avatar
  • 9
1 vote
1 answer
6k views

Netty server boss and worker thread pool sizes

If my understanding with Netty server is correct, the main boss event loop thread pool (default size is 2*availableProcessors) accepts client connections and then offloads request processing work to ...
Sreenivas's user avatar
1 vote
1 answer
2k views

Spring Cloud Gateway : High CPU Utilization on RHEL : Possible to switch from epoll to NIO

As mentioned in the below issue, we are seeing high cpu utilization in a spring cloud gateway app deployed on RHEL. Details available in below link https://github.com/spring-cloud/spring-cloud-gateway/...
Jacob's user avatar
  • 444

15 30 50 per page