hassio-addons / addon-aircast

AirCast - Home Assistant Community Add-ons
https://addons.community
MIT License
314 stars 18 forks source link

Unable to create recv socket, and constantly looping. #135

Closed opless closed 2 years ago

opless commented 2 years ago

Problem/Motivation

Add-on does not start.

Expected behavior

Normal Operation

Actual behavior

as per #72 and #131

`[02:12:33] INFO: #033[32mStarting the AirCast server...#033[0m

[02:12:33.797370] main:974 Starting aircast version: v0.2.51.2 (Nov 1 2021 @ 23:31:36)

[02:12:33.797521] Start:732 Binding to 10.10.10.208

recv setsockopt(IP_PROTO_IP): Cannot assign requested address

unable to create recv socket `

Steps to reproduce

aircast releases 3.2.1, and 3.3.0 core-2022.3.5 supervisor-2022.03.4 Debian GNU/Linux 11 (bullseye) AMD Ryzen 5 PRO 4650GE

Question

As this has been brought up a couple of times, and they've been closed with inactivity, I assume either they lost interest in the addon, or found the problem. Any assistance to get this working would be fantastic, and can be logged here in case it is a specific port that's being blocked.

opless commented 2 years ago

So the issue seems to be xx.xx.xx.xx as the IP being bound to, not being the actual IP address of homeassistant, but rather one of the chromecast devices.

Solution

(Sidebar) Configuration -> (menu) Add-Ons, Backups & Supervisor -> (installed addons) AirCast

Then choose Configuration (along the top) and change the incorrect IP to the correct one.