{"action":"opened","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14316","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14316/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14316/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14316/events","html_url":"https://github.com/home-assistant/home-assistant/issues/14316","id":320605357,"number":14316,"title":"Telegram bot timeout send file","user":{"login":"Ayo91","id":2479896,"avatar_url":"https://avatars1.githubusercontent.com/u/2479896?v=4","gravatar_id":"","url":"https://api.github.com/users/Ayo91","html_url":"https://github.com/Ayo91","followers_url":"https://api.github.com/users/Ayo91/followers","following_url":"https://api.github.com/users/Ayo91/following{/other_user}","gists_url":"https://api.github.com/users/Ayo91/gists{/gist_id}","starred_url":"https://api.github.com/users/Ayo91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ayo91/subscriptions","organizations_url":"https://api.github.com/users/Ayo91/orgs","repos_url":"https://api.github.com/users/Ayo91/repos","events_url":"https://api.github.com/users/Ayo91/events{/privacy}","received_events_url":"https://api.github.com/users/Ayo91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-06T16:09:41Z","updated_at":"2018-05-06T16:09:41Z","closed_at":null,"author_association":"NONE","body":"When I try to send a Telegram message with a size > 500kb, this message is shown:\r\n\r\n_**2018-05-06 17:05:56 ERROR (SyncWorker_14) [homeassistant.components.telegram_bot] Error sending file: urllib3 HTTPError ('Connection aborted.', timeout('The write operation timed out',)). Args: (-252803343, <_io.BufferedReader name='/camera/FI9816P_00626E854E78/record/MDalarm_20180430_180038.mkv'>), kwargs: {'caption': None, 'parse_mode': 'Markdown', 'disable_notification': False, 'disable_web_page_preview': None, 'reply_to_message_id': None, 'reply_markup': None, 'timeout': None}**_\r\n\r\nIf I change the file size to a smaller one the notifications work fine. Any idea? Is possible to increase the timeout? The most common size for my files are 1-2Mb.\r\n"}}
{"actor":{"display_login":"Ayo91"}}