Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 · 3 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.

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

No branches or pull requests

4 participants