-
-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: stun/turn credential problems #1104
Comments
Please show us the following:
|
Here are information
Log
|
Here you're telling ejabberd to invalidate the temporary TURN credentials 4 seconds after handing them out to the client. That's the culprit I guess. I'd suggest sticking to the example configuration: listen:
-
port: 3478
ip: "::"
transport: udp
module: ejabberd_stun
use_turn: true
## The server's public IPv4 address:
# turn_ipv4_address: "203.0.113.3"
modules:
mod_stun_disco: {} The |
I appleid suggested settings, but still authentication failure message present. Calls hit and miss sometimes one way , sometimes only audio.
|
I don't know if it related, but under contact --> Resources is empty. And when I try to place the call it says that "Missing call support" message. |
Add each other as contact (contact details --> press the "add contact" button) |
Ok I removed and added contacts and it display resources correctly right now, but call on LTE data failing right away.
|
That log line is fine (doesn't refer to a disconnection).
Do you get an error message? And: Is the UDP port range ( |
@volga629-1 And have you configured turn for IPv6 as well? |
Yes, no error and I checked firewall and turn ip configuration and they exactly as you described. In logs there are no error messages. There no IPv6 configured. |
IPv6 is required to make STUN/TURN work for certain (mobile) networks, but if the log message you cited was indeed related to the failed call, then missing IPv6 is not the issue in this case. The log message basically says that the TURN session was created by the client just fine. Next step would be the peer talking to the UDP port created for that relay (port 52370 according to your log message). Note that the "peer" may either be the contact's client or the contact's TURN server; if the contact is using your server as well, it would be your own TURN server, which would end up talking UDP to itself (I'm mentioning that because that specific case may go wrong even if other scenarios work, depending on your setup). Do you see any additional messages if you grep the log for |
That only messages I see
|
Those messages poove that a TURN session was created and used by the client successfully, but that no incoming traffic was received from the peer on UDP port 52370. The server logs won't reveal why no traffic was received. Presumably, UDP port 52370 isn't accessible for the peer on the
Issue 2 and 3 should in practice be mitigated by the contact's client using TURN as well. Maybe that's not the case, or the contact is actually using the same TURN server as the client, which would lead to the TURN server talking UDP to itself (via the |
What Monal Release channel are you using?
AppStore
iOS system version (if applicable)
17.5.1
macOS system version (if applicable)
17.5.1
Monal version
6.4
Used XMPP server (domain)
networklab.ca
Which XMPP-Server software are you using?
ejabberd
XMPP Server Software Version
24.06
How many accounts are you using in Monal?
What happened?
For video audio calls ejabberd stun , turn after discovery is failing. Based on ejabberd logs authentication sent incorrectly and result call is failing.
Anything else?
I will submit logs soon
FAQ
Considerations for XMPP users
XEP-Check
Notifications-Menu
The text was updated successfully, but these errors were encountered: