Comment on Matrix coturn issues
hendrik@palaver.p3x.de 2 months agoTry filling out the turn section in config/dendrite.yaml
with that. It should be something like turn:turn.domainexample.com?transport=udp
. And make sure the TURN testing tools I linked work with the same URI. Or maybe your DNS isn't pointing to the correct IP? You could try pinging it, or do dig A turn.domainexample.com
and see if it returns the correct IP for the VPS.
ludicolo@lemmy.ml 2 months ago
I did fill that out, anytime I do matrix crashes and I think the logs say something along the lines of not being able to find the turn server. I just tried it now with the vps ip and port and it still caused matrix to crash.
The turn tesying tools don’t work with the URI at all its only the ip and port they work with.
When I use the dig A command it gives me different ips than the vps ip.
hendrik@palaver.p3x.de 2 months ago
Alright. I believe that means you need to fix your DNS.
"turn.domainexample.com" is pointing to a different server, and not the one running coturn.
Do you use Cloudflare as a DNS provider? I mean I don't know how that works, since I've never used it... But judging by the following documentation: https://developers.cloudflare.com/dns/manage-dns-records/reference/proxied-dns-records/
I believe you need a dedicated record for the turn subdomain that's not "Proxied", but "DNS only".
ludicolo@lemmy.ml 2 months ago
Progress has been made!
So I got it working with the domain name. The turn testing tools now respond with relay and pin point the vps server! Nice!
However when I put the info into the matrix dendrite.yaml it still crashes. The logs say
“Invalid config file: yaml: line 210: did not find expected key”
“Invalid config file: yaml: line 206: did not find expected " - " indicator”
Line 210 and 206 refer to the turn section which is formatted:
turn: turn_user_lifetime: “5m” turn_uris: - turn:turn.exampledomain.com?transport=udp - turn:turn.exampledomain.com?transport=tcp
hendrik@palaver.p3x.de 2 months ago
Check your indentation. I'm not sure if Lemmy is messing with that, but there seems to be an additional space before turn_username and password in your config. And the dash should (I guess) be indented two spaces further than the previous line and then one space after the dash. I'm not sure if it's that.