4,978 questions
-2
votes
1
answer
105
views
WebFlux + Netty: "InvalidLineSeparatorException: Line Feed must be preceded by CR"
WebFlux, localhost (http), Spring Boot 4. No Docker Compose, no K8s.
Things that are unlikely to be related but I'll mention just in case: Swagger (springdoc-openapi-starter-webflux-ui:3.0.3), Kafka (...
1
vote
1
answer
211
views
Files stored with s3AsyncClient from Netty HttpClient publisher are corrupted
I'm trying to forward file from http download to s3AsyncClient.
Its important for it to be asynchronous, and close to zero copy, so i used netty HttpClient and S3AsyncClient and I pass file through ...
0
votes
0
answers
34
views
Netty Webclient always takes default timeout and not configured value
I have a web client configured for 60 seconds connect timeout, but it always seems to pick 30 seconds which seems to be the default.
In the constructor:
webClient = WebClient.builder().baseUrl(url)....
0
votes
1
answer
120
views
Spring WebFlux: updating SSL certificate
My application uses the Spring Cloud Gateway so the stack is Spring + WebFlux. When the application starts it use the SSL certificate from the file. But after few weeks the external system is updating ...
0
votes
1
answer
220
views
Netty ClientTransport.proxyWithSystemProperties() "early resolve" proxy address causing problem when proxy is unavailable but becomes available later
We are using Spring Boot 3.5.6 and using Netty to call a downstream HTTP system.
We create HttpClient and use proxyWithSystemProperties() to let netty create ProxyProvider using Java System Properties ...
0
votes
0
answers
81
views
Netty writeAndFlush fails: io.netty.util.IllegalReferenceCountException: refCnt: 0
I am having a problem with netty writeAndFlush failing. Specifically, io.netty.util.IllegalReferenceCountException: refCnt: 0 is thrown. Here is the stack trace:
12:49:04.062 [Timer-0] ERROR com....
0
votes
1
answer
87
views
Netty Cleanup Spring Boot Tomcat WAR
We deploy Spring Boot apps onto a dedicated Tomcat via WAR File.
In our Tomcat logs (on shutdown) we regularly see messages like This is very likely to create a memory leak followed by some io.netty....
2
votes
0
answers
215
views
Resource Leak in R2DBC after spring boot upgrade
Since updating our project from Spring Boot 3.1.3 to Spring Boot 3.4.3, we have come across an unusual problem that we have not seen before.
We have a findAll() method that gets a Flux (of type Platz)....
0
votes
0
answers
152
views
How to configure HTTP forward proxy (instead of CONNECT tunnel)?
I'm trying to configure an HTTP proxy (without CONNECT tunnelling support) for my Spring WebFlux WebClients (based on Netty HttpClient) but without success (403 HTTP status code).
As explained in the ...
1
vote
0
answers
79
views
What is the robust pattern for releasing a shared ByteBuf written to multiple channels, especially with staggered writes and potential failures?
I'm trying to implement a high-performance fan-out (broadcast) service in Netty where I need to write the same, immutable ByteBuf to multiple channels. To avoid memory copies, I'm using ...
2
votes
1
answer
113
views
Data corruption with high throughput
I wrote a small client-server system with Netty. The client(s) send messages to a server, and the server responds with an ACK once the message is processed. This ACK contains an ever incrementing ...
-1
votes
1
answer
158
views
Issue with GRPC with Netty NIO threads
Hello I am facing some issues while Integrating Grpc Client to use Netty's NIO for grpc call and handling callbacks, i want application threads to be free from tracking the status of grpc calls and ...
0
votes
1
answer
303
views
Issue with Swagger UI and Spring WebFlux not working when netty enabled
I am trying to enable swagger enable with my spring boot application, that uses WebFlux and I disabled tomcat, and add netty, in Spring Boot 3.4.4, but it is not working for me (I saw this post: ...
0
votes
0
answers
27
views
Why does reactor.netty dynamically add and remove IdleTimeoutHandler
I have implemented an http1 server based on Netty, but I don't know how to set the HTTP keep alive time.
So I referred to the implementation code of reactor.netty, but I found that reactor.netty ...
0
votes
1
answer
310
views
Error NoClassDeffoundError: jakarta/servlet/ServletException with Spring Boot 3.4 and spring-boot-starter-webflux
I have the following configuration:
spring-boot-starter-parent: 3.4.7
spring-boot-starter-web (excluding spring-boot-starter-tomcat in order to have netty instead Tomcat)
spring-boot-starter-webflux`
...