Hi,
When I try to send to send a picture using Telegram, I got this error message:
Error sending file: urllib3 HTTPError ('Connection aborted.', timeout('The write operation timed out',)). Args: (503863223, <_io.BytesIO object at 0x6f010450>), kwargs: {'caption': None, 'parse_mode': 'Markdown', 'disable_notification': False, 'disable_web_page_preview': None, 'reply_to_message_id': None, 'reply_markup': None, 'timeout': None}
{
"message":"The sun is {% if is_state('sun.sun', 'above_horizon') %}up{% else %}down{% endif %}!",
"data":{
"photo":{
"url":"http://192.168.xxx.xxx:xxxx/photo.jpg"
}
}
}
http://192.168.xxx.xxx:xxxx/photo.jpg well target a picture. Moreover text message can be sent without any issue.
Any idea why pictures cannot be sent?