matrix-org / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://matrix-org.github.io/dendrite/
Apache License 2.0
5.67k stars 664 forks source link

Dendrite 0.13.0 onwards causes unrecognized request on server URL input on Element Android #3186

Open Alexilator opened 1 year ago

Alexilator commented 1 year ago

Background information

Description

Steps to reproduce

There is nothing in the container logs regarding the client error.

S7evinK commented 1 year ago

Which version did you upgrade from?

Alexilator commented 1 year ago

Which version did you upgrade from?

I upgraded from 0.12.0 but was also able to reproduce with a clean 0.13.0 install.

atahanacar commented 11 months ago

I had the same issue. Properly setting up a .well-known/matrix/client fixed the issue.

mkroman commented 10 months ago

Same issue here. I can confirm that setting up a proper .well-known/matrix/client response solves the issue.

I had to deploy nginx with a static response just for this:

https://github.com/mkroman/k8s/blob/d857aee6c3d4a5d600b9f788a32e2ddc8ae3633d/kustomize/dendrite/base/configmap.nginx-config.yaml#L9-L31

It would be great if Dendrite could provide this endpoint just like it provides the .well-known/matrix/server endpoint.


According to the specs at https://spec.matrix.org/v1.3/client-server-api/#well-known-uri a 404 should immediately trigger a IGNORE and the client should revert to using default values, which in my case would be the base domain.. But for some reason, the android client doesn't do that.

QAQ5555 commented 8 months ago

same error Hope it can be resolved as soon as possible