Docker Community Forums

Share and learn in the Docker community.

UDP stream timeout

Hello,

I’ve come to a problem. When running a Californium COAP server inside a container the UDP stream timeouts after approx. 3 minutes of inactivity. I’ve already extended the timeout on the host side and also on the docker container itself using: sysctl -w net.netfilter.nf_conntrack_udp_timeout_stream=86400.
I then monitored the /proc/net/nf_conntrack and saw that the connection is extended to 86400s.
The connection is also seen in netstat.
But after 3 minutes of inactivity the stream drops. It is seen in /proc/net/nf_conntrack but not anymore in netstat.
Is there a simple setting that I missed or owerlooked?

Thank you in advance!