Hi,
I am completely baffled and stuck since two days:
I cannot connect any more with ESP32 devices (I tried several ones)
Everything compiles without a single error, even verbose and with all warnings on.
Using library thinger.io at version 2.16.0 in folder: D:\5_Tinker\Arduino\libraries\thinger.io
Using library WiFiClientSecure at version 1.0 in folder: C:\Users\Laszlo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WiFiClientSecure
Using library WiFi at version 1.0 in folder: C:\Users\Laszlo\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.6\libraries\WiFi
(all libraries rebuilt from scratch)
They connect correctly to Wifi, but upon trying to access Thinger, the connection cannot be established.
Even using the bare Thinger ESP 32 example, i get this debug message:
I tried uninstalling the IDE completely, removing all libraries and reinstalling from scratch including Thinger : nothing helps.
I am 100% sure of my credentials. I have redone the Thinger device twice and sketches for ESP8266 work flawlessly with the same credentials.
Have you got a clue how to get out of that mess?
I’m afraid to mention that we probably have a generic problem:
I have now used a pristine computer, windows 10 reset to defaults, updated.
-freshly installed the latest Arduino IDE 1.8.13
-installed the boards ESP32 and ESP8266 from the board manager.
-installed thinger.io from the library manager.
Nothing else!
-Called the thinger.io ESP32 example from the library.
-Entered my credentials that work with an ESP8266
-Compiled without error (verbose, all warnings on), loaded the code on a fresh Wemos32 board.
Upon running, I get exactly the same diagnostic messages mentioned above and the console device never connects.
I can’t imagine something wrong on my side now!.
Not sure if this is the case.
When I try to connect my MKR to thinger.io, I need to first upload the thinger SSL certificate to WiFi module, and I need to do it again after reinstalling the Arduino IDE.
Have you repeat the procedure on the documentations (ARDUINO - Thinger.io Documentation) after initializing the device?
It should be:
Next, go to the Boards manager to install the ESP32 package. Search for the esp32 and install the package **esp32 by Espressif systems **
Hi @rin67630, this seems to be a problem related with upgraded ESP32 core libraries regarding SSL connections. I have a beta ESP32 version working, but in the meanwhile, you should set the following line at the very beginning of your sketch, before any other include.
#define _DISABLE_TLS_
Hope it helps! Will keep you updated once fixed…
I have it solved with code in Thinger.io so no need to patch anything in ESP32. It is basically the same workaround as present in the ESP8266. I will release it next week. In the meanwhile you can develop without using SSL…
It should be:
Next, go to the Boards manager to install the ESP32 package. Search for the esp32 and install the package **esp32 by Espressif systems **