sinricpro / esp8266-esp32-sdk

Library for https://sinric.pro - simple way to connect your device to Alexa, Google Home, SmartThings and cloud
https://sinric.pro
228 stars 122 forks source link

Library error #226

Closed khorner116 closed 2 years ago

khorner116 commented 2 years ago

Hi guys.

I guess something got updated in my dev environment. I'm now getting a compile error stating C:\Users\mail\Documents\Arduino\libraries\WebSockets\src\WebSocketsClient.cpp: In member function 'void WebSocketsClient::loop()': C:\Users\mail\Documents\Arduino\libraries\WebSockets\src\WebSocketsClient.cpp:234:30: error: 'class WiFiClientSecure' has no member named 'setInsecure' _client.ssl->setInsecure();

I'm using Sinric v 2.9.9 and Websockets v 2.3.5

Any ideas?

Ken

sivar2311 commented 2 years ago

Hi Ken!

I just checked and everything compiled with no errors.

To narrow it down further:

To check the Arduino Core version, go to "Tools / Board / Boards Manager..." and enter "ESP" in the search box. image

khorner116 commented 2 years ago

genius! I had core versions the same as you noted, using an Adafruit Feather Huzzah 32. But I removed the ESP32 core and reinstalled. Bingo! Works great. Something glitched somewhere, but I want to thank you.

sivar2311 commented 2 years ago

I'm glad to hear that everything is working. My guess went in the direction of the Arduino core. That's why I asked for the versions. Please close the issue if there are no more problems related to this.