I have a connection to the server from the client to the api service, and then from the API service to other services. Now, by default, the connection timeout (i.e., when the message / connection does not work when the web socket is connected) is 1 min, and I found the settings for increasing it, that is, using akka.http.client.idle-timeout = 300s and akka.http.server.idle-timeout = 300.
But in my case, these settings work on a local, incresed timeout (i.e. when starting services locally on my computer), but not when I deploy services to EC2, creating docker images.
So, please, someone tell me why he is behaving this way?
source share