Universal-Arduino-Telegram-Bot icon indicating copy to clipboard operation
Universal-Arduino-Telegram-Bot copied to clipboard

SecureClient not working on [email protected]

Open Darkest opened this issue 2 years ago • 9 comments

After upgrading platform to [email protected] from 3.5.0 in platform.io, SecureClient works badly, it successfully connects for the first time, even reads and posts some msg to telegram, but after it is closed, it can never be opened once again with the error connect(): start_ssl_client: -1

Darkest avatar May 04 '22 06:05 Darkest

Hello,

Also experiencing the same issue here.

Best regards

dgtaheno avatar May 11 '22 11:05 dgtaheno

Same for me =)

telebext avatar May 12 '22 16:05 telebext

Maybe try change this to if(true) to see if that fixes the issue

https://github.com/witnessmenow/Universal-Arduino-Telegram-Bot/blob/master/src/UniversalTelegramBot.cpp#L773

witnessmenow avatar May 13 '22 19:05 witnessmenow

Hello Brian, Thank you for your fast feedback, unfortunately this is not fixing my problem, when trying to send the first message to Telegram, not even pictures I receive the following error: "[WiFiClientSecure.cpp:135] connect(): start_ssl_client: -1" In infinite loop. It is fixed if I downgrade spressif to 4.0.0. If you need further context, the project I´m working in: https://github.com/dgtaheno/Imail/ Thank you in advance for your time. Best regards.

dgtaheno avatar May 17 '22 20:05 dgtaheno

4.3.0 - fixed

zella avatar May 20 '22 17:05 zella

4.3.0 - fixed

Tested fixed? Must have been a bug with the 4.2 release so

witnessmenow avatar May 21 '22 10:05 witnessmenow

Yes. I upgrde my project from 4.2 to 4.3 and error gone

zella avatar May 22 '22 11:05 zella

Thank you all 4.2.3 fixes the issue!

dgtaheno avatar May 23 '22 17:05 dgtaheno

Hi everyone!

Just updated my espressif32 to 5.1.0 and got the same problem. Any thoughts on why this even may occur and how to fix it manually?

Thanks in advance.

[Edit] Tried several versions (4.0.0, 4.3.0, 5.0.0, 5.1.0), did not get any positive result.

SirSerow avatar Aug 02 '22 21:08 SirSerow