Skip to content

HandshakeException CERTIFICATE_VERIFY_FAILED: Application Verification Failure #1746

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

Open
kirstenkoa opened this issue Apr 2, 2025 · 2 comments
Labels
package:http type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@kirstenkoa
Copy link

kirstenkoa commented Apr 2, 2025

Hello, thanks for taking the time to read my question!

My application is very intermittently (maybe 1% probability) hitting this error when trying to call our backend's REST APIs.

HandshakeException CERTIFICATE_VERIFY_FAILED: application verification failure(handshake.cc:391)

I saw some suggestions to explicitly have the client trust the server as a potential fix for this issue. For example, #963 (comment)

We are going to try to apply that change, but I would like to understand if this could even be the root cause for our specific case. I have limited knowledge of how this works, but my intuition makes me think if it a cert/trust issue, the requests would be failing all the time vs. just <1% of the time.

I would appreciate any pointers to what else could be the issue. 😅

Thank you again!

Edit: it seems like only iOS users have experienced this. Android hasn't hit this issue at all.

@kirstenkoa kirstenkoa added package:http type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) labels Apr 2, 2025
@brianquinlan
Copy link
Collaborator

I have no idea how you could be experiencing this failure transiently. Maybe you could use Wireshark to capture traffic until you encounter the issue and post the message exchange?

@brianquinlan brianquinlan added the needs-info Additional information needed from the issue author label May 1, 2025
@kirstenkoa
Copy link
Author

kirstenkoa commented May 6, 2025

Hey @brianquinlan, thanks for the response! Unfortunately, no one on the team has experienced this issue personally. It was experienced by some testers. Our main suspect network issue since they were in places with low network connectivity.

I posted here because HandshakeException isn't really something we would expect to see for a network issue, so I was wondering if there was something else we were missing.

@github-actions github-actions bot removed the needs-info Additional information needed from the issue author label May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:http type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

2 participants