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

Voice Assistance - Failed to verify peer certificate! #161

Open
yusufk opened this issue Oct 19, 2021 · 11 comments
Open

Voice Assistance - Failed to verify peer certificate! #161

yusufk opened this issue Oct 19, 2021 · 11 comments

Comments

@yusufk
Copy link

yusufk commented Oct 19, 2021

Getting the following error on console:

E (202374) esp-tls: Failed to open new connection
E (202384) [sh2lib]: [sh2-connect] esp-tls connection failed
E (202384) [grpc_http_transport]: Failed to connect
I (204384) [grpc_http_transport]: Connecting to server: https://embeddedassistant.googleapis.com
E (204724) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x2700
I (204724) esp-tls-mbedtls: Failed to verify peer certificate!
I (204724) esp-tls-mbedtls: verification info:   ! The certificate is not correctly signed by the trusted CA
@s95i
Copy link

s95i commented Dec 14, 2021

I have the same problem. Did you find the solution?

@yusufk
Copy link
Author

yusufk commented Dec 14, 2021 via email

@avsheth
Copy link
Collaborator

avsheth commented Dec 15, 2021

Hi @yusufk could you please tell which app are you trying and provide complete logs for the same?
It appears that we might need to update some certificate in our library.

@yusufk
Copy link
Author

yusufk commented Dec 15, 2021 via email

@s95i
Copy link

s95i commented Dec 15, 2021

Hi @avsheth, I had the same issue with the GVA app.

@avsheth
Copy link
Collaborator

avsheth commented Dec 16, 2021

I believe this is GVA app and not the Alexa app. We will check and get back.

@yusufk
Copy link
Author

yusufk commented Dec 16, 2021 via email

@s95i
Copy link

s95i commented Jan 11, 2022

Hi, @avsheth, Is there any way to add a new certificate to solve this issue?

@andrewwinter
Copy link

I'm still having this issue does anyone have a solution? I believe that the problem is that the CA certifications are hardcoded into the lib files (found at esp-va-sdk/voice_assistant/*.a), I found an older google CA certification in them, however i believe that they're expired. Could you please recompile these libraries with the new CA certificates? @avsheth
Thanks

@avsheth
Copy link
Collaborator

avsheth commented Feb 10, 2022

Hi @andrewwinter
Sorry for the delay. We will provide updated library by next week.

@s95i
Copy link

s95i commented Mar 1, 2022

Hi @avsheth ,
When can we expect the updated library?
Thanks

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