A problem has just surfaced with 2.5.1 on Windows 11. Gemini thinks it comes from the way the Go code that ST uses processes what is being written to config.xml. They also said I should ask the User Forum before I lodge an Issue.
The crippler is that the config file ends up with lines like this in it:
It seems that an empty field gets split over two lines (
is HTML code for a newline character). Then the server is trying to send files unencrypted but the client is expecting them to come encrypted and these don’t match, so no transfer happens.
I have a markdown file with all the details, ready to submit as an issue, if you think that would be appropriate.
No, it doesn’t make sense, because the display here interprets the HTML-encoded newline character, and I don’t know how to preview the post before sending. Let’s see if this shows what I meant everyone to see:
The crippler is that the config file ends up with lines like this in it:
<encryptionPassword>
 </encryptionPassword>
It seems that an empty field gets split over two lines (`& # xA ;` 
 is HTML code for a newline character).
I do have a screenshot, and I’ll use the upload button to attach it.
Thanks for the additional information. Syncthing itself doesn’t modify those fields without user input, however I’d suggest checking your browser and possibly password manager extensions (if you have any installed) that are most likely to touch them. We’ve had cases like that in the past. You may also want to check what happens when using a different browser.
At this point, you should probably shut Syncthing down, manually change the modified lines in config.xml to just <encryptionPassword></encryptionPassword>, and then restart the application.
Thanks, @tomasz86 , the test computer is not using any password manager, and we have already shut SyncThing down, removed the code for newline and indentation and restarted SyncThing.
When our script runs again, and SyncThing obeys our POST commands, the problem returns. And our POST commands said nothing about encryptionPassword.
I’ll upload a markdown file that contains more details.