Skip to content
This repository was archived by the owner on Dec 3, 2024. It is now read-only.
This repository was archived by the owner on Dec 3, 2024. It is now read-only.

Syncthing looses user and password changed in GUI after restart #1710

Open

Description

@wAmpIre

Version Information

Syncthing Version: v1.18.3, v1.18.2 and older
Android Version: LineageOS 16, 17, 18

Steps to reproduce

So ONLY username and password are reseted - all other settings remain changed.

This ONLY happens on my Android devices. Linux devices with syncthing don't loose their settings.

Activity

  1. wAmpIre commented on Oct 14, 2021

    @wAmpIre
    Author

    I don't think that users expect this behavior ;) ... so I would call this a bug.

  2. Utini2000 commented on Nov 25, 2021

    @Utini2000

    Also the port gets resetted.

    I would feel "safer" if I could change username & port to something that is non-standard.

  3. Farzat07 commented on Sep 24, 2022

    @Farzat07

    Maybe a better way to handle this is to set the default username and password for the GUI from the Syncthing Options setting, just like the URL.

  4. KptnKMan commented on Oct 1, 2022

    @KptnKMan

    Oh my gosh, I've been fighting with this for weeks and now I find this.
    I use Synchhing on different devices, and manage each from my PC, but the Android version has indeed been resetting the username and password after each startup.

    WHY IS THIS NOT CONFIGURABLE?!

    I understand the default behaviour to reset the username and password, assumed for security, but there is no option to bypass this as an advanced user to set your own password.

    Why can we not set the username+password in the Android wrapper GUI, and have that become the credentials auto-set at startup, and if not set, will reset as described? WHY?!

    How is this even something that is not been highlighted more?

  5. KptnKMan commented on Oct 1, 2022

    @KptnKMan

    Can someone please help us out by highlighting what the default password creation routine is, as I cannot find anything about this in the Syncthing Android docs? Is there a page I'm missing, or can someone please describe or hightlight the startup code that is controlling this?

    Really honestly asking as the contributors seem to understand this well.

  6. tomasz1986 commented on Oct 1, 2022

    @tomasz1986
    Member

    The password is literally your API key. You can find it in settings in the Web GUI. If you want to access Syncthing on Android remotely (as I normally do myself), just copy that API key and save it (e.g. in a password manager). The username, on the other hand, is always "syncthing".

  7. KptnKMan commented on Oct 1, 2022

    @KptnKMan

    The password is literally your API key.

    You're a legend among men, thank you.
    Again, I cannot find anywhere that mentions this in any doc.

    Edit: Just to add, I find this method of using the API key to be not a great solution.
    We should be able to set a username+password in the Android UI wrapper that will take precedent over this.

  8. locked and limited conversation to collaborators on Oct 1, 2022
  9. imsodin commented on Oct 1, 2022

    @imsodin
    Member

    Again, I cannot find anywhere that mentions this in any doc.

    Then write it up somewhere for other people with this use-case to find. Stop complaining and screaming around about some use-case you have that isn't covered. Do something about it or be nice with the off chance someone else does it for you - entitled brats usually don't get anything done for them. Except from @tomasz1986, who is just too nice a person (not really complaining of course).

    Locking this issue as it's totally clear what the improvement here would be, PRs welcome.

    Also for clarifications and questions, there is https://forum.syncthing.net. The forum has a lot more eyes and friendly people on it than the issue tracker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions