element-hq / element-hq/element-ios

Let’s Encrypt certificates for TURNS are rejected

Open
#2,712 3 comments 10 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

TURNS doesn't work.

With
```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)```

riot-web works fine, ```testssl.sh domain.tld:5349``` and ```testssl.sh domain.tld:3478``` also shows no errors.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure with the supplied TURNS URIs on the iOS app and compare it with the working riot-web and testssl.sh results. Trace the app's TURNS/TLS connection path; done means both UDP and TCP configurations establish a connection without the reported TLS/TCP socket buffer error.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios
Domain
mobile, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.