element-hq / element-hq/element-ios

Element iOS stuck in infinite sync with private server

Open
#7,774 1 comment 1 reaction 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

I have an infinite sync issue on Element iOS with my private server

Problem description:

I have an iPhone 12 with iOS 17.2.1.
I have a private server with 360-day self-signed SSL.
I downloaded the .crt certificate and installed it directly on my iPhone.
I installed Element iOS version 1.11.8.
I connected to my personal server and confirmed that the fingerprint is the same as the certificate installed on my iPhone.
When I connect to my private server, everything works fine at first.
However, when I close and reopen Element, the app gets stuck in an infinite sync and does not allow me to send or receive messages.

### Outcome

Attempted solution:

I added the homeserver.yaml file with the following configurations:

refresh_token_lifetime: 24h
nonrefreshable_access_token_lifetime: 24h
refreshable_access_token_lifetime: 10m
session_lifetime: 24h

Result:

The solution did not work.

Help request:

What other solution can I try to fix the infinite sync issue on Element iOS?

Gratitude:

Thank you very much for your help.

### Your phone model

iPhone 12

### Operating system version

iOS 17.2.1.

### Application version

1.11.8.

### Homeserver

Local

### Will you send logs?

Yes

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.