I’m running Docker in Swarm mode on an Ubuntu 16.04 machine. It contains several services, among which two are built with the Play framework. Now and then the HTTP response stream of a request just hangs. When I do a GET on a static resource with httpie on the host machine I get the HTTP headers immediately but the response hangs. When this happens I have to restart the container that runs the service and then it works again. The other Play service is not affected in that case. It happens to both Play services but rarely at the same time. Could this be an issue with the container’s connection to the overlay network? Is there a way to investigate this?
These are the details of the server:
API version: 1.28 (minimum version 1.12)
Go version: go1.7.5
Git commit: 4845c56
Built: Mon Apr 3 18:07:42 2017