The Telegram task work well and the queries are always sucessfully completed.
But when a client connect to our webserver (we work in local network only) the page download is ok but after that, for some time the telegram query fail
Code: Select all
I (1410510) HTTP_CLIENT Handler: GET url https://api.telegram.org/bot...../getUpdates
E (1411090) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x2700
I (1411090) esp-tls-mbedtls: Failed to verify peer certificate!
E (1411090) esp-tls: Failed to open new connection
E (1411100) TRANSPORT_BASE: Failed to open a new connection
E (1411110) HTTP_CLIENT: Connection failed, sock < 0
E (1411110) Sending getMe: Error perform http request ESP_ERR_HTTP_CONNECT
I can not understand where is the problem lwip socket esp-tsl ?
I suspect a problem may be out of sync between client request and telegram task query which sometimes overlap