I’m experiencing a strange issue when telegram sends to group messages.
the messages are getting delivered but some are not sent at all.
here is the event log, anyone has an idea why?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/deps/telegram/utils/request.py", line 132, in _request_wrapper
resp = self._con_pool.request(*args, **kwargs)
File "/home/homeassistant/.homeassistant/deps/urllib3/request.py", line 70, in request
**urlopen_kw)
File "/home/homeassistant/.homeassistant/deps/urllib3/request.py", line 148, in request_encode_body
return self.urlopen(method, url, **extra_kw)
File "/home/homeassistant/.homeassistant/deps/urllib3/poolmanager.py", line 244, in urlopen
response = conn.urlopen(method, u.request_uri, **kw)
File "/home/homeassistant/.homeassistant/deps/urllib3/connectionpool.py", line 649, in urlopen
_stacktrace=sys.exc_info()[2])
File "/home/homeassistant/.homeassistant/deps/urllib3/util/retry.py", line 347, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/home/homeassistant/.homeassistant/deps/urllib3/packages/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/home/homeassistant/.homeassistant/deps/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/home/homeassistant/.homeassistant/deps/urllib3/connectionpool.py", line 386, in _make_request
six.raise_from(e, None)
File "<string>", line 2, in raise_from
File "/home/homeassistant/.homeassistant/deps/urllib3/connectionpool.py", line 382, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.4/http/client.py", line 1172, in getresponse
response.begin()
File "/usr/lib/python3.4/http/client.py", line 351, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.4/http/client.py", line 313, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.4/socket.py", line 371, in readinto
return self._sock.recv_into(b)
File "/usr/lib/python3.4/ssl.py", line 745, in recv_into
return self.read(nbytes, buffer)
File "/usr/lib/python3.4/ssl.py", line 617, in read
v = self._sslobj.read(len, buffer)
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/notify/telegram.py", line 122, in send_message
parse_mode=parse_mode)
File "/home/homeassistant/.homeassistant/deps/telegram/bot.py", line 125, in decorator
result = func(self, *args, **kwargs)
File "/home/homeassistant/.homeassistant/deps/telegram/bot.py", line 151, in decorator
result = self._request.post(url, data, timeout=kwargs.get('timeout'))
File "/home/homeassistant/.homeassistant/deps/telegram/utils/request.py", line 207, in post
**urlopen_kwargs)
File "/home/homeassistant/.homeassistant/deps/telegram/utils/request.py", line 138, in _request_wrapper
raise NetworkError('urllib3 HTTPError {0}'.format(error))
telegram.error.NetworkError: urllib3 HTTPError ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
17-02-24 09:29:30 ERROR (Thread-3) [homeassistant.components.notify.facebook] At least 1 target is required