Comment on Matrix coturn issues
hendrik@palaver.p3x.de 1 day agoI am getting feedback but i am unsure if it is saying it can connect
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.
I am using cloudflare to setup dns record for coturn on my purchased domain. Is that still an issue?
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 1 day 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 1 day 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.ludicolo@lemmy.ml 1 day 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 1 day 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".