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 (598 forks)batch import
3 - in progressbughelp wantedt:coret:servert:tls

Repository metrics

Stars
 (1,311 stars)
PR merge metrics
 (Avg merge 1d 10h) (2 merged PRs in 30d)

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