Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

TURNS (TURN with TLS/DTLS) socket buffer operation error #5954

Closed
532910 opened this issue Aug 31, 2019 · 5 comments
Closed

TURNS (TURN with TLS/DTLS) socket buffer operation error #5954

532910 opened this issue Aug 31, 2019 · 5 comments

Comments

@532910
Copy link

532910 commented Aug 31, 2019

I've installed and configured coturn daemon for tls and plaintext listeners.
It work fine, while connection is plaintext: turn_uris: [ "turn:domain.tld:3478?transport=udp", "turn:domain.tld:3478?transport=tcp" ]

testssl.sh domain.tld:5349 and testssl.sh domain.tld:3478 also shows no errors.

But when I use
turn_uris: [ "turns:domain.tld:5349?transport=udp", "turns:domain.tld:5349?transport=tcp" ]
or
turn_uris: [ "turns:domain.tld:3478?transport=udp", "turns:domain.tld:3478?transport=tcp" ]

turnserver reports an error: session closed ... reason: TLS/TCP socket buffer operation error (callback)

@richvdh
Copy link
Member

richvdh commented Sep 2, 2019

that sounds more like a client bug than a synapse one? turn_uris is used solely to populate the response to the /voip/turnServer endpoint.

@532910
Copy link
Author

532910 commented Sep 3, 2019

Agree. Should I open new three separates issues for riot-android, riot-web, and riot-ios?

@richvdh
Copy link
Member

richvdh commented Sep 3, 2019

if it's affecting all those clients, I guess so.

@jryans
Copy link
Contributor

jryans commented Sep 3, 2019

If all clients are affected, I would maybe start with riot-web and mention it affects the others as well, rather than fragmenting the conversation across 3 issues. (For the moment, it sounds like a TURN server configuration issue or coturn bug, but it's hard to be sure.)

@532910
Copy link
Author

532910 commented Sep 12, 2019

riot-web works fine
element-hq/element-ios#2712 element-hq/riot-android#3299

@532910 532910 closed this as completed Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants