-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Login fails after update from 1.25.0 to 1.26.0 - syncing forever ... many rooms #9264
Comments
I can confirm the same problem. Here are some logs that came up while trying to log in with
|
I have the problem with version 1.26.0 a new installation on a new home server domain. Homeserver: Version: Install method: Database: OS: The problem occurs on element android clients and webcleints. |
An update to my problem. The same problem occurs when using 1.25.0. I downgraded and started always with fresh config and database. With 1.24.0 the problem was gone. |
Thanks for the update! Is it possible to apply the |
Maybe noone needs to revert back to older server versions - I had the same problem and it was solved by correcting a misconfigured homeserver.yaml configuration.
After I changed these two settings, logging in on new element devices (including nextcloud client) worked again. Hope this helps anyone... Kind regards Simon |
Same behavior. @menschentier suggestion was not applicable/didn't help due to the new installation. |
What I found while diagnosing the error was this here: What I tried before (and what is still active in my current working configuration) is setting filter_timeline_limit down to 25. I'm not much of a developer, but it would make sense as this login process seems to run into a timeout after around 90 seconds (nextcloud app). |
This did not help on our installation. |
This did not help on our installation. |
A change introduced in 1.26.0 is that public_baseurl is now set by default (it defaults to So I do recommend that people double-check their |
Uncommenting public_baseurl, which is commented out by default, fixes the issue. public_baseurl should be uncommented and set to matrix.domain.com or whereever your synapse lives. |
I double cross checked my public_baseurl setting and now it is pointing to the right URL! Sometimes you have to look twice! Thx. works for me now. |
Solved the issue for me too. Thanks! |
I don't think this issue should be closed. Lots of people are running in to this. |
Good point on updating the |
I agree, this does need addressing. The reason it is breaking existing installations is that the response to So, one solution might be to only include the URI in the login response if We would probably need to update the INSTALL.md doc as well as UPGRADE.rst. |
This change broke my specific setup as well, but I'm confused as to what I should be adding to public_baseurl. I don't own a domain name and I host a server just for me and small group of friends. My friends access it via my external IP and I access it via my LAN IP. To clarify, I've had public_baseurl commented out this whole time and my setup worked fine. |
We need to make a decision on this before releasing 1.27. Obvious options:
|
This was introduced in #9159 |
note that a bunch of later PRs have built on top of the change, so this is a somewhat intrusive option. |
We believe we'll want to move toward making this mandatory in the long term. We will need to determine a graceful way to do that. In the shorter term, we need to find a way to unbreak users in the common case when upgrading. Regardless, we will retroactively add a note to the upgrade docs. |
Our current plan is to attempt to revert this and figure out how painful that actually is. If it turns to be too painful, we'll go with temporarily avoiding well-known generation when public_baseurl is not explicitly set. |
Same problem. Uncommenting public_baseurl was the solution |
Should be fixed in v1.27.0rc2. |
Description
We did an update to our system today from V 1.25.0 to the recent 1.26.0. Since that time no Users can log in anymore.
Still logged in users do not see any problem. Even after a restart of synapse.
Steps to reproduce
Point the webbrowser (Firefox or safari Mac, or FF Linux) to the element webpage or open the element app on Mac, linux, iOS and point it to the URL.
Enter the login username and password for an AD user.
In the webbrowser I get the message: "Syncing, If you've joined lots of rooms, this might take a while."
On the iOS iPad I get a spinning logo.
I'd expect to be logged in an beeing granted access to all my room etc.
Version information
matrix.dangermouse.filmakademie.de
{"server_version":"1.26.0","python_version":"3.6.9"}
install: apt install matrix-synapse-py3
update: apt upgrade
Ubuntu 18.04.5 LTS
Virtual server.
Note:
Nevertheless: Amazing project, great Work !!!! - Kowtow
The text was updated successfully, but these errors were encountered: