8000 Homebrew MacOS 15.2 ARM Redis DB Index ignored · Issue #1625 · coturn/coturn · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Homebrew MacOS 15.2 ARM Redis DB Index ignored #1625

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

Closed
edgework opened this issue Jan 10, 2025 · 7 comments
Closed

Homebrew MacOS 15.2 ARM Redis DB Index ignored #1625

edgework opened this issue Jan 10, 2025 · 7 comments

Comments

@edgework
Copy link
edgework commented Jan 10, 2025
$ turnserver --version
4.6.3

turnadmin -a -u alice -r example.com -p secret123 -N "ip=127.0.0.1 dbname=0"

Will write values to redis in db index 0

turnadmin -a -u alice -r example.com -p secret123 -N "ip=127.0.0.1 dbname=4"

Also writes value to redis in db index 0

😕

@dntam00
Copy link
dntam00 commented Jan 11, 2025

Hi @edgework,
Could you test again with version 4.6.2, I'm using this version by building source code and your command is fine.
This change log seems does not contain redis usage change.
'--------------
updated:
I've tested with version 4.6.3 and the result is fine.

@edgework
Copy link
Author
edgework commented Jan 11, 2025

For me on the version installed by Homebrew 4.6.3 it for sure does not write to any database other than 0. Monitoring redis shows a SELECT command is never sent.

Maybe it's something related to the turnserver.conf?

here's mine

listening-port=3478
tls-listening-port=5349

fingerprint
lt-cred-mech

server-name=stunturn
realm=inttest.int

total-quota=100
stale-nonce=600

cert=/opt/int-test-cert/cert.pem
pkey=/opt/int-test-cert/key.pem

cipher-list="ECDHE-RSA-AES256-GCM-SHA512:DHE-RSA-AES256-GCM-SHA512:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384"

userdb=redis
redis-userdb="ip=127.0.0.1 dbname=4 port=6379 connect_timeout=30"
redis-statsdb="ip=127.0.0.1 dbname=4 port=6379 connect_timeout=30"

@dntam00
Copy link
dntam00 commented Jan 12, 2025

@edgework
It's very weird.
I installed v.4.6.3 by brew install coturn and it works normal.
And I think it does not relate to turnserver config because it's a standalone program.

image image

@edgework
Copy link
Author

I found the problem. Try it against a redis that doesn't require AUTH. and don't provide a password

turnadmin -a -u alice -r example.com -p secret123 -N "ip=127.0.0.1 dbname=4"

8000

@dntam00
Copy link
dntam00 commented Jan 16, 2025

@edgework
My redis is using password and it's fine, maybe you could try to use wireshark to check the actualy response from Redis server.

@edgework
Copy link
Author

Disable the password. This problem exists where the redis server DOES NOT have a password and one is not provided in the turnadmin commandline

@ggarber
Copy link
Contributor
ggarber commented May 25, 2025

I think the issue is fixed here, please reopen if thats not the case: #1668

@ggarber ggarber closed this as completed May 25, 2025
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

3 participants
0