J’ai mis le déclencheur sur le [bouton], et l’évent est bien du même type que toi
Par contre, ni l’un ni l’autre n’apparaissent dans le log en temps réel
Ca me le refait aujourd’hui, mais les video se lancent étrangement à hier…
[2021-04-11 18:44:42][DEBUG] : Start stream ...
[2021-04-11 18:45:01][DEBUG] : isStreamReady return:{"streamActive":1,"streamURL":"plugins\/arlo\/data\/stream\/52M1847RAFBA2.m3u8"}
[2021-04-11 18:45:05][DEBUG] : Stop stream ...
[2021-04-11 18:45:18][DEBUG] : Start stream ...
[2021-04-11 18:45:27][DEBUG] : isStreamReady return:{"streamActive":1,"streamURL":"plugins\/arlo\/data\/stream\/A54104K9A0970.m3u8"}
[2021-04-11 18:45:53][DEBUG] : Stop stream ...
[2021-04-11 18:53:25][DEBUG] : Start stream ...
[2021-04-11 18:53:38][DEBUG] : isStreamReady return:{"streamActive":1,"streamURL":"plugins\/arlo\/data\/stream\/52M1847GB19CF.m3u8"}
[2021-04-11 18:53:43][DEBUG] : Stop stream ..
Et les logs du daemon depuis hier… (j’espère n’avoir pas fait figurer des clés ou autre chose …
[2021-04-11 00:22:18][ERROR] : KeepAliveThread : Error: HTTPSConnectionPool(host='myapi.arlo.com', port=443): Max retries exceeded with url: /hmsweb/users/devices/notify/5KY186ST67AA2?eventId=FE%211f7915fd-5d0a-425f-81f4-4cde534be368&time=1618100518660 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a1cba58>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
[2021-04-11 00:22:22][ERROR] : KeepAliveThread : Error: HTTPSConnectionPool(host='myapi.arlo.com', port=443): Max retries exceeded with url: /hmsweb/users/devices/notify/5KY186ST67AA2?eventId=FE%211df34b9f-bad2-487f-9580-3c4b0781fb29&time=1618100522560 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79101dd8>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
[2021-04-11 03:29:26][ERROR] : KeepAliveThread : Error: HTTPSConnectionPool(host='myapi.arlo.com', port=443): Max retries exceeded with url: /hmsweb/users/devices/notify/4R05847BA5F0D?eventId=FE%21046fd222-72f4-4d9e-83e8-06228d0c2ad2&time=1618111746485 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78642320>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
[2021-04-11 03:29:30][ERROR] : KeepAliveThread : Error: HTTPSConnectionPool(host='myapi.arlo.com', port=443): Max retries exceeded with url: /hmsweb/users/devices/notify/5KY186ST67AA2?eventId=FE%2101568b57-b0b4-421f-a457-a83496f8ba64&time=1618111750539 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78642c18>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
[2021-04-11 03:30:20][ERROR] : KeepAliveThread : Error: Request (POST https://myapi.arlo.com/hmsweb/users/devices/notify/4R05847BA5F0D) failed: {'data': {'error': '2059', 'message': 'Device is offline.', 'reason': 'Device is offline.'}, 'success': False}
[2021-04-11 07:16:36][ERROR] : KeepAliveThread : Error: Request (POST https://myapi.arlo.com/hmsweb/users/devices/notify/5KY186ST67AA2) failed: {'data': {'error': '2059', 'message': 'Device is offline.', 'reason': 'Device is offline.'}, 'success': False}
[2021-04-11 10:15:32][ERROR] : KeepAliveThread : Error: HTTPSConnectionPool(host='myapi.arlo.com', port=443): Max retries exceeded with url: /hmsweb/users/devices/notify/5KY186ST67AA2?eventId=FE%21edfe863d-5890-4145-afbf-06d3eea1b073&time=1618136117571 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79111400>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
[2021-04-11 11:24:59][ERROR] : KeepAliveThread : Error: HTTPSConnectionPool(host='myapi.arlo.com', port=443): Max retries exceeded with url: /hmsweb/users/devices/notify/5KY186ST67AA2?eventId=FE%21c3ea63e3-b957-4eac-8657-35e632528ab7&time=1618140279465 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f791019b0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
[2021-04-11 11:25:06][ERROR] : KeepAliveThread : Error: HTTPSConnectionPool(host='myapi.arlo.com', port=443): Max retries exceeded with url: /hmsweb/users/devices/notify/5KY186ST67AA2?eventId=FE%21ac433735-5989-4149-bd95-78e799486ada&time=1618140286406 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f790d6748>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
Exception in thread EventStream:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/response.py", line 601, in _update_chunk_length
self.chunk_left = int(line, 16)
ValueError: invalid literal for int() with base 16: b''
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/response.py", line 360, in _error_catcher
yield
File "/usr/lib/python3/dist-packages/urllib3/response.py", line 666, in read_chunked
self._update_chunk_length()
File "/usr/lib/python3/dist-packages/urllib3/response.py", line 605, in _update_chunk_length
raise httplib.IncompleteRead(line)
http.client.IncompleteRead: IncompleteRead(0 bytes read)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/models.py", line 750, in generate
for chunk in self.raw.stream(chunk_size, decode_content=True):
File "/usr/lib/python3/dist-packages/urllib3/response.py", line 490, in stream
for line in self.read_chunked(amt, decode_content=decode_content):
File "/usr/lib/python3/dist-packages/urllib3/response.py", line 694, in read_chunked
self._original_response.close()
File "/usr/lib/python3.7/contextlib.py", line 130, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/lib/python3/dist-packages/urllib3/response.py", line 378, in _error_catcher
raise ProtocolError('Connection broken: %r' % e, e)
urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/sseclient.py", line 65, in __next__
next_chunk = next(self.resp_iterator)
File "/usr/lib/python3/dist-packages/requests/models.py", line 753, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 57, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 343, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 841, in _validate_conn
conn.connect()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 301, in connect
conn = self._new_conn()
File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f791116d8>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='myapi.arlo.com', port=443): Max retries exceeded with url: /hmsweb/client/subscribe (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f791116d8>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/var/www/html/plugins/arlo/resources/arlod/arlo/eventstream.py", line 26, in __QueueEvents
for event in self.event_stream:
File "/usr/local/lib/python3.7/dist-packages/sseclient.py", line 72, in __next__
self._connect()
File "/usr/local/lib/python3.7/dist-packages/sseclient.py", line 47, in _connect
self.resp = requester.get(self.url, stream=True, **self.requests_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/cloudscraper/__init__.py", line 263, in request
self.perform_request(method, url, *args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/cloudscraper/__init__.py", line 182, in perform_request
return super(CloudScraper, self).request(method, url, *args, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='myapi.arlo.com', port=443): Max retries exceeded with url: /hmsweb/client/subscribe (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f791116d8>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
[2021-04-11 11:26:04][ERROR] : KeepAliveThread : Error: HTTPSConnectionPool(host='myapi.arlo.com', port=443): Max retries exceeded with url: /hmsweb/users/devices/notify/5KY186ST67AA2?eventId=FE%21da202b22-933a-4000-8726-217e86dd9057&time=1618140344482 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79101080>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
[2021-04-11 11:26:11][ERROR] : KeepAliveThread : Error: HTTPSConnectionPool(host='myapi.arlo.com', port=443): Max retries exceeded with url: /hmsweb/users/devices/notify/5KY186ST67AA2?eventId=FE%21c6868af6-fb16-4f27-94ce-c06ba97ea15a&time=1618140351426 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7863fc18>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
[2021-04-11 11:26:21][ERROR] : EventHandler : Fatal error: HTTPSConnectionPool(host='myapi.arlo.com', port=443): Max retries exceeded with url: /hmsweb/client/unsubscribe?eventId=FE%211ba5ff9c-45c4-4530-b268-8d84dafd932d&time=1618140361456 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78642358>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
[2021-04-11 11:28:31][ERROR] : KeepAliveThread : Error: Request (POST https://myapi.arlo.com/hmsweb/users/devices/notify/4R05847BA5F0D) failed: {'data': {'error': '2059', 'message': 'Device is offline.', 'reason': 'Device is offline.'}, 'success': False}
Je vais relancer les dépendances pour voir