Adding a second device problems [disable firewall on desktop]

Delta Chat version

desktop and android: v2.53.0
both devices connected on the same network

Expected behavior

After scanning the QR code with the mobile app from the desktop app the mobile app is sincronized with the account from the desktop

Actual behavior

An error message of a timeout

Steps to reproduce the problem

  1. Scan the QR with the Android app
  2. wait…
  3. see the timeout code

Screen snapshots

The error message:
Receiving Error: Get backup failed: failed connecting to remote endpoint: timed out

I also had the same problem with some specific profile

+1 same problem

As far as I understand in the case of @adbenitez, it fails when transferring to the laptop, not from the laptop to Android, and it is not specific to a profile: feat: increase max idle timeout for backup receiver to 60 seconds by link2xt · Pull Request #8371 · chatmail/core · GitHub

Need more details on whether it fails only in one direction, which device is affected and what it runs (e.g. Desktop OS, Android version), if it fails with other large profiles, whether it fails with new profiles and so on.

It might also be solved with an update of Iroh from 0.35 to 1.0.

I’ve tested with two new profiles and seems that the problem is sync a desktop account to a mobile.

Desktop is a CachyOS GNU/Linux distro and mobile is a GrapheneOS with Android 17

Since in your case it fails to even connect, and not times out later during the transfer, it looks like a problem with a firewall on your laptop. When you transfer from a laptop to the phone, phone connects to the laptop, and if the laptop blocks incoming connections, you cannot transfer backups in this direction.

CachyOS wiki says firewall is enabled by default: Post Install | CachyOS
You can try to disable ufw temporarily or allow all incoming UDP connections.