authentication: operation timed out

Open
#351 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
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker-compose, python
Domain
backend

Research direction

Start by tracing the login challenge request shown in the logs and how the Docker Compose deployment configures ETESYNC_URL and ETESYNC_LISTEN_ADDRESS. Check whether the client request reaches the server and why it receives 405 Method Not Allowed; compare that with the reported timeout. Done means identifying the cause and confirming login succeeds with the documented configuration.

Written by the indexing model from the issue text.

Description

Using docker compose to deploy container, when trying to log in after entering username, password and custom url (same as ETESYNC_URL), see Deriving encryption keys, please wait… then error sending request for url (https://MY.CUSTOM.dedyn.io/api/v1/authentication/login_challenge/): operation timed out

container log:

514a5fa4f318 [2025-07-03 18:45:00 +0000] [1/Thread-1 (process_request_thread)] [INFO] GET request for '/.web/add/' received from 10.0.2.100 (forwarded for '10.0.2.100') using 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36'
514a5fa4f318 [2025-07-03 18:45:00 +0000] [1/Thread-1 (process_request_thread)] [INFO] GET response status for '/.web/add/' in 0.207 seconds: 200 OK
514a5fa4f318 [2025-07-03 18:45:00 +0000] [1/Thread-2 (process_request_thread)] [INFO] GET request for '/favicon.ico' received from 10.0.2.100 (forwarded for '10.0.2.100') using 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36'
514a5fa4f318 [2025-07-03 18:45:00 +0000] [1/Thread-2 (process_request_thread)] [INFO] Access to '/favicon.ico' denied for anonymous user
514a5fa4f318 [2025-07-03 18:45:00 +0000] [1/Thread-2 (process_request_thread)] [INFO] GET response status for '/favicon.ico' in 0.002 seconds: 401 Unauthorized
514a5fa4f318 [2025-07-03 18:45:08 +0000] [1/Thread-3 (process_request_thread)] [INFO] POST request for '/.web/add/' received from 10.0.2.100 (forwarded for '10.0.2.100') using 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36'
514a5fa4f318 [2025-07-03 18:45:38 +0000] [1/Thread-3 (process_request_thread)] [INFO] POST response status for '/.web/add/' in 30.041 seconds: 200 OK
514a5fa4f318 [2025-07-03 18:45:38 +0000] [1/Thread-4 (process_request_thread)] [INFO] POST request for '/api/v1/authentication/login_challenge/' received from 10.0.2.100 (forwarded for '10.0.2.100') using 'etesync-dav etebase/0.5.1'
514a5fa4f318 [2025-07-03 18:45:38 +0000] [1/Thread-4 (process_request_thread)] [INFO] POST response status for '/api/v1/authentication/login_challenge/' in 0.001 seconds: 405 Method Not Allowed
514a5fa4f318 [2025-07-03 18:45:38 +0000] [1/Thread-5 (process_request_thread)] [INFO] GET request for '/favicon.ico' received from 10.0.2.100 (forwarded for '10.0.2.100') using 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36'
514a5fa4f318 [2025-07-03 18:45:38 +0000] [1/Thread-5 (process_request_thread)] [INFO] Access to '/favicon.ico' denied for anonymous user
514a5fa4f318 [2025-07-03 18:45:38 +0000] [1/Thread-5 (process_request_thread)] [INFO] GET response status for '/favicon.ico' in 0.001 seconds: 401 Unauthorized

I'm not mounting any volumes so it's not a write permission issue on host machine.
Any advice would be greatly appreciated.
env: `

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.