Skip to content

Set timeouts for backend connections #4193

@MichaelEischer

Description

@MichaelEischer

Output of restic version

0.15.1

What should restic do differently? Which functionality do you think we should add?

Set proper timeouts for requests. A broken network connection currently causes restic to stall waiting for 15 minutes. This delay is longer than the maximum timespan during which requests are retried. Consequently, the whole operation fails.

In addition, it is bad for performance.

Ideally, the timeouts interrupted connections which make no progress for e.g. a minute. That way the timeouts would be independent of the connection speed.

What are you trying to do? What problem would this solve?

See https://forum.restic.net/t/403-authentication-errors-with-large-data-cross-region-backup-and-restore-in-azure/5916

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions