this post was submitted on 20 Nov 2024
13 points (93.3% liked)

Selfhosted

40329 readers
368 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I am trying to get coturn working on my vps provider (I am using digital ocean) for matrix rtc.

I cannot seem to get matrix dendrite to connect to it. I think I have landed on the issue being dns records in cloudflare but I am unsure. Recently I switched to cloudflare and have been using tunnels (which I use for matrix)

Matrix dendrite works fine besides rtc when I uncomment the lines for the turn server but then doesn't function at all when they are there.

I am using ubuntu with docker for matrix dendrite and I am using a debian vps with digital ocean for the coturn server.

Any help is appreciated!

EDIT: Lemmy you beautiful community you!!! Solved yet another issue of mine!

you are viewing a single comment's thread
view the rest of the comments
[–] ludicolo@lemmy.ml 2 points 2 days ago* (last edited 2 days ago) (13 children)

So I checked and I do not think it can connect.

I have a cloudflare domain I am using and I am only using cloudflare 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?

EDIT:

so i just tried it with the regular vps ip address instead of the domain I set in the dns records and the test tools you linked say it is working that way.

[–] MangoPenguin@lemmy.blahaj.zone 1 points 2 days ago (2 children)

Make sure cloudflare proxy is disabled on that DNS record.

[–] ludicolo@lemmy.ml 1 points 2 days ago (1 children)

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

turn_username: user
turn_password: password
    

Throw the whole thing into a YAML linter: https://www.yamllint.com/ and see what it says. Likely a spacing/indent format error or something like that.

load more comments (10 replies)