You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running synapse with an nginx reverse-proxy.
Since the documentation states "The public-facing base URL for the client API (not including _matrix/...)", i configured the public_baseurl to a subdomain pointing directly to the box where synapse is running on.
I don't know if it is a weird coincidence but since the latest release of riot-web, new logins started to fail because they got redirected to the public_baseurl and ended in a 405.
Stangely enough, i changed this setting to the main url (with the reverse-proxy at /_matrix) and it seems to work just fine again.
At this point i don't know if i may broke something i am not aware of yet or if i simply fixed a bad setting in my synapse configuration, so i'd appreciate clarification on what just happened / what this setting is for - i had it like that for maybe a year or so without issues before.
Regards! :3
The text was updated successfully, but these errors were encountered:
Interesting - so this was a misconfiguration of the public_baseurl in synapse: it should be the URL that clients use to access synapse, so if you have a reverse proxy, the URL that hits the reverse proxy, ie. your new configuration is correct.
The change that caused this will be matrix-org/matrix-react-sdk#2384 which went out with v0.17.9. This honours the URL that synapse now sends in the login response. This URL comes from the public_baseurl field, so setting it to a non-publicly accessible field will cause things to break.
I don't think we anticipated this kind of misconfiguration when doing this change, this probably should have been mentioned in some release notes or similar. I'll try & clarify the docs for public_baseurl though.
I am running synapse with an nginx reverse-proxy.
Since the documentation states "The public-facing base URL for the client API (not including _matrix/...)", i configured the
public_baseurl
to a subdomain pointing directly to the box where synapse is running on.I don't know if it is a weird coincidence but since the latest release of riot-web, new logins started to fail because they got redirected to the public_baseurl and ended in a 405.
Stangely enough, i changed this setting to the main url (with the reverse-proxy at /_matrix) and it seems to work just fine again.
At this point i don't know if i may broke something i am not aware of yet or if i simply fixed a bad setting in my synapse configuration, so i'd appreciate clarification on what just happened / what this setting is for - i had it like that for maybe a year or so without issues before.
Regards! :3
The text was updated successfully, but these errors were encountered: