Comment on Matrix coturn issues
hendrik@palaver.p3x.de 2 months ago
Have you checked your coturn server works correctly?
Comment on Matrix coturn issues
hendrik@palaver.p3x.de 2 months ago
Have you checked your coturn server works correctly?
ludicolo@lemmy.ml 2 months ago
So i checked and I am getting feedback but i am insure if it is saying it can connect. I do not think it is.
I have a cloudflare domain I am usimg and I am only using mstrix tunnels for the matrix dendrite server not the coturn vps server. I am using cloudflare to setup dns record for coturn on my purchased domain. Is that still an issue?
MangoPenguin@lemmy.blahaj.zone 2 months ago
Make sure cloudflare proxy is disabled on that DNS record.
ludicolo@lemmy.ml 2 months ago
Just barely fixed that! Thanks! I have another issue thst I fommented about though:
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
MangoPenguin@lemmy.blahaj.zone 2 months ago
Throw the whole thing into a YAML linter: www.yamllint.com and see what it says. Likely a spacing/indent format error or something like that.
hendrik@palaver.p3x.de 2 months ago
Concerning your Edit:
You might now want to try putting in the correct address into
config/dendrite.yaml
. That has a "turn" section. You could try and add an URL with the IP address in "turn_uris".I mean I'm probably the wrong person to ask. I don't use Cloudflare. And I also skipped Dendrite and went for the Conduit server... What's your reasoning to use Cloudflare in the first place? Maybe you want to get rid of it? Or add another supdomain to your DNS that directly points at your server, and have the turn_uri be that, so you don't have to put IP numbers into that section...
hendrik@palaver.p3x.de 2 months ago
It does connect if you get a line with "srflx" or "relay". Otherwise it does not connect. And your whole coturn server might not be reachable at all.
Well, that depends on how you set it up. What domain name are you using for coturn? (The one you put in the tester.) Where does it point to? To your cloudflare tunnel? To your real IP? And if it's pointing at cloudflare's endpoint: Do you have a paid subscription and set up Spectrum to forward the packets?
ludicolo@lemmy.ml 2 months ago
Sorry I jusy recently updated my comment. I was able to get it to say “relay” when using the regular public ip and port for my vps. It doesn’t work if I use the domain I created for it though “turn.domainexample.com”
The domain name should be pointed to the vps public ip type A
Paid subscription? No I only have the cloudflare domain and the vps subscription. Do I need the subscription to get this working? 😮💨
hendrik@palaver.p3x.de 2 months ago
Try filling out the turn section in
config/dendrite.yaml
with that. It should be something liketurn: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 dodig A turn.domainexample.com
and see if it returns the correct IP for the VPS.