-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Problems making synapse (1.4.1) reliable working together with coturn (4.5.0.7) #6201
Comments
When a successful connection between a Apple iPad (Testaccount on matrix.org) and my Smartphone (@christian:chat.my.homeserver) is established i have these logs in syslog
|
After a second reboot of synapse and coturn my connection crashed with that logs:
|
The Difference between the "working-log" and the "non-working-log" today was: 1st -> Smartphone Client connected via mobile Data (LTE Provider) In both cases my called device - a iPad - was connected via WLAN (Guest Network) |
This doesn't immediately look like a synapse bug: as a reminder, the place to go for support is If you think there is a synapse bug, can you try to make it clear what you think the problem is, and format the logs so that they are legible? |
Thanks for your help. I opened my problem here because of several reasons. 1st too many infos to flood the chat on #synapse:matrix.org and i did that earlier but no answer because my posting gets more and more in the past and no one has read it any more. 2nd i'm not really sure what my problem exactly is, that why i gave the community my logs - i'm not that familiar in reading them and interprete what the messages mean 3rd it is an old problem - maybe not concerning a very new version of synapse / coturn - so on matrix.org many people in the past thought when i post it now my problem is the newest version of synapse concerned but no i have it a while - also had it with older versions of synapse in combination with coturn. What i miss is a really working config for both (synapse AND coturn) to reliable setup a voip chat for SoHo That why i posted the Link above to give you a hint what i've tried allready .... |
Well, i changed to synapse 1.4.1 I posted - as adviced - to chat synapse but the persons who helped me saw my logs and said that it seems to be ok. So my coturn config should be ok. With nextcloud talk i reliable get connections with that. When coturn isn't the problem, then synapse or the clients (android / iOS / web) might be the problem. What is curious - sometimes i get a conmnection (mostly after reloaded / rebootet the client(s) and/or synapse |
@chrissi55 Hello I fighting with similar issue. Currently I have found out that in recent versions of coturn maintainers have moved REST API from turn endpoint (coturn/coturn#355 (comment)) try to use |
I'm still confused about what the issue is here. the logs are illegible. |
Description
Steps to reproduce
install synapse, install coturn
config /etc/matrix-synapse/homeserver.yaml
using lets encrypt certs for ssl
use for turnserver the following instruction:
https://gist.github.com/maxidorius/2b0acc2e707ae9a2d6d0267026a1024f
in my case that means
homeserver.yaml =
`turn_uris:
- "turns:turn.my.domain?transport=udp"
- "turns:turn.my.domain?transport=tcp"
- "turn:turn.my.domain?transport=udp"
- "turn:turn.my.domain?transport=tcp"
5. for the coturn i edit the /etc/turnserver.conf as follows
syslogI expected that a initiated call will cause a "incoming call event" on the other client side.
This is working well in all cases. When clicking on "accept call" sometimes it works - after a few seconds i see the counter of the elapsed time working and can hear my called client.
But in many cases (later tried it with same call partner or new partners) the connection is not successfully established. I see "call partner has stopped the call"...
My logfiles of coturn says:
Oct 12 08:26:25 turnserver: 30: session 000000000000000003: realm <my.domain> user <>: incoming packet BINDING processed, success Oct 12 08:26:25 turnserver: 30: session 000000000000000003: realm <my.domain> user <>: incoming packet message processed, error 401: Unauthorized Oct 12 08:26:25 turnserver: 30: IPv4. tcp or tls connected to: [public.IPv4.client]:18170 Oct 12 08:26:25 turnserver: 30: IPv4. Local relay addr: [local.IPv4.turnserver]:60947 Oct 12 08:26:25 turnserver: 30: session 000000000000000003: new, realm=<my.domain>, username=<1570864258:@user1:chat.my.domain>, lifetime=600 Oct 12 08:26:25 turnserver: 30: session 000000000000000003: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet ALLOCATE processed, success Oct 12 08:26:25 turnserver: 30: IPv4. tcp or tls connected to: [public.IPv4.client]:21151 Oct 12 08:26:25 turnserver: 30: IPv4. tcp or tls connected to: [public.IPv4.client]:9059 Oct 12 08:26:25 turnserver: 30: session 001000000000000003: realm <my.domain> user <>: incoming packet message processed, error 401: Unauthorized Oct 12 08:26:25 turnserver: 30: session 000000000000000003: peer [public.IPv4.client] lifetime updated: 300 Oct 12 08:26:25 turnserver: 30: session 000000000000000003: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 30: session 000000000000000003: peer [public.IPv4.client] lifetime updated: 300 Oct 12 08:26:25 turnserver: 30: session 000000000000000003: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 30: session 000000000000000003: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:25 turnserver: 30: session 000000000000000003: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 30: session 000000000000000003: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:25 turnserver: 30: session 000000000000000003: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 30: IPv4. Local relay addr: [local.IPv4.turnserver]:55690 Oct 12 08:26:25 turnserver: 30: session 001000000000000003: new, realm=<my.domain>, username=<1570864258:@user1:chat.my.domain>, lifetime=600 Oct 12 08:26:25 turnserver: 30: session 001000000000000003: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet ALLOCATE processed, success Oct 12 08:26:25 turnserver: 30: session 000000000000000004: TLS/TCP socket disconnected: [public.IPv4.client]:18170 Oct 12 08:26:25 turnserver: 30: session 000000000000000004: closed (2nd stage), user <> realm <my.domain> origin <>, local [local.IPv4.turnserver]:5349, remote [public.IPv4.client]:18170, reason: TLS/TCP socket buffer operation error (callback) Oct 12 08:26:25 turnserver: 31: session 000000000000000005: TLS/TCP socket disconnected: [public.IPv4.client]:9059 Oct 12 08:26:25 turnserver: 31: session 000000000000000005: closed (2nd stage), user <> realm <my.domain> origin <>, local [local.IPv4.turnserver]:5349, remote [public.IPv4.client]:9059, reason: TLS/TCP socket buffer operation error (callback) Oct 12 08:26:25 turnserver: 31: session 001000000000000003: peer [public.IPv4.client] lifetime updated: 300 Oct 12 08:26:25 turnserver: 31: session 001000000000000003: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 31: session 001000000000000003: peer [public.IPv4.client] lifetime updated: 300 Oct 12 08:26:25 turnserver: 31: session 001000000000000003: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 31: session 001000000000000003: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:25 turnserver: 31: session 001000000000000003: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 31: session 001000000000000003: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:25 turnserver: 31: session 001000000000000003: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 31: session 001000000000000002: peer [public.IPv4.client] lifetime updated: 300 Oct 12 08:26:25 turnserver: 31: session 001000000000000002: realm <my.domain> user <1570863445:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 31: session 000000000000000001: peer [public.IPv4.client] lifetime updated: 300 Oct 12 08:26:25 turnserver: 31: session 000000000000000001: realm <my.domain> user <1570863445:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 31: session 001000000000000002: peer [public.IPv4.client] lifetime updated: 300 Oct 12 08:26:25 turnserver: 31: session 001000000000000002: realm <my.domain> user <1570863445:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 31: session 001000000000000002: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:25 turnserver: 31: session 001000000000000002: realm <my.domain> user <1570863445:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 31: session 000000000000000001: peer [public.IPv4.client] lifetime updated: 300 Oct 12 08:26:25 turnserver: 31: session 000000000000000001: realm <my.domain> user <1570863445:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 31: session 001000000000000002: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:25 turnserver: 31: session 001000000000000002: realm <my.domain> user <1570863445:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 31: session 000000000000000001: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:25 turnserver: 31: session 000000000000000001: realm <my.domain> user <1570863445:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 31: session 000000000000000001: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:25 turnserver: 31: session 000000000000000001: realm <my.domain> user <1570863445:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 31: session 000000000000000003: peer [public.IPv4.client] lifetime updated: 300 Oct 12 08:26:25 turnserver: 31: session 000000000000000003: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:25 turnserver: 31: session 000000000000000003: peer [public.IPv4.client] lifetime updated: 600 Oct 12 08:26:25 turnserver: 31: session 000000000000000003: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CHANNEL_BIND processed, success Oct 12 08:26:26 turnserver: 31: session 000000000000000001: peer [public.IPv4.client] lifetime updated: 300 Oct 12 08:26:26 turnserver: 31: session 000000000000000001: realm <my.domain> user <1570863445:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:30 turnserver: 36: session 000000000000000003: refreshed, realm=<my.domain>, username=<1570864258:@user1:chat.my.domain>, lifetime=0 Oct 12 08:26:30 turnserver: 36: session 000000000000000003: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet REFRESH processed, success Oct 12 08:26:30 turnserver: 36: session 001000000000000003: refreshed, realm=<my.domain>, username=<1570864258:@user1:chat.my.domain>, lifetime=0 Oct 12 08:26:30 turnserver: 36: session 001000000000000003: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet REFRESH processed, success Oct 12 08:26:30 turnserver: 36: session 001000000000000003: TCP socket closed remotely [public.IPv4.client]:21151 Oct 12 08:26:30 turnserver: 36: session 001000000000000003: closed (2nd stage), user <1570864258:@user1:chat.my.domain> realm <my.domain> origin <>, local [local.IPv4.turnserver]:3478, remote [public.IPv4.client]:21151, reason: TCP connection closed by client (callback) Oct 12 08:26:30 turnserver: 36: session 001000000000000003: delete: realm=<my.domain>, username=<1570864258:@user1:chat.my.domain> Oct 12 08:26:30 turnserver: 36: session 001000000000000003: peer [local.IPv4.turnserver] deleted Oct 12 08:26:30 turnserver: 36: session 001000000000000003: peer [public.IPv4.client] deleted Oct 12 08:26:30 turnserver: 36: session 001000000000000003: peer [public.IPv4.client] deleted Oct 12 08:26:31 turnserver: 36: session 000000000000000001: refreshed, realm=<my.domain>, username=<1570863445:@user2:chat.my.domain>, lifetime=0 Oct 12 08:26:31 turnserver: 36: session 000000000000000001: realm <my.domain> user <1570863445:@user2:chat.my.domain>: incoming packet REFRESH processed, success Oct 12 08:26:31 turnserver: 36: session 001000000000000002: refreshed, realm=<my.domain>, username=<1570863445:@user2:chat.my.domain>, lifetime=0 Oct 12 08:26:31 turnserver: 36: session 001000000000000002: realm <my.domain> user <1570863445:@user2:chat.my.domain>: incoming packet REFRESH processed, success Oct 12 08:26:31 turnserver: 36: session 001000000000000002: TCP socket closed remotely [public.IPv4.client]:4045 Oct 12 08:26:31 turnserver: 36: session 001000000000000002: closed (2nd stage), user <1570863445:@user2:chat.my.domain> realm <my.domain> origin <>, local [local.IPv4.turnserver]:3478, remote [public.IPv4.client]:4045, reason: TCP connection closed by client (callback) Oct 12 08:26:31 turnserver: 36: session 001000000000000002: delete: realm=<my.domain>, username=<1570863445:@user2:chat.my.domain> Oct 12 08:26:31 turnserver: 36: session 001000000000000002: peer [public.IPv4.client] deleted Oct 12 08:26:31 turnserver: 36: session 001000000000000002: peer [local.IPv4.turnserver] deleted Oct 12 08:26:31 turnserver: 36: session 001000000000000002: peer [public.IPv4.client] deleted Oct 12 08:26:31 turnserver: 37: session 000000000000000003: closed (2nd stage), user <1570864258:@user1:chat.my.domain> realm <my.domain> origin <>, local [local.IPv4.turnserver]:3478, remote [public.IPv4.client]:15525, reason: allocation timeout Oct 12 08:26:31 turnserver: 37: session 000000000000000003: delete: realm=<my.domain>, username=<1570864258:@user1:chat.my.domain> Oct 12 08:26:31 turnserver: 37: session 000000000000000003: peer [local.IPv4.turnserver] deleted Oct 12 08:26:31 turnserver: 37: session 000000000000000003: peer [public.IPv4.client] deleted Oct 12 08:26:31 turnserver: 37: session 000000000000000003: peer [public.IPv4.client] deleted Oct 12 08:26:32 turnserver: 37: session 000000000000000001: closed (2nd stage), user <1570863445:@user2:chat.my.domain> realm <my.domain> origin <>, local [local.IPv4.turnserver]:3478, remote [public.IPv4.client]:15122, reason: allocation timeout Oct 12 08:26:32 turnserver: 37: session 000000000000000001: delete: realm=<my.domain>, username=<1570863445:@user2:chat.my.domain> Oct 12 08:26:32 turnserver: 37: session 000000000000000001: peer [public.IPv4.client] deleted Oct 12 08:26:32 turnserver: 37: session 000000000000000001: peer [local.IPv4.turnserver] deleted Oct 12 08:26:32 turnserver: 37: session 000000000000000001: peer [public.IPv4.client] deleted Oct 12 08:26:44 mail synapse[10421]: 2019-10-12 08:26:44,172 - synapse.http.site - 203 - WARNING - GET-1345- Error processing request <XForwardedForRequest at 0x7f6632fb5e48 method='GET' uri='/_matrix/client/r0/sync?filter=6&timeout=30000&since=s222065_4528381_10_157998_25249_404_37024_19146_2' clientproto='HTTP/1.0' site=8008>: <class 'twisted.internet.error.ConnectionDone'> Connection was closed cleanly. Oct 12 08:26:49 turnserver: 54: handle_udp_packet: New UDP endpoint: local addr [local.IPv4.turnserver]:3478, remote addr [public.IPv4.client]:6516 Oct 12 08:26:49 turnserver: 54: session 001000000000000004: realm <my.domain> user <>: incoming packet BINDING processed, success Oct 12 08:26:49 turnserver: 54: session 001000000000000004: realm <my.domain> user <>: incoming packet message processed, error 401: Unauthorized Oct 12 08:26:49 turnserver: 54: IPv4. Local relay addr: [local.IPv4.turnserver]:60616 Oct 12 08:26:49 turnserver: 54: session 001000000000000004: new, realm=<my.domain>, username=<1570864258:@user1:chat.my.domain>, lifetime=600 Oct 12 08:26:49 turnserver: 54: session 001000000000000004: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet ALLOCATE processed, success Oct 12 08:26:49 turnserver: 54: IPv4. tcp or tls connected to: [public.IPv4.client]:12315 Oct 12 08:26:49 turnserver: 54: IPv4. tcp or tls connected to: [public.IPv4.client]:19929 Oct 12 08:26:49 turnserver: 54: IPv4. tcp or tls connected to: [public.IPv4.client]:17384 Oct 12 08:26:49 turnserver: 54: session 000000000000000007: realm <my.domain> user <>: incoming packet message processed, error 401: Unauthorized Oct 12 08:26:49 turnserver: 54: session 001000000000000005: TLS/TCP socket disconnected: [public.IPv4.client]:12315 Oct 12 08:26:49 turnserver: 54: session 001000000000000005: closed (2nd stage), user <> realm <my.domain> origin <>, local [local.IPv4.turnserver]:5349, remote [public.IPv4.client]:12315, reason: TLS/TCP socket buffer operation error (callback) Oct 12 08:26:49 synapse[10421]: 2019-10-12 08:26:49,156 - synapse.http.server - 458 - WARNING - GET-1345- Not sending response to request <XForwardedForRequest at 0x7f6632fb5e48 method='GET' uri='/_matrix/client/r0/sync?filter=6&timeout=30000&since=s222065_4528381_10_157998_25249_404_37024_19146_2' clientproto='HTTP/1.0' site=8008>, already disconnected. Oct 12 08:26:49 turnserver: 54: session 000000000000000006: TLS/TCP socket disconnected: [public.IPv4.client]:19929 Oct 12 08:26:49 turnserver: 54: session 000000000000000006: closed (2nd stage), user <> realm <my.domain> origin <>, local [local.IPv4.turnserver]:5349, remote [public.IPv4.client]:19929, reason: TLS/TCP socket buffer operation error (callback) Oct 12 08:26:49 turnserver: 54: IPv4. Local relay addr: [local.IPv4.turnserver]:55952 Oct 12 08:26:49 turnserver: 54: session 000000000000000007: new, realm=<my.domain>, username=<1570864258:@user1:chat.my.domain>, lifetime=600 Oct 12 08:26:49 turnserver: 54: session 000000000000000007: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet ALLOCATE processed, success Oct 12 08:26:50 turnserver: 56: handle_udp_packet: New UDP endpoint: local addr [local.IPv4.turnserver]:3478, remote addr [public.IPv4.server]:40606 Oct 12 08:26:50 turnserver: 56: session 000000000000000008: realm <my.domain> user <>: incoming packet BINDING processed, success Oct 12 08:26:50 turnserver: 56: session 000000000000000008: realm <my.domain> user <>: incoming packet message processed, error 401: Unauthorized Oct 12 08:26:50 turnserver: 56: IPv4. Local relay addr: [local.IPv4.turnserver]:55581 Oct 12 08:26:50 turnserver: 56: session 000000000000000008: new, realm=<my.domain>, username=<1570862114:@user2:chat.my.domain>, lifetime=600 Oct 12 08:26:50 turnserver: 56: session 000000000000000008: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet ALLOCATE processed, success Oct 12 08:26:50 turnserver: 56: session 000000000000000008: peer [public.IPv4.client] lifetime updated: 300 Oct 12 08:26:50 turnserver: 56: session 000000000000000008: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:50 turnserver: 56: session 000000000000000008: peer [public.IPv4.client] lifetime updated: 300 Oct 12 08:26:50 turnserver: 56: session 000000000000000008: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:50 turnserver: 56: session 000000000000000008: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:50 turnserver: 56: session 000000000000000008: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:50 turnserver: 56: session 000000000000000008: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:50 turnserver: 56: session 000000000000000008: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:50 turnserver: 56: IPv4. tcp or tls connected to: [public.IPv4.server]:57330 Oct 12 08:26:50 turnserver: 56: IPv4. tcp or tls connected to: [public.IPv4.server]:47692 Oct 12 08:26:50 turnserver: 56: IPv4. tcp or tls connected to: [public.IPv4.server]:57332 Oct 12 08:26:50 turnserver: 56: session 000000000000000010: realm <my.domain> user <>: incoming packet message processed, error 401: Unauthorized Oct 12 08:26:50 turnserver: 56: IPv4. Local relay addr: [local.IPv4.turnserver]:65397 Oct 12 08:26:50 turnserver: 56: session 000000000000000010: new, realm=<my.domain>, username=<1570862114:@user2:chat.my.domain>, lifetime=600 Oct 12 08:26:50 turnserver: 56: session 000000000000000010: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet ALLOCATE processed, success Oct 12 08:26:50 turnserver: 56: session 000000000000000010: peer [public.IPv4.client] lifetime updated: 300 Oct 12 08:26:50 turnserver: 56: session 000000000000000010: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:50 turnserver: 56: session 000000000000000009: TLS/TCP socket disconnected: [public.IPv4.server]:57330 Oct 12 08:26:50 turnserver: 56: session 000000000000000009: closed (2nd stage), user <> realm <my.domain> origin <>, local [local.IPv4.turnserver]:5349, remote [public.IPv4.server]:57330, reason: TLS/TCP socket buffer operation error (callback) Oct 12 08:26:50 turnserver: 56: session 001000000000000006: TLS/TCP socket disconnected: [public.IPv4.server]:57332 Oct 12 08:26:50 turnserver: 56: session 000000000000000010: peer [public.IPv4.client] lifetime updated: 300 Oct 12 08:26:50 turnserver: 56: session 000000000000000010: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:50 turnserver: 56: session 001000000000000006: closed (2nd stage), user <> realm <my.domain> origin <>, local [local.IPv4.turnserver]:5349, remote [public.IPv4.server]:57332, reason: TLS/TCP socket buffer operation error (callback) Oct 12 08:26:50 turnserver: 56: session 000000000000000010: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:50 turnserver: 56: session 000000000000000010: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:50 turnserver: 56: session 000000000000000010: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:50 turnserver: 56: session 000000000000000010: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:51 turnserver: 56: session 000000000000000007: peer [local.IPv4.riot-web-client] lifetime updated: 300 Oct 12 08:26:51 turnserver: 56: session 000000000000000007: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:51 turnserver: 56: session 000000000000000007: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:51 turnserver: 56: session 000000000000000007: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:51 turnserver: 56: session 001000000000000004: peer [local.IPv4.riot-web-client] lifetime updated: 300 Oct 12 08:26:51 turnserver: 56: session 001000000000000004: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:51 turnserver: 56: session 000000000000000007: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:51 turnserver: 56: session 000000000000000007: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:51 turnserver: 56: session 000000000000000007: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:51 turnserver: 56: session 000000000000000007: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:51 turnserver: 56: session 001000000000000004: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:51 turnserver: 56: session 001000000000000004: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:51 turnserver: 56: session 001000000000000004: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:51 turnserver: 56: session 001000000000000004: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:51 turnserver: 56: session 001000000000000004: peer [local.IPv4.turnserver] lifetime updated: 300 Oct 12 08:26:51 turnserver: 56: session 001000000000000004: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:51 turnserver: 57: session 000000000000000010: peer [local.IPv4.turnserver] lifetime updated: 600 Oct 12 08:26:51 turnserver: 57: session 000000000000000010: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet CHANNEL_BIND processed, success Oct 12 08:26:51 turnserver: 57: session 000000000000000007: peer [local.IPv4.turnserver] lifetime updated: 600 Oct 12 08:26:51 turnserver: 57: session 000000000000000007: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet CHANNEL_BIND processed, success Oct 12 08:26:51 turnserver: 57: session 000000000000000008: peer [public.IPv4.client] lifetime updated: 300 Oct 12 08:26:51 turnserver: 57: session 000000000000000008: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet CREATE_PERMISSION processed, success Oct 12 08:26:51 turnserver: 57: session 000000000000000008: peer [public.IPv4.client] lifetime updated: 600 Oct 12 08:26:51 turnserver: 57: session 000000000000000008: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet CHANNEL_BIND processed, success Oct 12 08:26:59 turnserver: 64: session 001000000000000004: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet BINDING processed, success Oct 12 08:27:00 turnserver: 66: session 000000000000000008: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet BINDING processed, success Oct 12 08:27:04 turnserver: 69: session 000000000000000008: refreshed, realm=<my.domain>, username=<1570862114:@user2:chat.my.domain>, lifetime=0 Oct 12 08:27:04 turnserver: 69: session 000000000000000008: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet REFRESH processed, success Oct 12 08:27:04 turnserver: 69: session 000000000000000010: refreshed, realm=<my.domain>, username=<1570862114:@user2:chat.my.domain>, lifetime=0 Oct 12 08:27:04 turnserver: 69: session 000000000000000010: realm <my.domain> user <1570862114:@user2:chat.my.domain>: incoming packet REFRESH processed, success Oct 12 08:27:04 turnserver: 69: session 000000000000000010: TCP socket closed remotely [public.IPv4.server]:47692 Oct 12 08:27:04 turnserver: 69: session 000000000000000010: closed (2nd stage), user <1570862114:@user2:chat.my.domain> realm <my.domain> origin <>, local [local.IPv4.turnserver]:3478, remote [public.IPv4.server]:47692, reason: TCP connection closed by client (callback) Oct 12 08:27:04 turnserver: 69: session 000000000000000010: delete: realm=<my.domain>, username=<1570862114:@user2:chat.my.domain> Oct 12 08:27:04 turnserver: 69: session 000000000000000010: peer [public.IPv4.client] deleted Oct 12 08:27:04 turnserver: 69: session 000000000000000010: peer [local.IPv4.turnserver] deleted Oct 12 08:27:04 turnserver: 69: session 000000000000000010: peer [public.IPv4.client] deleted Oct 12 08:27:04 turnserver: 70: session 001000000000000004: refreshed, realm=<my.domain>, username=<1570864258:@user1:chat.my.domain>, lifetime=0 Oct 12 08:27:04 turnserver: 70: session 001000000000000004: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet REFRESH processed, success Oct 12 08:27:04 turnserver: 70: session 000000000000000007: refreshed, realm=<my.domain>, username=<1570864258:@user1:chat.my.domain>, lifetime=0 Oct 12 08:27:04 turnserver: 70: session 000000000000000007: realm <my.domain> user <1570864258:@user1:chat.my.domain>: incoming packet REFRESH processed, success Oct 12 08:27:04 turnserver: 70: session 000000000000000007: TCP socket closed remotely [public.IPv4.client]:17384 Oct 12 08:27:04 turnserver: 70: session 000000000000000007: closed (2nd stage), user <1570864258:@user1:chat.my.domain> realm <my.domain> origin <>, local [local.IPv4.turnserver]:3478, remote [public.IPv4.client]:17384, reason: TCP connection closed by client (callback) Oct 12 08:27:04 turnserver: 70: session 000000000000000007: delete: realm=<my.domain>, username=<1570864258:@user1:chat.my.domain> Oct 12 08:27:04 turnserver: 70: session 000000000000000007: peer [local.IPv4.riot-web-client] deleted Oct 12 08:27:04 turnserver: 70: session 000000000000000007: peer [local.IPv4.turnserver] deleted Oct 12 08:27:05 turnserver: 70: session 000000000000000008: closed (2nd stage), user <1570862114:@user2:chat.my.domain> realm <my.domain> origin <>, local [local.IPv4.turnserver]:3478, remote [public.IPv4.server]:40606, reason: allocation timeout Oct 12 08:27:05 turnserver: 70: session 000000000000000008: delete: realm=<my.domain>, username=<1570862114:@user2:chat.my.domain> Oct 12 08:27:05 turnserver: 70: session 000000000000000008: peer [public.IPv4.client] deleted Oct 12 08:27:05 turnserver: 70: session 000000000000000008: peer [local.IPv4.turnserver] deleted Oct 12 08:27:05 turnserver: 70: session 000000000000000008: peer [public.IPv4.client] deleted Oct 12 08:27:05 turnserver: 71: session 001000000000000004: closed (2nd stage), user <1570864258:@user1:chat.my.domain> realm <my.domain> origin <>, local [local.IPv4.turnserver]:3478, remote [public.IPv4.client]:6516, reason: allocation timeout Oct 12 08:27:05 turnserver: 71: session 001000000000000004: delete: realm=<my.domain>, username=<1570864258:@user1:chat.my.domain> Oct 12 08:27:05 turnserver: 71: session 001000000000000004: peer [local.IPv4.riot-web-client] deleted Oct 12 08:27:05 turnserver: 71: session 001000000000000004: peer [local.IPv4.turnserver] deleted
Version information
I don't understand why sometimes it works (for a few calls) between same clients after i restarted the server and restarted the clients.
When testing between clients in different networks (local net and external Provider or foreign WLAN) sometimes it works with same config and a few hours later same clients can't establish a VoIP Connection. My problem is not reproducable for me.
So if a firewall rule hinders my connections it should do that all time in the same way i expect. And on the other hand i expect that if firewall is well configured or disabled no traffic between voip clients is blocked.
What does that mean if my logfile says:
"....closed (2nd stage), user <1570864258:@user_xy:chat.my.domain> realm <my.domain> origin <>, local Turnserver.IPv4:3478, remote public Client.IPv4:17384, reason: TCP connection closed by client (callback)...."
If not matrix.org:
My homeserver is running as VM on an VMware Server with 4GB RAM, configured to use PostgreSQL 11.5 as DataBase (psycopg2)
The Homeserver is behind a reverse Proxy (Nginx 1.17.4) with OpenSSL 1.1.1 (TLS 1.3) Support
Federation Tester says "success" in all checked points.
The text was updated successfully, but these errors were encountered: