ambianic / peerjs-python

Python port of PeerJS client
Apache License 2.0
89 stars 33 forks source link

Intermittent errors connecting to signaling server #31

Closed ivelin closed 3 years ago

ivelin commented 4 years ago
ambianic-edge    | 2020-05-21 23:30:06 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.make_discoverable(274): Peer destroyed. Will create a new peer.
ambianic-edge    | 2020-05-21 23:30:06 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(239): creating peer
ambianic-edge    | 2020-05-21 23:30:06 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(244): last saved savedPeerId c559151b-eb8d-468a-91b0-7db3baf25dd2
ambianic-edge    | 2020-05-21 23:30:06 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(246): Peer session token 9a515af4-8c7d-4a09-80af-b188e8770407
ambianic-edge    | 2020-05-21 23:30:06 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(256): pnpService: peer created with id c559151b-eb8d-468a-91b0-7db3baf25dd2 , options: PeerOptions(host='ambianic-pnp.herokuapp.com', port=443, path='/', key='peerjs', token='9a515af4-8c7d-4a09-80af-b188e8770407', config=RTCConfiguration(iceServers=[RTCIceServer(urls=['stun:stun1.l.google.com:19302', 'stun:stun2.l.google.com:19302', 'stun:stun3.l.google.com:19302', 'stun:stun4.l.google.com:19302', 'stun:stun.l.google.com:19302', 'stun:stun.services.mozilla.com:3478', 'stun:stunserver.org:3478'], username=None, credential=None, credentialType='password'), RTCIceServer(urls=['turn:numb.viagenie.ca'], username='webrtc@live.com', credential='muazkh', credentialType='password'), RTCIceServer(urls=['turn:192.158.29.39:3478?transport=udp'], username='28224511:1379330808', credential='JZEOEt2V3Qb0y27GRntt2u2PAYA=', credentialType='password'), RTCIceServer(urls=['turn:192.158.29.39:3478?transport=tcp'], username='28224511:1379330808', credential='JZEOEt2V3Qb0y27GRntt2u2PAYA=', credentialType='password'), RTCIceServer(urls=['turn:turn.bistri.com:80'], username='homeo', credential='homeo', credentialType='password'), RTCIceServer(urls=['turn:turn.anyfirewall.com:443?transport=tcp'], username='webrtc', credential='webrtc', credentialType='password'), RTCIceServer(urls=['turn:0.peerjs.com:3478'], username='peerjs', credential='peerjsp', credentialType='password')]), secure=True, pingInterval=5)
ambianic-edge    | 2020-05-21 23:30:06 INFO /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.start(118): Peer started with UUID: c559151b-eb8d-468a-91b0-7db3baf25dd2
ambianic-edge    | 2020-05-21 23:30:06 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(258): peer activated
ambianic-edge    | 2020-05-21 23:30:06 ERROR /usr/local/lib/python3.7/dist-packages/peerjs/peer.py._abort(454): Aborting! 
ambianic-edge    | PeerErrorType: PeerErrorType.UnavailableID 
ambianic-edge    | Error message: ID "$c559151b-eb8d-468a-91b0-7db3baf25dd2" is taken
ambianic-edge    |   File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
ambianic-edge    |     "__main__", mod_spec)
ambianic-edge    |   File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
ambianic-edge    |     exec(code, run_globals)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py", line 362, in <module>
ambianic-edge    |     loop.run_until_complete(_start())
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 571, in run_until_complete
ambianic-edge    |     self.run_forever()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
ambianic-edge    |     self._run_once()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 1775, in _run_once
ambianic-edge    |     handle._run()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
ambianic-edge    |     self._context.run(self._callback, *self._args)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 231, in _on_server_idtaken
ambianic-edge    |     f'ID "${self.id}" is taken')
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 455, in _abort
ambianic-edge    |     traceback.print_stack()
ambianic-edge    | 2020-05-21 23:30:06 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.emitError(464): Connection error: ID "$c559151b-eb8d-468a-91b0-7db3baf25dd2" is taken
ambianic-edge    | 2020-05-21 23:30:06 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.emitError(469): Connection error: 
ambianic-edge    | ID "$c559151b-eb8d-468a-91b0-7db3baf25dd2" is taken
ambianic-edge    | 2020-05-21 23:30:06 ERROR /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_error(128): Peer error ID "$c559151b-eb8d-468a-91b0-7db3baf25dd2" is taken
ambianic-edge    | NoneType: None
ambianic-edge    | 2020-05-21 23:30:06 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_error(129): peerConnectionStatus None
ambianic-edge    | 2020-05-21 23:30:06 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_close(124): Peer connection closed
ambianic-edge    | 2020-05-21 23:30:06 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_disconnected(110): Peer c559151b-eb8d-468a-91b0-7db3baf25dd2 disconnected from server.
ambianic-edge    | 2020-05-21 23:30:06 ERROR /usr/lib/python3.7/asyncio/base_events.py.default_exception_handler(1608): Exception in callback AsyncIOEventEmitter._emit_run.<locals>._callback(<Task finishe... destroyed.')>) at /usr/local/lib/python3.7/dist-packages/pyee/_asyncio.py:55
ambianic-edge    | handle: <Handle AsyncIOEventEmitter._emit_run.<locals>._callback(<Task finishe... destroyed.')>) at /usr/local/lib/python3.7/dist-packages/pyee/_asyncio.py:55>
ambianic-edge    | Traceback (most recent call last):
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
ambianic-edge    |     self._context.run(self._callback, *self._args)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/pyee/_asyncio.py", line 62, in _callback
ambianic-edge    |     self.emit('error', exc)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/pyee/_base.py", line 111, in emit
ambianic-edge    |     self._emit_handle_potential_error(event, args[0] if args else None)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/pyee/_base.py", line 83, in _emit_handle_potential_error
ambianic-edge    |     raise error
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py", line 119, in peer_disconnected
ambianic-edge    |     await peer.reconnect()
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 537, in reconnect
ambianic-edge    |     raise RuntimeError("This peer cannot reconnect to the server. "
ambianic-edge    | RuntimeError: This peer cannot reconnect to the server. It has already been destroyed.
^CERROR: Aborting.
ivelin commented 4 years ago
clientsIds': ['c559151b-eb8d-468a-91b0-7db3baf25dd2', '7ab48f24-668a-4a21-aec8-beeab802dbad']}
ambianic-edge    | 2020-05-20 20:25:40 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.join_peer_room(64): myRoom members {'
clientsIds': ['c559151b-eb8d-468a-91b0-7db3baf25dd2', '7ab48f24-668a-4a21-aec8-beeab802dbad']}
ambianic-edge    | 2020-05-20 20:25:50 ERROR /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.make_discoverable(286): Error while 
trying to join local peer room. Will retry in a few moments. Error: 
ambianic-edge    | ConnectionError('Unexpected status code 401 for https://ambianic-pnp.herokuapp.com:443/peerjs/c559151b-eb8d-468a-91b0-7db3baf2
5dd2/dc3ebbab-2ccd-4f0d-94bc-5b9b8cac5943/room/id?ts=2148735.2558159370.10154805004736134')
ambianic-edge    | Traceback (most recent call last):
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py", line 277, in make_discoverable
ambianic-edge    |     await join_peer_room(peer=peer)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py", line 63, in join_peer_room
ambianic-edge    |     peerIds = await myRoom.getRoomMembers()
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peerroom.py", line 74, in getRoomMembers
ambianic-edge    |     members = await self.join()
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peerroom.py", line 84, in join
ambianic-edge    |     self._roomId = await self._getRoomId()
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peerroom.py", line 48, in _getRoomId
ambianic-edge    |     result = await self._restCall(rest_method=rest_method)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peerroom.py", line 29, in _restCall
ambianic-edge    |     raise ConnectionError(f'Unexpected status code {status} '
ambianic-edge    | ConnectionError: Unexpected status code 401 for https://ambianic-pnp.herokuapp.com:443/peerjs/c559151b-eb8d-468a-91b0-7db3baf2
5dd2/dc3ebbab-2ccd-4f0d-94bc-5b9b8cac5943/room/id?ts=2148735.2558159370.10154805004736134
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.make_discoverable(290): Peer connecti
on was corrupted. Detroying peer.
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_disconnected(110): Peer c559151b
-eb8d-468a-91b0-7db3baf25dd2 disconnected from server.
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pc_close(233): Connection to remote p
eer closed
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pc_close(233): Connection to remote p
eer closed
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pc_close(233): Connection to remote p
eer closed
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pc_close(233): Connection to remote p
eer closed
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pc_close(233): Connection to remote p
eer closed
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pc_close(233): Connection to remote p
eer closed
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pc_close(233): Connection to remote p
eer closed
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pc_close(233): Connection to remote p
eer closed
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pc_close(233): Connection to remote p
eer closed
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pc_close(233): Connection to remote peer closed
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pc_close(233): Connection to remote p
eer closed
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pc_close(233): Connection to remote p
eer closed
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pc_close(233): Connection to remote p
eer closed
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/aioice/turn.py.delete(153): TURN allocation deleted ('158.69.2
21.198', 52157)
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_close(124): Peer connection clos
ed
ambianic-edge    | 2020-05-20 20:25:50 INFO /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.start(118): Peer started with UUID: c559151b-eb
8d-468a-91b0-7db3baf25dd2
ambianic-edge    | 2020-05-20 20:25:53 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.make_discoverable(274): Peer destroye
d. Will create a new peer.
ambianic-edge    | 2020-05-20 20:25:53 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(239): creating pe
er
ambianic-edge    | 2020-05-20 20:25:53 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(244): last saved 
savedPeerId c559151b-eb8d-468a-91b0-7db3baf25dd2
ambianic-edge    | 2020-05-20 20:25:53 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(246): Peer sessio
n token c39311f9-dcb6-42ba-81ef-001dcadcce97
ambianic-edge    | 2020-05-20 20:25:53 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(256): pnpService:
 peer created with id c559151b-eb8d-468a-91b0-7db3baf25dd2 , options: PeerOptions(host='ambianic-pnp.herokuapp.com', port=443, path='/', key='peerjs', t
oken='c39311f9-dcb6-42ba-81ef-001dcadcce97', config=RTCConfiguration(iceServers=[RTCIceServer(urls=['stun:stun1.l.google.com:19302', 'stun:stun2.l.googl
e.com:19302', 'stun:stun3.l.google.com:19302', 'stun:stun4.l.google.com:19302', 'stun:stun.l.google.com:19302', 'stun:stun.services.mozilla.com:3478', '
stun:stunserver.org:3478'], username=None, credential=None, credentialType='password'), RTCIceServer(urls=['turn:numb.viagenie.ca'], username='webrtc@li
ve.com', credential='muazkh', credentialType='password'), RTCIceServer(urls=['turn:192.158.29.39:3478?transport=udp'], username='28224511:1379330808', c
redential='JZEOEt2V3Qb0y27GRntt2u2PAYA=', credentialType='password'), RTCIceServer(urls=['turn:192.158.29.39:3478?transport=tcp'], username='28224511:13
79330808', credential='JZEOEt2V3Qb0y27GRntt2u2PAYA=', credentialType='password'), RTCIceServer(urls=['turn:turn.bistri.com:80'], username='homeo', crede
ntial='homeo', credentialType='password'), RTCIceServer(urls=['turn:turn.anyfirewall.com:443?transport=tcp'], username='webrtc', credential='webrtc', cr
edentialType='password'), RTCIceServer(urls=['turn:0.peerjs.com:3478'], username='peerjs', credential='peerjsp', credentialType='password')]), secure=Tr
ue, pingInterval=5)
ambianic-edge    | 2020-05-20 20:25:53 INFO /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.start(118): Peer started with UUID: c559151b-eb
8d-468a-91b0-7db3baf25dd2
ambianic-edge    | 2020-05-20 20:25:53 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(258): peer activa
ted
ambianic-edge    | 2020-05-20 20:25:53 ERROR /usr/local/lib/python3.7/dist-packages/peerjs/peer.py._abort(454): Aborting! 
ambianic-edge    | PeerErrorType: PeerErrorType.UnavailableID 
ambianic-edge    | Error message: ID "$c559151b-eb8d-468a-91b0-7db3baf25dd2" is taken
ambianic-edge    |   File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
ambianic-edge    |     "__main__", mod_spec)
ambianic-edge    |   File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
ambianic-edge    |     exec(code, run_globals)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py", line 362, in <module>
ambianic-edge    |     loop.run_until_complete(_start())
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 571, in run_until_complete
ambianic-edge    |     self.run_forever()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
ambianic-edge    |     self._run_once()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 1775, in _run_once
ambianic-edge    |     handle._run()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
ambianic-edge    |     self._context.run(self._callback, *self._args)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 231, in _on_server_idtaken
ambianic-edge    |     f'ID "${self.id}" is taken')
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 455, in _abort
ambianic-edge    |     traceback.print_stack()
ambianic-edge    | 2020-05-20 20:25:53 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.emitError(464): Connection error: ID "$c5591
51b-eb8d-468a-91b0-7db3baf25dd2" is taken
ambianic-edge    | 2020-05-20 20:25:53 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.emitError(469): Connection error: 
ambianic-edge    | ID "$c559151b-eb8d-468a-91b0-7db3baf25dd2" is taken
ambianic-edge    | 2020-05-20 20:25:53 ERROR /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_error(128): Peer error ID "$c55
9151b-eb8d-468a-91b0-7db3baf25dd2" is taken
ambianic-edge    | NoneType: None
ambianic-edge    | 2020-05-20 20:25:53 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_error(129): peerConnectionSta
tus None
ambianic-edge    | 2020-05-20 20:25:53 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_close(124): Peer connection clos
ed
ambianic-edge    | 2020-05-20 20:25:53 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_disconnected(110): Peer c559151b
-eb8d-468a-91b0-7db3baf25dd2 disconnected from server.
ambianic-edge    | 2020-05-20 20:25:53 ERROR /usr/lib/python3.7/asyncio/base_events.py.default_exception_handler(1608): Exception in callback Asy
ncIOEventEmitter._emit_run.<locals>._callback(<Task finishe... destroyed.')>) at /usr/local/lib/python3.7/dist-packages/pyee/_asyncio.py:55
ivelin commented 4 years ago

Looks like at some point the websockets connection to heroku gets corrupted. When PeerJS tries to recover and connect with its known peerid, the signaling server thinks that it is a conflicting registration from a different peer instead of reconnection attempt from the same peer.

One possible solution is to pause a bit longer to give the signaling server a chance to clean up the peer id from its realm due to inactivity. Then try to reconnect.

Another option is to make the signaling server smarter and make it check the source of the reconnection request against the original source. If they are the same, allow the reconnect with same Peer ID.

ivelin commented 3 years ago

The issue is still present. After a few hours of normal operation, the python peer eventually goes into this endless loop unable to regain connection to the signaling server due to its peer ID already being reserved.

ambianic-edge    | 2020-11-26 03:39:54 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_disconnected(158): Peer 7248f792-abec-4f72-a581-8dacd0308b72 disconnected from server.
ambianic-edge    | 2020-11-26 03:39:54 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_close(172): Peer connection closed
ambianic-edge    | 2020-11-26 03:39:55 INFO /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.start(118): Peer started with UUID: 7248f792-abec-4f72-a581-8dacd0308b72
ambianic-edge    | 2020-11-26 03:39:55 ERROR /usr/local/lib/python3.7/dist-packages/peerjs/peer.py._abort(454): Aborting! 
ambianic-edge    | PeerErrorType: PeerErrorType.UnavailableID 
ambianic-edge    | Error message: ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    |   File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
ambianic-edge    |     "__main__", mod_spec)
ambianic-edge    |   File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
ambianic-edge    |     exec(code, run_globals)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py", line 423, in <module>
ambianic-edge    |     loop.run_until_complete(_start())
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 571, in run_until_complete
ambianic-edge    |     self.run_forever()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
ambianic-edge    |     self._run_once()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 1775, in _run_once
ambianic-edge    |     handle._run()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
ambianic-edge    |     self._context.run(self._callback, *self._args)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 231, in _on_server_idtaken
ambianic-edge    |     f'ID "${self.id}" is taken')
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 455, in _abort
ambianic-edge    |     traceback.print_stack()
ambianic-edge    | 2020-11-26 03:39:55 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.emitError(464): Connection error: ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    | 2020-11-26 03:39:55 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.emitError(469): Connection error: 
ambianic-edge    | ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    | 2020-11-26 03:39:55 ERROR /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_error(176): Peer error ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    | NoneType: None
ambianic-edge    | 2020-11-26 03:39:55 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_error(177): peerConnectionStatus None
ambianic-edge    | 2020-11-26 03:39:55 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_disconnected(158): Peer 7248f792-abec-4f72-a581-8dacd0308b72 disconnected from server.
ambianic-edge    | 2020-11-26 03:39:55 ERROR /usr/lib/python3.7/asyncio/base_events.py.default_exception_handler(1608): Exception in callback AsyncIOEventEmitter._emit_run.<locals>._callback(<Task finishe... destroyed.')>) at /usr/local/lib/python3.7/dist-packages/pyee/_asyncio.py:55
ambianic-edge    | handle: <Handle AsyncIOEventEmitter._emit_run.<locals>._callback(<Task finishe... destroyed.')>) at /usr/local/lib/python3.7/dist-packages/pyee/_asyncio.py:55>
ambianic-edge    | Traceback (most recent call last):
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
ambianic-edge    |     self._context.run(self._callback, *self._args)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/pyee/_asyncio.py", line 62, in _callback
ambianic-edge    |     self.emit('error', exc)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/pyee/_base.py", line 116, in emit
ambianic-edge    |     self._emit_handle_potential_error(event, args[0] if args else None)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/pyee/_base.py", line 86, in _emit_handle_potential_error
ambianic-edge    |     raise error
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py", line 167, in peer_disconnected
ambianic-edge    |     await peer.reconnect()
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 537, in reconnect
ambianic-edge    |     raise RuntimeError("This peer cannot reconnect to the server. "
ambianic-edge    | RuntimeError: This peer cannot reconnect to the server. It has already been destroyed.
ambianic-edge    | 2020-11-26 03:39:55 INFO /opt/ambianic-edge/src/ambianic/pipeline/ai/image_detection.py._log_stats(160): Inference time 335.64 ms, 2.15 fps in pipeline area_watch
ambianic-edge    | 2020-11-26 03:39:55 INFO /opt/ambianic-edge/src/ambianic/pipeline/ai/image_detection.py._log_stats(160): Inference time 328.18 ms, 2.06 fps in pipeline area_watch
ambianic-edge    | 2020-11-26 03:39:56 INFO /opt/ambianic-edge/src/ambianic/pipeline/ai/image_detection.py._log_stats(160): Inference time 328.65 ms, 2.12 fps in pipeline area_watch
ambianic-edge    | 2020-11-26 03:39:56 INFO /opt/ambianic-edge/src/ambianic/pipeline/ai/image_detection.py._log_stats(160): Inference time 328.86 ms, 2.09 fps in pipeline area_watch
ambianic-edge    | 2020-11-26 03:39:57 INFO /opt/ambianic-edge/src/ambianic/pipeline/ai/image_detection.py._log_stats(160): Inference time 328.79 ms, 2.07 fps in pipeline area_watch
ambianic-edge    | 2020-11-26 03:39:57 INFO /opt/ambianic-edge/src/ambianic/pipeline/ai/image_detection.py._log_stats(160): Inference time 328.10 ms, 2.16 fps in pipeline area_watch
ambianic-edge    | 2020-11-26 03:39:57 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.make_discoverable(328): Peer destroyed. Will create a new peer.
ambianic-edge    | 2020-11-26 03:39:57 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(287): creating peer
ambianic-edge    | 2020-11-26 03:39:57 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(293): last saved savedPeerId 7248f792-abec-4f72-a581-8dacd0308b72
ambianic-edge    | 2020-11-26 03:39:57 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(295): Peer session token 46013141-92be-4f4a-a304-16294071bab9
ambianic-edge    | 2020-11-26 03:39:57 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(310): pnpService: peer created with id 7248f792-abec-4f72-a581-8dacd0308b72 , options: PeerOptions(host='ambianic-pnp.herokuapp.com', port=443, path='/', key='peerjs', token='46013141-92be-4f4a-a304-16294071bab9', config=RTCConfiguration(iceServers=[RTCIceServer(urls=['stun:stun.l.google.com:19302'], username=None, credential=None, credentialType='password')]), secure=True, pingInterval=5)
ambianic-edge    | 2020-11-26 03:39:58 INFO /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.start(118): Peer started with UUID: 7248f792-abec-4f72-a581-8dacd0308b72
ambianic-edge    | 2020-11-26 03:39:58 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(312): peer activated
ambianic-edge    | 2020-11-26 03:39:58 ERROR /usr/local/lib/python3.7/dist-packages/peerjs/peer.py._abort(454): Aborting! 
ambianic-edge    | PeerErrorType: PeerErrorType.UnavailableID 
ambianic-edge    | Error message: ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    |   File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
ambianic-edge    |     "__main__", mod_spec)
ambianic-edge    |   File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
ambianic-edge    |     exec(code, run_globals)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py", line 423, in <module>
ambianic-edge    |     loop.run_until_complete(_start())
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 571, in run_until_complete
ambianic-edge    |     self.run_forever()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
ambianic-edge    |     self._run_once()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 1775, in _run_once
ambianic-edge    |     handle._run()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
ambianic-edge    |     self._context.run(self._callback, *self._args)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 231, in _on_server_idtaken
ambianic-edge    |     f'ID "${self.id}" is taken')
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 455, in _abort
ambianic-edge    |     traceback.print_stack()
ambianic-edge    | 2020-11-26 03:39:58 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.emitError(464): Connection error: ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    | 2020-11-26 03:39:58 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.emitError(469): Connection error: 
ambianic-edge    | ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    | 2020-11-26 03:39:58 ERROR /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_error(176): Peer error ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    | NoneType: None
ambianic-edge    | 2020-11-26 03:39:58 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_error(177): peerConnectionStatus None
ambianic-edge    | 2020-11-26 03:39:58 INFO /opt/ambianic-edge/src/ambianic/pipeline/ai/image_detection.py._log_stats(160): Inference time 331.92 ms, 2.04 fps in pipeline area_watch
ambianic-edge    | 2020-11-26 03:39:58 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_disconnected(158): Peer 7248f792-abec-4f72-a581-8dacd0308b72 disconnected from server.
ambianic-edge    | 2020-11-26 03:39:58 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_close(172): Peer connection closed
ambianic-edge    | 2020-11-26 03:39:58 INFO /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.start(118): Peer started with UUID: 7248f792-abec-4f72-a581-8dacd0308b72
ambianic-edge    | 2020-11-26 03:39:58 ERROR /usr/local/lib/python3.7/dist-packages/peerjs/peer.py._abort(454): Aborting! 
ambianic-edge    | PeerErrorType: PeerErrorType.UnavailableID 
ambianic-edge    | Error message: ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    |   File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
ambianic-edge    |     "__main__", mod_spec)
ambianic-edge    |   File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
ambianic-edge    |     exec(code, run_globals)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py", line 423, in <module>
ambianic-edge    |     loop.run_until_complete(_start())
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 571, in run_until_complete
ambianic-edge    |     self.run_forever()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
ambianic-edge    |     self._run_once()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 1775, in _run_once
ambianic-edge    |     handle._run()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
ambianic-edge    |     self._context.run(self._callback, *self._args)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 231, in _on_server_idtaken
ambianic-edge    |     f'ID "${self.id}" is taken')
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 455, in _abort
ambianic-edge    |     traceback.print_stack()
ambianic-edge    | 2020-11-26 03:39:58 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.emitError(464): Connection error: ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    | 2020-11-26 03:39:58 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.emitError(469): Connection error: 
ambianic-edge    | ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    | 2020-11-26 03:39:58 ERROR /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_error(176): Peer error ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    | NoneType: None
ambianic-edge    | 2020-11-26 03:39:58 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_error(177): peerConnectionStatus None
ambianic-edge    | 2020-11-26 03:39:58 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_disconnected(158): Peer 7248f792-abec-4f72-a581-8dacd0308b72 disconnected from server.
ambianic-edge    | 2020-11-26 03:39:58 ERROR /usr/lib/python3.7/asyncio/base_events.py.default_exception_handler(1608): Exception in callback AsyncIOEventEmitter._emit_run.<locals>._callback(<Task finishe... destroyed.')>) at /usr/local/lib/python3.7/dist-packages/pyee/_asyncio.py:55
ambianic-edge    | handle: <Handle AsyncIOEventEmitter._emit_run.<locals>._callback(<Task finishe... destroyed.')>) at /usr/local/lib/python3.7/dist-packages/pyee/_asyncio.py:55>
ambianic-edge    | Traceback (most recent call last):
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
ambianic-edge    |     self._context.run(self._callback, *self._args)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/pyee/_asyncio.py", line 62, in _callback
ambianic-edge    |     self.emit('error', exc)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/pyee/_base.py", line 116, in emit
ambianic-edge    |     self._emit_handle_potential_error(event, args[0] if args else None)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/pyee/_base.py", line 86, in _emit_handle_potential_error
ambianic-edge    |     raise error
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py", line 167, in peer_disconnected
ambianic-edge    |     await peer.reconnect()
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 537, in reconnect
ambianic-edge    |     raise RuntimeError("This peer cannot reconnect to the server. "
ambianic-edge    | RuntimeError: This peer cannot reconnect to the server. It has already been destroyed.
ambianic-edge    | 2020-11-26 03:39:58 INFO /opt/ambianic-edge/src/ambianic/pipeline/ai/image_detection.py._log_stats(160): Inference time 329.37 ms, 2.09 fps in pipeline area_watch
ambianic-edge    | 2020-11-26 03:39:59 INFO /opt/ambianic-edge/src/ambianic/pipeline/ai/image_detection.py._log_stats(160): Inference time 328.46 ms, 2.10 fps in pipeline area_watch
ambianic-edge    | 2020-11-26 03:39:59 INFO /opt/ambianic-edge/src/ambianic/pipeline/ai/image_detection.py._log_stats(160): Inference time 328.69 ms, 2.09 fps in pipeline area_watch
ambianic-edge    | 2020-11-26 03:40:00 INFO /opt/ambianic-edge/src/ambianic/pipeline/ai/image_detection.py._log_stats(160): Inference time 328.25 ms, 2.14 fps in pipeline area_watch
ambianic-edge    | 2020-11-26 03:40:00 INFO /opt/ambianic-edge/src/ambianic/pipeline/ai/image_detection.py._log_stats(160): Inference time 328.72 ms, 2.07 fps in pipeline area_watch
ambianic-edge    | 2020-11-26 03:40:00 INFO /opt/ambianic-edge/src/ambianic/pipeline/ai/image_detection.py._log_stats(160): Inference time 328.87 ms, 2.12 fps in pipeline area_watch
ambianic-edge    | 2020-11-26 03:40:01 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.make_discoverable(328): Peer destroyed. Will create a new peer.
ambianic-edge    | 2020-11-26 03:40:01 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(287): creating peer
ambianic-edge    | 2020-11-26 03:40:01 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(293): last saved savedPeerId 7248f792-abec-4f72-a581-8dacd0308b72
ambianic-edge    | 2020-11-26 03:40:01 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(295): Peer session token 9e6a734a-9bdd-495d-b920-1647f034773c
ambianic-edge    | 2020-11-26 03:40:01 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(310): pnpService: peer created with id 7248f792-abec-4f72-a581-8dacd0308b72 , options: PeerOptions(host='ambianic-pnp.herokuapp.com', port=443, path='/', key='peerjs', token='9e6a734a-9bdd-495d-b920-1647f034773c', config=RTCConfiguration(iceServers=[RTCIceServer(urls=['stun:stun.l.google.com:19302'], username=None, credential=None, credentialType='password')]), secure=True, pingInterval=5)
ambianic-edge    | 2020-11-26 03:40:01 INFO /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.start(118): Peer started with UUID: 7248f792-abec-4f72-a581-8dacd0308b72
ambianic-edge    | 2020-11-26 03:40:01 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.pnp_service_connect(312): peer activated
ambianic-edge    | 2020-11-26 03:40:01 ERROR /usr/local/lib/python3.7/dist-packages/peerjs/peer.py._abort(454): Aborting! 
ambianic-edge    | PeerErrorType: PeerErrorType.UnavailableID 
ambianic-edge    | Error message: ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    |   File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
ambianic-edge    |     "__main__", mod_spec)
ambianic-edge    |   File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
ambianic-edge    |     exec(code, run_globals)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py", line 423, in <module>
ambianic-edge    |     loop.run_until_complete(_start())
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 571, in run_until_complete
ambianic-edge    |     self.run_forever()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
ambianic-edge    |     self._run_once()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 1775, in _run_once
ambianic-edge    |     handle._run()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
ambianic-edge    |     self._context.run(self._callback, *self._args)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 231, in _on_server_idtaken
ambianic-edge    |     f'ID "${self.id}" is taken')
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 455, in _abort
ambianic-edge    |     traceback.print_stack()
ambianic-edge    | 2020-11-26 03:40:01 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.emitError(464): Connection error: ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    | 2020-11-26 03:40:01 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.emitError(469): Connection error: 
ambianic-edge    | ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    | 2020-11-26 03:40:01 ERROR /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_error(176): Peer error ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    | NoneType: None
ambianic-edge    | 2020-11-26 03:40:01 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_error(177): peerConnectionStatus None
ambianic-edge    | 2020-11-26 03:40:01 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_disconnected(158): Peer 7248f792-abec-4f72-a581-8dacd0308b72 disconnected from server.
ambianic-edge    | 2020-11-26 03:40:01 INFO /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_close(172): Peer connection closed
ambianic-edge    | 2020-11-26 03:40:01 INFO /opt/ambianic-edge/src/ambianic/pipeline/ai/image_detection.py._log_stats(160): Inference time 330.29 ms, 2.05 fps in pipeline area_watch
ambianic-edge    | 2020-11-26 03:40:01 INFO /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.start(118): Peer started with UUID: 7248f792-abec-4f72-a581-8dacd0308b72
ambianic-edge    | 2020-11-26 03:40:01 ERROR /usr/local/lib/python3.7/dist-packages/peerjs/peer.py._abort(454): Aborting! 
ambianic-edge    | PeerErrorType: PeerErrorType.UnavailableID 
ambianic-edge    | Error message: ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    |   File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
ambianic-edge    |     "__main__", mod_spec)
ambianic-edge    |   File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
ambianic-edge    |     exec(code, run_globals)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py", line 423, in <module>
ambianic-edge    |     loop.run_until_complete(_start())
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 571, in run_until_complete
ambianic-edge    |     self.run_forever()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 539, in run_forever
ambianic-edge    |     self._run_once()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/base_events.py", line 1775, in _run_once
ambianic-edge    |     handle._run()
ambianic-edge    |   File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
ambianic-edge    |     self._context.run(self._callback, *self._args)
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 231, in _on_server_idtaken
ambianic-edge    |     f'ID "${self.id}" is taken')
ambianic-edge    |   File "/usr/local/lib/python3.7/dist-packages/peerjs/peer.py", line 455, in _abort
ambianic-edge    |     traceback.print_stack()
ambianic-edge    | 2020-11-26 03:40:01 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.emitError(464): Connection error: ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    | 2020-11-26 03:40:01 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/peer.py.emitError(469): Connection error: 
ambianic-edge    | ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    | 2020-11-26 03:40:01 ERROR /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_error(176): Peer error ID "$7248f792-abec-4f72-a581-8dacd0308b72" is taken
ambianic-edge    | NoneType: None
ambianic-edge    | 2020-11-26 03:40:01 WARNING /usr/local/lib/python3.7/dist-packages/peerjs/ext/http-proxy.py.peer_error(177): peerConnectionStatus None
ivelin commented 3 years ago

:tada: This issue has been resolved in version 1.4.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: