Can't login: Temporary server error

Open
#308 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start at etesync_dav/manage.py around add_etebase, where the reported login failure is raised, and trace how the Etebase login error is surfaced. The issue gives no test or expected replacement message; determine what server responses trigger this error and what wording would distinguish them before making a change.

Written by the indexing model from the issue text.

Description

~ $ env ETESYNC_URL=https://etebase.example.com etesync-dav manage add username
Please enter the EteSync account password:
Logging in
Traceback (most recent call last):
  File "/nix/store/4wbv8082bdc124406bqdjncgcyiarvv7-etesync-dav-0.32.1/bin/.etesync-dav-wrapped", line 85, in <module>
    manage(sys.argv[2:])
  File "/nix/store/4wbv8082bdc124406bqdjncgcyiarvv7-etesync-dav-0.32.1/bin/.etesync-dav-wrapped", line 64, in manage
    print_credentials(args.username, manager.add_etebase(args.username, password))
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/4wbv8082bdc124406bqdjncgcyiarvv7-etesync-dav-0.32.1/lib/python3.11/site-packages/etesync_dav/manage.py", line 164, in add_etebase
    etebase = Etebase.Account.login(client, username, password)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/nix/store/j2sga3zvilh5a2k8pr1jp7p1hfmjsi3w-python3.11-etebase-0.31.6/lib/python3.11/site-packages/etebase/__init__.py", line 91, in login
    return cls(etebase_python.Account.login(client._inner, username, password))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
etebase_python.Error: Temporary server error

Am I just reading the documentation wrong?
In any case, "Temporary server error" is a misleading error message.

Dominant language
Python
Stars
332
Forks
61
PR merge metrics
No merged PRs in 30d

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from etesync/etesync-dav

All issues in etesync/etesync-dav

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.