I have a very similar problem. After upgrading, I get the following message when I try to log in via the web GUI:
“syncthing Login failed, see Syncthing logs for details”
I have tried deleting the password and user from config.xml, after creating a new user and new password again the same phenomenon.
OS Arch linux x86_64, syncthing version: v1.29.0 “Gold Grasshopper”. The server is managed by systemctl, by default it does not write any logfiles, the journal does not show any errors. I have tried running it manually with the option “–logfile=<logfile.log>” added and “–logflags=0” instead of “–logflags=3”, but I still don’t see what the problem is in the log.
Seems to me, that the “backgroud-update” from 1.28.1 to 1.29.0 introduce the login problem…
But, what is the way to make a downgrade from 1.29.0 to 1.28.1 on a Synology NAS?
Thanks
Ralf
If you want help, post logs: Browser console logs and/or syncthing logs, the latter optionally with STTRACE=api.
And if you do chime in with “I have the same problem”, please provide OS and browser version - then there’s some useful signal to the comment, maybe there’s a pattern.
Have the same failure to log into the GUI after upgrading to v1.29.0 from 1.28.1 on the latest Edge browser running on Win11 and latest Firefox running on Linux Mint. Have used SyncTrayzor on Win11 for about one year without issues and can view the 1.29.0 GUI from the Trayzor app but cannot log into it from Edge. Syncthing is running normally and updating the files despite the login failure. Changing the login and password does not fix the problem.
Strangely, in looking at the Syncthing log, it seemed that it was also running on port 54421 and I was able to log into the GUI there with Edge but it wanted me to start a new instance of Syncthing which I didn’t want because all my files are on port 8384.
Could you please post that again (or edit), but using the code formatting function of the forum? And please do post the Syncthing log you were looking at, since your description of what it said about different ports doesn’t make sense to me.
Unable to reproduce the port 54421 effect in the logs. The port is now closed. Unable to take a screenshot of the Edge console and because I am new to this forum the code formating function is unknown to me. So I’ll try Firefox on linux next.
I have similar problem after upgrading to 1.29 I get also the following message when I try to log in via the web GUI on remote machine in same LAN with several browsers (Brave, Chrome, Firefox): “syncthing Login failed, see Syncthing logs for details”
Syncthing running on Raspberry Pi 4, RPiOS Bullseye. Remote machine running on Ubuntu 22.04.3 LTS with Brave Browser [
Version 1.73.104 Chromium: 131.0.6778.204 (Official Build) (64-Bit), Chrome (Version 131.0.6778.204 (Official Build) (64-Bit), Firefox (133.0.3 64bit snap for Ubuntu), same problem with remote machine on ubuntu 24.04 LTS and the same browsers.
I tried all described methods to reset the username and password without result.
I’m not able to find logs because I’m a new linux user
Update: I had a sd card copy of my RPi4 system with old version 1.28 installed on it. I started the RPi from this backup sd card changed the gui settings in the syncthing gui setting to default (that means to 127.0.0.1 without password etc), afterwards I updated to 1.29, and then reset the gui settings to my old ones (192.168.XXX.XX) with Username and Password. Then I had no longer the problem described below.
I’ve said this many times now, but if anyone could get a view of the failing request in a browser network debug console that would be helpful. @garyez01 made a valiant attempt, but unfortunately it doesn’t say anything useful. Perhaps another view or another browser might get something more.
Alternatively and additionally, running Syncthing with api tracing enabled (STTRACE=api) may add some additional debugging from Syncthing itself.
Have a solution that works for me. On my 2 desktops running linux Mint LMDE with Firefox, I rolled back to v.1.18.1, deleted the user name and password in the GUI, then upgraded to 1.29.0, then opened the GUI and entered the user name and password. Syncthing GUI now is acessible with the saved user and password. This process also worked on my NAS Syncthing app but I had to use a snapshot to roll back to 1.28.1.
Haven’t had sucess with this on my Win 11 laptop using Edge with SyncTrayzor installed but I’m able to access the GUI from the Trayzor app so it’s a decent work around. Suppose I could do a complete reinstall of Syncthing on Win11 but maybe I’ll wait for v.1.29.1 before I do that.
I also tried adding STTRACE=api as an Env variable to systemd unit file. Logs show lots of Debug messages when running syncthing but nothing is logged when I attempt to login.