Skip to content

Second device setup fails on Linux: dc_database_backup.sqlite timed out during import #6028

@Otzie2023

Description

@Otzie2023
  • Operating System (Linux/Mac/Windows/iOS/Android):
    Linux (Desktop), Android (primary device)

  • Delta Chat Version:
    Desktop: v2.35.0 (Snap-Package)
    Android: v2.35.0 (Playstore)

  • Expected behavior:
    Adding the desktop client as a second device should complete successfully
    and import the existing profile including chats and key material.

  • Actual behavior:
    Adding the desktop client as a second device fails every time.
    The import aborts during transfer/unpacking of the backup with a timeout.

    Error messages include:
    dc_database_backup.sqlite: connection lost: timed out
    as well as:
    Failed to import backup from QUIC stream
    Failed to unpack

  • Steps to reproduce the problem:

    1. Delta Chat is set up on Android as the primary device
    2. Install Delta Chat Desktop (first Flatpak, then Snap for testing)
    3. On desktop, choose “Add as second device”
    4. Scan the QR code with the Android device
    5. Transfer starts
    6. Process reproducibly fails with a timeout while unpacking the database
  • Screenshots:
    Screenshot of the error message available (can be attached)

  • Logs:
    Desktop logs contain:

    • Failed to import backup from QUIC stream
    • failed to unpack dc_database_backup.sqlite
    • connection lost: timed out

    The issue occurs regardless of the packaging format:

    • reproducible with Flatpak
    • reproducible with Snap

    Additional notes:

    • Both devices are on the same network
    • No VPN or proxy in use
    • Firewall temporarily disabled for testing
    • USB tethering tested as well
    • Issue remains reproducible
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions