pimutils / pimutils/vdirsyncer

Add `retry` parameter to http-ish storages

Open
#603 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

contributions welcome good first issue mod: DAV ready type: enhancement
Dominant language
Python
Stars
1.9k
Forks
185
Avg merge
11h 49m
Merged PRs (30d)
1

Description

I use vdirsyncer with cron to backup caldav and carddav data from posteo.de

At one of two sync actions, I get at least one "connection refused" error.

error: Unknown error occured for my_calendar/jtmfam: HTTPSConnectionPool(host='posteo.de', port=8443): Max retries exceeded with url: /calendars/its.me/abc/ (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x71797070>: Failed to establish a new connection: [Errno 111] Connection refused',))
error: Use `-vdebug` to see the full traceback.
error: Unknown error occured for my_calendar/default: HTTPSConnectionPool(host='posteo.de', port=8443): Max retries exceeded with url: /calendars/its.me/default/ (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x717dbd10>: Failed to establish a new connection: [Errno 111] Connection refused',))
error: Use `-vdebug` to see the full traceback.
error: 2 out of 12 tasks failed.

Is there a possibility to allow more than one retry?
Thanks a lot for this great tool!

Contributor guide

Open the 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.

Research direction

No file or test is named in the issue. Start by locating the http-ish storage implementation and its connection or retry handling, then inspect existing storage configuration tests; done means users can configure more than one retry and the behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.