hap-proxy icon indicating copy to clipboard operation
hap-proxy copied to clipboard

IPv6 Link-Local addresses are missing scope.

Open Supereg opened this issue 2 years ago • 1 comments

Problem

HAP-Proxy derives the Proxies accessory address from its mDNS announcement. It fails to connect when using the advertised IPv6 Link-Local of a accessory as the required interface scope is not appended to the address.

Solution

Append the scope (%<interface name>) to the address string.

Supereg avatar Apr 25 '22 09:04 Supereg

As shown in the linked commit, and option --hostname was added to the CLI to specify a custom hostname. This acts as a workaround for this issue.

Supereg avatar Nov 06 '22 06:11 Supereg