Skip Navigation
How to fix my Coturn setup?
  • @Lemmchen

    This is only stun.
    For a working turn you need also "relay" entries

  • How to fix my Coturn setup?
  • @Lemmchen the different client-networks csn be the problem.

    Some providers block webrtc or stun/turn...

    Did you try to test your coturn on
    webrtc.github.io/samples/src/c…

    Delete all servers there and fill in your stun and turn (turn incl. credentials) andvtest ist.

    You should get relay (=turn) and srflx (=stun) marked entries

  • How to fix my Coturn setup?
  • @Lemmchen

    The stun protocoll is btokering a direct p2p-connection between devices, when it's possible in case of network.

    When a direct connection is not possible (both devices are behind differen natted networks/firewalls), turn is needed (turns with ssl) and the audio/video datastream runs through the turn-server.

    Are your devices in the same LAN/WLAN? Or in different?
    Is one at home, the other in office-network?

    If they are in different networks, (it belongs to the clients, not the server!) a stun server is needed outside the network in the free, for both reachable internet!
    So both can see and reach the stun/turn server.

    I think, your coturn is not not good reachable from outside in your setup, that's why turn.matrix.org works, and yours not.

    Coturn can work as turn and stun at the same time.

    Maybe the standardports 5439 and 3478 (each also +1) or the highports are blocked by your firewall.

    So you can try to let them listen on port 443 (turns) and 80 (stun) from outside. Most firewalls won't block those ports...

    Or describe please, how exactly do you use your matrix? Where is your homeserver, in which networks are your clients? Do you use vpn?

    This is hardcore network-stuff snd not directly related to matrix.

  • How to fix my Coturn setup?
  • @Lemmchen

    I had big problems with pairdrop and webrtc which also needs coturn stun or turn(s) protocol...

    I found a good hiden hint for coturn and webrtc...

    For special usecases you need two stun-server with different ip-addresses to be able to detect a working p2p connection.

    You can use 2 different machines in different datacenters or it could also work with the same coturn on a vm with 2 different public ip-addresses.

    If a p2o-connection is not possible, a turn(s)-server should be configured in matrix homeserver too.
    This can be the same coturn as for stun.

    AND... this cost me days of research and trial&error...

    For a propper webrtc-connection in a federated system as matrix is, BOTH matrix homeservers must have configured 2 stun and at least one turn(s) server in their homeserver.yaml

    I reproduced this every time trying to establish a call from two different mobile-phones with natted internet-connections from different ISPs on different matrix homeservers with different or one with no stun/turn-server configured.
    I tried all setups many times.

    You won't find this info elsewhere...

    What i still not got working is, ehen one client is connected through vpn, and the other not.
    I've no chance to establish a connection.

  • *Permanently Deleted*
  • @HiddenLayer5 @UnfortunateDoorHinge

    On This thing you can drive up with a car and run it on Rails...

  • *Permanently Deleted*
  • @doublepepperoni

    Last i saw a racing-biker with about 40km/h... he had such handlebars where he can lean on it to lie almost on his bike... tipping on his smartphone...

    I have always the urge to do a loud scream/shout...

    😁

    @Masimatutu

  • Atlanta 1950s and now
  • @bermuda

    I think.... No. :)

  • Atlanta 1950s and now
  • @Pixelphoria @sexy_peach
    Yesterday i studied the map from portugal... especially around Porto you find a phenomenon...

    Bypass for a Bypass for a Bypass for a Bypass...

    A classical example for "one more lane will fix it" and "one more street will fix it too"...

    NO! It won't fix it.

  • Atlanta 1950s and now
  • @Hedup No. It's not.

  • Atlanta 1950s and now
  • @Hedup
    Ah.
    I see.

  • Atlanta 1950s and now
  • @Hedup @sexy_peach

    Hä? What? Where?

  • Matrix 2.0
  • @mamus @JJGadget

    Sad... now i have some... 😟

  • Matrix 2.0
  • @mamus @JJGadget

    Made an Update for Element X... and there are no network-connections to google anymore...
    did you changed something?

  • Matrix 2.0
  • @mamus

    If google stays in, i won't use it.
    Sorry...

    Deploy it also via f-droid, and i (and many others) will use element x.

    Sorry Google is a nogo for privacy-aware Users... (hosting my own Matrix with my own notification-network via ntfy is, because i'm aware of privacy-issues with google!)

    @JJGadget

  • Matrix 2.0
  • @mamus

    But again... google-inside... a no-go.

    @JJGadget

  • Matrix 2.0
  • @mamus
    Just found it and installed it.

    @JJGadget

  • Matrix 2.0
  • @derin

    I run nginx in front of synapse and sliding-sync

    And the initial sync was VERY slow...

    🤔🤔

  • Matrix 2.0
  • @JJGadget
    Element X takes 245MB... download from github... puh...

    But the install-advice for the sliding-sync server is a bit unclear for me... i tried to install it... huh... no idea, how to do it.
    Should it run on an own vserver?
    Or can i run it on the same server as my matrix-synapse is running?
    when yes... why is it also listening on port 8008 as synapse is listening?

    github.com/matrix-org/sliding-…

  • Matrix 2.0
  • @JJGadget

    puh... only google... why not fdroid or apk downloads for element x?

  • jakob jakob @soc.schuerz.at

    Für die Neuankömmlinge im Fediverse: Ohne Infos in deinem Profil, ohne Content in deinem Profil, kein eigener Content in deinem Profil: Ich lehne Folgeanfragen ab. Ein wenig darfst du schon über dich verraten, wenn du mir eine Folgeanfrage stellst.

    Und T witter... interessiert mich wirklich nicht die Bohne. Ich will nix davon wissen. Auch nicht, was dort gepostet wird.

    Linux, FOSS, Öffentlicher Verkehr, Eisenbahn, Radfahren, Fußgehen, Verkehrsplanung, Städtebau, Will das Schöne wieder in die Welt bringen, Nachhaltigkeit, Modellbahn, Java Entwickler (jun), Bash,

    \#FediverseOnlyAccount \#fedi22 #Eisenbahn #Modellbahn #Linux #Nachhaltigkeit #Verkehrsplanung #Autokorrektur #Radfahren #Fussgehen #SanfteMobilität #LebenOhneAuto #Trains #Mobilität #Bicycle #Fahrrad #DIY

    Posts 1
    Comments 26