element-x-ios icon indicating copy to clipboard operation
element-x-ios copied to clipboard

.well-known request comes with a double slash - federation delegation not working as expected

Open apfelnutzer opened this issue 8 months ago • 5 comments

Steps to reproduce

  1. Where are you starting? What can you see? I discovered failed Element requests in my Traefik logs showing that the .well-known request of Element X for iOS starts with a double "/":

[25/Feb/2025:14:46:22 +0000] "GET //.well-known/element/element.json HTTP/1.1" 404 1236 "-" "Element X/25.02.0

Moreover Element X ignored federation delegation on my server which I fixed within Traefik. Synapse is hosted on matrix.server.tld, but requests where send to server.tld despite delegation, so I forwarded everything starting with server.tld/_matrix to matrix.server.tld/_matrix ...

Outcome

What did you expect?

Request should just contain one /, .well-known files is loaded/considered respectively and further request are considering delegation.

What happened instead?

Request contains two slashed, .well-known files are ignored.

Your phone model

iPhone 13

Operating system version

iOS 18.3.1

Application version

25.02.0

Homeserver

1.124.0

Will you send logs?

No

apfelnutzer avatar Feb 25 '25 16:02 apfelnutzer