akka/akka-http

Plaintext connection to HTTPS endpoint hangs on JDK 11

Open

#2,614 opened on Jul 24, 2019

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Scala (1,311 stars) (598 forks)batch import
3 - in progressbughelp wantedt:coret:servert:tls

Description

On JDK 8, the connection closed, on JDK 11 the request just hangs until the idle-timeout kicks in.

Thanks for the report, @makkarpov.

See https://discuss.lightbend.com/t/akka-http-tls-server-hangs-when-it-receives-plaintext-connection/4636 and the reproducer at https://github.com/makkarpov/akka-tls-hangs-example.

Contributor guide