Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Probable Akka HTTP bug in server side WebSockets handling #1515
Lagom is seeing a lot of these errors in its integration tests when using WebSockets:
The problem with this stack trace is that we don't know what invoked
Also note that because
More details about the bug are reported in lagom/lagom#1054.
These tests are doing a lot of starting up WebSockets and then terminating them immediately, so it could be a race condition on startup.
There does seem to be a race condition in HttpServerBluePrint.scala.
Essentially, we have a race condition between a client sending its first web socket frame, and the web socket handler pulling for it.