element-hq / element-hq/element-ios

Cannot connect to HTTPS homeserver with valid cert, well-known

Open
#7,783 5 comments 0 reactions 0 assignees View on GitHub
T-Defect
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Set up a self-hosted homeserver with trusted SSL certificates (Let's Encrypt).
2. Add a .well-known/matrix/client entry with m.homeserver.base_url set properly to https://server:port.
3. Open Element iOS and select "I already have an account".
4. Edit where your conversations live, and type your server hostname.

Cannot send logs as the shake-to-log feature does not work on the login screen. Cannot determine Element iOS version because the settings menu is not accessible until logged in. Assuming 1.11.9.

### Outcome

#### What did you expect?
Element iOS is able to proceed to the login screen.
The same configuration works on the web and on the desktop app. Android not tested.

#### What happened instead?
Element iOS times out for several minutes before erroring with a cannot connect message.

### Your phone model

iPhone 13 Pro

### Operating system version

iOS17.4.1

### Application version

Cannot get to the version page; assuming 1.11.9

### Homeserver

guardiansgate.games

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.