akka / akka-http

The Streaming-first HTTP server/module of Akka
https://doc.akka.io/docs/akka-http
Other
1.34k stars 595 forks source link

HTTP2 idle-timeout log level #3902

Closed bino013 closed 3 years ago

bino013 commented 3 years ago

Hi,

Upon upgrading to Akka-http-core 10.2.6, we are encountering this error log

2021-09-02 09:50:37.149 [ERROR] [akka.actor.ActorSystemImpl] [] [mochi-akka.actor.default-dispatcher-11] - HTTP2 connection failed with error [HTTP idle-timeout encountered, no bytes passed in the last 60 seconds. This is configurable by akka.http.[server|client].idle-timeout.]. Sending INTERNAL_ERROR and closing connection. \{akkaAddress=akka://mochi@172.27.11.14:31415, sourceThread=mochi-akka.actor.default-dispatcher-12, akkaSource=akka.actor.ActorSystemImpl(mochi), sourceActorSystem=mochi, akkaTimestamp=09:50:37.149UTC\}

Base on our understanding this due to unused idle-connections. May we request to log it on a lower level, Info or Warn level instead?

Here is the change the cause it: https://github.com/akka/akka-http/commit/f233541585000801a8cded8b085350b5990c9345

Thanks!

jrudolph commented 3 years ago

Yes, indeed, sorry for that. It's already filed as #3900.