Balenacam on Raspberry pi Zero not seeing

HI,
Trying my first project everything looks fine, except from not seeing anything from the picam.

Log say
ValueError: ‘e798ac7f-bcb9-40c5-ac98-c4c56ceefaf3.local’ does not appear to be an IPv4 or IPv6 address

Any help?

Cheers,

@duzcategui Welcome to the Balena forums.
Can you point us to the project / instructions you are using ?
The log you posted indicates that an invalid IP address was set somewhere. e798ac7f-bcb9-40c5-ac98-c4c56ceefaf3.local is unlikely to resolve to a valid ip address. If it refers to the address of a balena device ‘e798ac7’ 'e798ac7.local’or would typically be the host name.

Would you be able to enable support access for the device and send me a link to it?

Hi! I am experiencing the same error exploiting balenacam on a rpi4 while being connected in local mode to the device, someone found a solution to this error?

Thanks ^^

Could you share the complete log from the container log, and from the browser console when you’ve browsed to the device URL?

The browser is chrome, I am attaching the log log_balenacam.log (1.2 KB)
balenacam_log_console.log (6.0 KB)

The videoplayer remains in “pending” :

OK I am seeing some references that that address in the SDP stream.

Something, somewhere, is misconfigured. Are you using ICE/TURN at all? Also, which version of the balenaCam repo are you using?

I am using version: v0.1.0

No, I didn’t tried yet, I will! ^^

Hi there, it looks like you are trying to access the balenaCam client using .local address. The backend library handling IP addresses doesn’t support that type of resolution. Could you please try using the public device URL instead, as described here. Alternatively you could also try to resolve your device .local DNS name to an IP address locally and use that IP address to access the balenaCam client.

If anyone else gets here, please see this PR: https://github.com/balenalabs/balena-cam/pull/62

Thanks for the contribution. Did that configuration resolve the issue?