element-hq / element-hq/element-x-android

Reverse Proxy 404 error catching, prevents message sent via bridges

Open
#4,042 3 comments 0 reactions 0 assignees View on GitHub
O-Uncommon S-Major T-Defect
Dominant language
Kotlin
Stars
2.4k
Forks
624
Avg merge
1d 14h
Merged PRs (30d)
149

Description

### Steps to reproduce

Im running element web, synapse, elementhq matrix authentication server, and 2 mautrix bridges via docker.
Synapse runs behind a traefik reverse proxy, that catches 403,404 and 502-599 errors and sends it to a custom service, that serves styled error pages.

### Outcome

When using the element desktop and web app everything works fine and messages could be sent.
When using the android app, the 404 error catching rule, prevents the android app from sending any messages, via the 2 mautrix bridges.

Correct me if i`m wrong, that it has something to do with the android app, when the other 2 apps (both web apps basically), can send messages without any isssue.

Current workaround, is to just simply disable error catching for 404 errors

### Your phone model

OnePlus 9 Pro

### Operating system version

Android 14

### Application version and app store

0.7.5 (40007050)

### Homeserver

Synapse

### Will you send logs?

Yes

### Are you willing to provide a PR?

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.