Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

ValueError uncaught webrtc bug #104

Open
adminy opened this issue Jun 27, 2022 · 1 comment
Open

ValueError uncaught webrtc bug #104

adminy opened this issue Jun 27, 2022 · 1 comment

Comments

@adminy
Copy link

adminy commented Jun 27, 2022

Logs

 balena-cam  ======== Running on http://0.0.0.0:80 ========
 balena-cam  (Press CTRL+C to quit)
 balena-cam  /usr/local/lib/python3.5/dist-packages/pyee/_base.py:83: RuntimeWarning: coroutine 'on_iceconnectionstatechange' was never awaited
 balena-cam    f(*args, **kwargs)
 balena-cam  Task exception was never retrieved
 balena-cam  future: <Task finished coro=<RTCPeerConnection.__connect() done, defined at /usr/local/lib/python3.5/dist-packages/aiortc/rtcpeerconnection.py:554> exception=ValueError("'e8330c82-1def-43a6-8696-a2b45879f32a.local' does not appear to be an IPv4 or IPv6 address",)>
 balena-cam  Traceback (most recent call last):
 balena-cam    File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
 balena-cam      result = coro.send(None)
 balena-cam    File "/usr/local/lib/python3.5/dist-packages/aiortc/rtcpeerconnection.py", line 559, in __connect
 balena-cam      await iceTransport.start(self.__remoteIce[transceiver])
 balena-cam    File "/usr/local/lib/python3.5/dist-packages/aiortc/rtcicetransport.py", line 284, in start
 balena-cam      await self._connection.connect()
 balena-cam    File "/usr/local/lib/python3.5/dist-packages/aioice/ice.py", line 356, in connect
 balena-cam      if (protocol.local_candidate.can_pair_with(remote_candidate) and
 balena-cam    File "/usr/local/lib/python3.5/dist-packages/aioice/candidate.py", line 114, in can_pair_with
 balena-cam      b = ipaddress.ip_address(other.host)
 balena-cam    File "/usr/lib/python3.5/ipaddress.py", line 54, in ip_address
 balena-cam      address)
 balena-cam  ValueError: 'e8330c82-1def-43a6-8696-a2b45879f32a.local' does not appear to be an IPv4 or IPv6 address
@Sheng2216
Copy link

I am having the exact same issue on my Raspberry Pi 4b, same error message in the log.
I checked the local address of the webcam. Although it won't return 404 or an error message, it doesn't show anything:
image

then I checked the public URL, this time I got an error message about port 80

image

another weird thing is that the device is online apparently, but on the dashboard, it tells me that it's offline:

image

Can someone please offer me some assistances or suggestions?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants