#1108717 ausweisapp: pairing with phone fails after entering code

Package:
ausweisapp
Source:
ausweisapp
Description:
Official authentication app for German ID cards and residence permits
Submitter:
Oswald Buddenhagen
Date:
2025-07-13 09:01:05 UTC
Severity:
normal
#1108717#5
Date:
2025-07-03 20:24:41 UTC
From:
To:
i'm trying to pair the desktop app with my android phone, on which the
app runs just fine.

the phone is discovered, and i enter the pairing code. at this point the
process fails with a rather unhelpful message:

default       2025.07.03 21:57:35.799 86403   ...viceModel::connectToRememberedServer(ui/qml/RemoteServiceModel.cpp:267) : Starting to pair.
ifd           2025.07.03 21:57:35.799 86403   IfdClientImpl::establishConnection(ifd/base/IfdClientImpl.cpp:155)         : Establishing connection to remote device.
ifd           2025.07.03 21:57:35.800 86406 I ConnectRequest::setTlsConfiguration(ifd/base/ConnectRequest.cpp:88)        : Start pairing to server
ifd           2025.07.03 21:57:35.801 86406   IfdConnectorImpl::onConnectRequest(ifd/base/IfdConnectorImpl.cpp:107)      : Request connection.
ifd           2025.07.03 21:57:35.801 86406 W ConnectRequest::onError(ifd/base/ConnectRequest.cpp:173)                   : Connection error: QAbstractSocket::NetworkError "Network unreachable"
qml           2025.07.03 21:57:35.803 86403 W ...ionModel::isScreenReaderRunning(ui/qml/ApplicationModel_generic.cpp:21) : NOT IMPLEMENTED
qml           2025.07.03 21:57:35.804 86403 W ...ionModel::isScreenReaderRunning(ui/qml/ApplicationModel_generic.cpp:21) : NOT IMPLEMENTED
qml           2025.07.03 21:57:35.804 86403 W ...ionModel::isScreenReaderRunning(ui/qml/ApplicationModel_generic.cpp:21) : NOT IMPLEMENTED
qml           2025.07.03 21:57:35.805 86403 W ...ionModel::isScreenReaderRunning(ui/qml/ApplicationModel_generic.cpp:21) : NOT IMPLEMENTED
default       2025.07.03 21:57:35.844 86403   ...viceModel::onEstablishConnectionDone(ui/qml/RemoteServiceModel.cpp:296) : Pairing finished: IfdConnector_ConnectionError | "An error occurred while trying to establish a connection to the smartphone as card reader (SaC)."
qml           2025.07.03 21:57:35.856 86403 W ...ionModel::isScreenReaderRunning(ui/qml/ApplicationModel_generic.cpp:21) : NOT IMPLEMENTED
qml           2025.07.03 21:57:35.857 86403 W ...ionModel::isScreenReaderRunning(ui/qml/ApplicationModel_generic.cpp:21) : NOT IMPLEMENTED
qml           2025.07.03 21:57:35.861 86403 W ...ionModel::isScreenReaderRunning(ui/qml/ApplicationModel_generic.cpp:21) : NOT IMPLEMENTED
qml           2025.07.03 21:57:35.862 86403 W ...ionModel::isScreenReaderRunning(ui/qml/ApplicationModel_generic.cpp:21) : NOT IMPLEMENTED
qml           2025.07.03 21:57:35.862 86403 W ...ionModel::isScreenReaderRunning(ui/qml/ApplicationModel_generic.cpp:21) : NOT IMPLEMENTED

the error message should tell me what exactly it's trying to connect, so
i can check the routing table, firewall, apparmor, etc.

note that this works just fine with the 2.3.2 package from flathub.

#1108717#10
Date:
2025-07-03 20:41:23 UTC
From:
To:
Hi Oswald,

It looks like the AusweisApp can't connect to your local network which sounds like an issue with your
firewall configuration.

This is something that upstream needs to take care of. I'm just the maintainer of the Debian
package, not the upstream maintainer of AusweisApp. I'm CC'ing someone from the upstream
developers.

In any case you need to make sure that your firewall is properly configured to allow AusweisApp
to work over the network. It could be that your firewall is blocking the communication of the
app with other devices on your local network.

I currently cannot upload upstream version 2.3.2 due to the freeze for Debian Trixie.

Adrian

#1108717#15
Date:
2025-07-04 08:03:18 UTC
From:
To:
yeah, only that makes no sense, because then the flatpak'd app should
have even less access.
maybe it's some weird ipv4 vs. ipv6 thing.

#1108717#20
Date:
2025-07-13 08:53:35 UTC
From:
To:
the upgrade fixed the problem.