fonoster / routr

⚡ The future of programmable SIP servers.
https://routr.io
MIT License
1.42k stars 147 forks source link

Known issue with Routr UDP connections in DigitalOcean Kubernetes (DOKS) #262

Open psanders opened 8 months ago

psanders commented 8 months ago

This thread documents a known issue and workaround for using Routr with UDP connections in DOKS.

Issue:

The DOKS load balancer prematurely closes UDP connections, impacting applications relying on long-lived UDP sessions. This leads to clients becoming unreachable despite having a valid registration time.

Example:

An SIP Agent sending a REGISTER request with a 60-second expiry will become unreachable within 15 seconds due to the closed connection.

Workaround:

Currently, the only known workaround is to set the expiry time for UDP registrations to a significantly lower value, such as around 10 seconds.

Additional Notes:

While this issue happens with DOKS it is possible it is present with other vendors, and further research will be needed.

psanders commented 8 months ago

Notes to self: