Check docs and help Followed the WiFi Provisioning guide
Add details :
• Hardware model + communication type. ESP-WROOM-32D - WiFi
• Smartphone OS (iOS or Android) + version Huawei P30 EMUI 11
• Blynk server or local server blynk.cloud:443
• Blynk Library version 1.0.1
• Add your sketch code. Code should be formatted as example below.
Simply paste your code between ``` If you don’t format your code, your topic can be deleted by moderators.
// Fill-in information from your Blynk Template here
#define BLYNK_TEMPLATE_ID "TMPLkptjpWO0"
#define BLYNK_DEVICE_NAME "IrisWifiRF"
#define BLYNK_FIRMWARE_VERSION "0.1.0"
#define BLYNK_PRINT Serial
//#define BLYNK_DEBUG
#define APP_DEBUG
// Uncomment your board, or configure a custom board in Settings.h
//#define USE_WROVER_BOARD
//#define USE_TTGO_T7
#include "BlynkEdgent.h"
void setup()
{
Serial.begin(115200);
delay(100);
BlynkEdgent.begin();
}
void loop() {
BlynkEdgent.run();
}
'''
I’m trying to follow the WiFi Provisioning example.
The device manages to connect to the router but cannot connect to the server via TLS.
Secure connection failed
[51847] Connecting to blynk.cloud:443
It would be useful to see your entire serial output from boot-up, and to see what was shown in the serial monitor during the provisioning process.
You haven’t uncommented a board type, so do the custom board settings in Settings.h match the GPIOs on your particular board?
You should read the “Defining your physical switch and LED” section of this tutorial for more info…
You will then be able to clear the provisioned credentials by pressing the physical switch for 10 seconds, and re-provision the board then post the serial output that results from that process.
I had already remmaped the LED and reset button for my board. I can confirm the the reset was successful, the LED played a pleasant breathing pattern.
I don’t have access to the project at the moment, but I will post again on Monday with the full debug output.
You can check the full log bellow. Local network details have been redacted.
This is the same WiFi network/subnet where the mobile phone has normal internet access.
Thanks again for your time.
At the moment I’m testing via a business network and also tried a mobile WiFi hotspot (different from the mobile running the app).
I’ll try to get the project home to try there.
Concerning the other points, I’ve restarted the business WiFi, pinged and also tracerouted blynk.cloud.
Ping seemed ok and traceroute stopped at the cloud service on France.
My console bottom right shows fra1.
I’ve just tested on a brand new modem, fresh from factory reset, direct connection to a domestic line.
Also, reset the Blynk device.
Same story, cannot connect to the cloud.
I’ve contacted sales, since this was a test for a commercial project.
Updating the Blynk library directly from Github resolved the issue.
The latest commit was 24 days ago, so about mid-March, while the 1.0.1 version commonly available dates back to July 2021.