Closed gcalenzo closed 1 year ago
@gcalenzo are you able to use tcp keep alive?
Hi @MikeZappa87 ,
we set the keepAlive tcpIp parameter by editing the registry key HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\KeepAliveTime. We chose 60000 ms as the value, but it doesn't work.
I will verify if that is the correct setting. I am curious did you verify you are seeing a tcp keep alive packet with wireshark?
Hi @MikeZappa87 ,
we weren't able to see the tcp keep alive packets on wireshark.
Anyway, with the help of the AWS Support we were able to solve the issue by adding the "ExcludedSnatCIDRs" parameter to the Start-EKSBootstrap.ps1 script of the windows worker nodes, choosing the databases CIDR block as value.
Describe the bug We are experiencing timeout issues connecting to an oracle database running a .NET framework application based on windows server core ltsc2019 image in an EKS cluster. We tested this image running that on an EC2 Windows Server core 2019 with Docker instance and we didn't get any connection timeout. After deployed it to an EKS cluster with EC2 Windows Server core 2019 instance as nodes, every connection to the database drops if in idle for more than 4 minutes.
Seems to be exactly the same problem describe in issue #269 , but in that case ticket was closed due to support team priority on k8s and containerd, which is my case: every connection made between the port assigned to the container by SNAT on the windows host node and any tcp target(not only the oracle database), drops after exactly 4 minutes.
To Reproduce Steps to reproduce the behavior:
Expected behavior The connection doesn't drop.
Configuration: