• 2 Posts
  • 7 Comments
Joined 5 months ago
cake
Cake day: July 8th, 2024

help-circle

  • 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
        
    

  • ludicolo@lemmy.mlOPtoSelfhosted@lemmy.worldMatrix coturn issues
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 days 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

    turn_username: user
    turn_password: password
    

    EDIT: line 206 seems to be

    • turn:turn.exampledomain.com?transport=tcp

    And line 210 is uncommented description so I don’t know what that is about


  • 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.


  • ludicolo@lemmy.mlOPtoSelfhosted@lemmy.worldMatrix coturn issues
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 days 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? 😮‍💨

    Or is there another solution?


  • ludicolo@lemmy.mlOPtoSelfhosted@lemmy.worldMatrix coturn issues
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 days ago

    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.



  • Wow! Hey thanks for the tutorial! It was beyond helpful! Oh hell yeah can’t wait!

    I do have some questions if you don’t mind me asking

    So I recently used your affliate link for digital ocean and started following your coturn tutorial. I followed everything but my home server can’t seem to connect to it. Anytime I set the turn rules in the dendrite.yaml the server won’t start. I am using cloudflare tunnels for my actual matrix server then I use dns records to set the coturn record. Matrix works fine with turn variables uncommented just with no rtc on out of network. Do I need to forward the digital ocean ports? If so how do I do that and which ports do I forward? How can I get my home server to find my digital ocean server and use coturn?

    EDIT:

    I feel like it has to be something with dns records on cloudflare. I have been using tunnels for a majority of things inclueing matrix without coturn. I have no idea how to fix this portion of setup, any help would be appreciated!

    EDIT 2:

    NVM IT’S BEEN FIXED!!

    I do have a question, did you ever figure out message rention and deletion?