Current Lua downloadable firmware will be posted here

User avatar
By iicc
#64192 Hello!

I am trying to communicate nodemcu to the Telegram Bots Api (https://core.telegram.org/bots/api) and I need to use https.

I have tried with the stable branch, dev, compiled with docker, cloud... but I get always a
HTTP client: Connection timeout


I use the same code in all tests I have done:

Code: Select allhttp.get("https://telegram.me", nil, function(code, data)
    if (code < 0) then
      print("HTTP request failed")
    else
      print(code, data)
    end
end)


This is what I get in 2.0.0 stable with ssl enabled and in dev with ssl enabled too:

HTTP client: Disconnected with error: -114
HTTP client: Connection timeout



I am a little frustrated about this because I don't see anywhere people with this error and I don't know more things to try, sure this is a foolishness but I do not see it :?

Thanks in advance!