Hello Mr. Ivan,
I watched the video about JFrog Bintray and tried to make it work here. Follow the steps that I did:
-
Created an account on Bintray
-
Created a repository called WStation
-
Created a package called bintray-secure-ota
-
Cloned your sample code
-
Changed platformio.ini to:
[bintray]
user =
repository = WStation
package = bintray-secure-ota
api_token =[wifi]
ssid =
password =release_version = 1
… -
When env_default (in platformio.ini) is set to release, it uploads the code to bintray. It is working. When I set the env_default to debug and uploaded the firmware to the ESP32, the terminal shows the following log:
Device version: v.0
Connecting to … connected!
IP address: 192.168.100.126
[E][ssl_client.cpp:33] handle_error(): X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
[E][ssl_client.cpp:35] handle_error(): MbedTLS message code: -9984
[E][WiFiClientSecure.cpp:109] connect(): start_ssl_client: -9984
GET request failed, error, connection refused
Error: Could not parse JSON!
Could not load info about the latest firmware, so nothing to update. Continue …
What did I miss?