How to increase idle timeout

Hi,

How to increase idle timeout in Lagom. I’m getting Websocket handler failed with The connection closed with error: Connection reset by peer after 80s approximately if there is no traffic.

I’am using Lagom 1.6.0-RC3 in dev mode.

I tried:

  1. in sbt
    PlayKeys.devSettings := Seq(
    “akka.http.server.idle-timeout” -> “1h”)

    or

    PlayKeys.devSettings := Seq(
    "play.server.http.idleTimeout" -> "1h")
    
  2. in application.conf
    akka.http.server.idle-timeout = 1h

    or

    play.server.http.idleTimeout = 1h

Zlaja

Hi Zlaja,

Maybe you can try with Akka HTTP - Automatic keep-alive Ping support.

Hope this helps.

Br,
Alan

I have already tried it without success.

Also, I found this:

Zlaja