-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
new https ota example giving mbed tls handshake error -0x2700 (IDFGH-745) #2296
Comments
@akbarhash Your certificate seems to be invalid. Can you try following the instructions given in |
I have done everything again. |
If your firmware upgrade URL looks something like |
server side logs
|
got it to work the issue was i was using 1024 rsa had changed it during testing. now working with 2048 rsa and common name as 192.168.0.87 |
suggestion would be to include this bit in the readme.md |
how do you change the rsa? |
Environment
git rev-parse --short HEAD
to get the commit id.):30545f4 // Latest IDF
Problem Description
The simple OTA example is not working even after many different trials.
Tried using python server and openssl server
works with http by modifying the code slightly
Expected Behavior
should not give certificate error
Actual Behavior
E (6804) TRANS_SSL: mbedtls_ssl_handshake returned -0x2700
E (6804) HTTP_CLIENT: Connection failed, sock < 0
E (6804) esp_https_ota: Failed to open HTTP connection: ESP_ERR_HTTP_CONNECT
E (6814) simple_ota_example: Firmware Upgrades Failed
Steps to reproduce
install ota example
generate cert
setup server and example using cert
run the example
Code to reproduce this issue
Debug Logs
The text was updated successfully, but these errors were encountered: