Skip to content

Suppress Reactor Netty "disconnected client" exceptions the logs [SPR-17257] #21790

Closed
@spring-projects-issues

Description

@spring-projects-issues

David Terk opened SPR-17257 and commented

I am seeing  WARN 15 — [-server-epoll-9] o.s.h.s.r.ReactorHttpHandlerAdapter : Handling completed with error: Connection has been closed

All over my logs.  Nearly every request through my gateway.  Why would this happen?  All requests are completing without ANY errors.

Sorry but I don't have much more info than that.  I am using Spring Cloud Gateway.  Seems to happen on calls which make a POST.

I am finding that I need to turn off logging on both

org.springframework.http.server.reactive.ReactorHttpHandlerAdapter
org.springframework.web.server.adapter.HttpWebHandlerAdapter

Otherwise there is an unbelievable amount of logs being generated from what appears to be requests and responses that are functioning normally.

 

Would be useful to show the trace to have an idea where it is coming from.


Affects: 5.0.8, 5.1.2

Issue Links:

0 votes, 5 watchers

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions