Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Failed to start client connection: Failed to exchange certificate with /APP_NAME/ in android real device #5559

Open
NagVuddi opened this issue Apr 8, 2024 · 5 comments

Comments

@NagVuddi
Copy link

NagVuddi commented Apr 8, 2024

I am getting the below error after adding Flipper to the Android application,
"Failed to start client connection: Failed to exchange certificate with /APP_NAME/ on Device- 11 - API 30: Error: No matching device found for app"

Below are the connectivity logs from Flipper desktop client,

Certificate Signing Request being processed
Ensure OpenSSL is available
Obtain CA certificate
Deploy CA certificate to application sandbox
Deploying file 'sonarCA.crt' to device at '/data/user/0/package_name/files/sonar/'
Query available devices via adb
cat '/data/user/0/package_name/files/sonar/app.csr'
Unable to find a matching device for the incoming request
Failed to exchange certificate,Error: No matching device found for app: /package_name/
Insecure websocket connection attempt: /app_name/ on unknown.
Insecure connection attempt

Note: The device is not rooted and the application is installed in "system/priv-app" folder

OpenSSL was installed and the same application worked on rooted devices.

Android studio-generated APK is working as expected.
.\gradlew build generated APK with singing is not working as expected.

Android version: 11
Windows: 10
Flipper desktop version: 0.239.0
Flipper Android version: 0.190.0

Please provide a solution for this issue.

@TReX24
Copy link

TReX24 commented Jul 3, 2024

We have the same issue.
Any updates here???

@diskree
Copy link

diskree commented Jul 10, 2024

Any progress?

@kj71
Copy link

kj71 commented Jul 30, 2024

I was getting kind of similar issue, when I was debugging my app from my Android device's work profile. On personal profile, it is working fine.

@Abdullah-Sheikh
Copy link

I faced same problem. Any progress regarding this ?

@DenisLevy77
Copy link

same problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants