Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes to --external-ip seems to be ignored when restarting coturn container - external IP seems to be cached #1484

Open
woj-tek opened this issue May 3, 2024 · 0 comments

Comments

@woj-tek
Copy link

woj-tek commented May 3, 2024

I'm trying to configure external IP, I tried using DETECT_EXTERNAL_IP=yes but local IP was returned. I then used --external-ip=$$(detect-external-ip) (or with explicit external IP) but each time when restarting coturn container I got:

coturn-1  | 0: (1): WARNING: NO EXPLICIT LISTENER ADDRESS(ES) ARE CONFIGURED
coturn-1  | 0: (1): INFO: ===========Discovering listener addresses: =========
coturn-1  | 0: (1): INFO: Listener address to use: 127.0.0.1
coturn-1  | 0: (1): INFO: Listener address to use: 192.168.128.3
coturn-1  | 0: (1): INFO: Listener address to use: ::1
coturn-1  | 0: (1): INFO: =====================================================
coturn-1  | 0: (1): INFO: Total: 1 'real' addresses discovered
coturn-1  | 0: (1): INFO: =====================================================
coturn-1  | 0: (1): WARNING: NO EXPLICIT RELAY ADDRESS(ES) ARE CONFIGURED
coturn-1  | 0: (1): INFO: ===========Discovering relay addresses: =============
coturn-1  | 0: (1): INFO: Relay address to use: 192.168.128.3
coturn-1  | 0: (1): INFO: Relay address to use: ::1
coturn-1  | 0: (1): INFO: =====================================================
coturn-1  | 0: (1): INFO: Total: 2 relay addresses discovered
coturn-1  | 0: (1): INFO: =====================================================

Finaly when trying out another config via docker run (so I had to bring down docker compose) with --external-ip=$$(detect-external-ip) it worked. And then when I ran docker compose it was working again but removing the option from compose and simply restarting the container didn't do anything (external IP was still maintaind) and only doing docker compose down coturn & docker compose up coturn resulted in external-ip config being properly applied.

What's more, the log prints out warning about lack of external-ip configuration even though it returns correct values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant