i'm practicing this component... i use, default settings
...................
- http_request.get:
url: 'http://localip'
on_response:
then:
- logger.log: 'ok'
on_error:
then:
- logger.log: 'ko'
...................
it returns "ok", it works. if i use
...................
- http_request.get:
url: 'http://www.mydomain.com'
on_response:
then:
- logger.log: 'ok'
on_error:
then:
- logger.log: 'ko'
...................
it returns "ko" and gives an error:
[E][http_request.idf:197]: esp_http_client_open failed: ESP_ERR_HTTP_CONNECT
[E][component:405]: http_request set Error flag: unspecified
any idea?! thanks