Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration doesn't work on a IPv6 enabled network #778

Closed
revellion opened this issue Nov 3, 2023 · 3 comments
Closed

Integration doesn't work on a IPv6 enabled network #778

revellion opened this issue Nov 3, 2023 · 3 comments

Comments

@revellion
Copy link

Describe the bug

The integration seems to fail while connecting to my Google mines. It doesn't seem to form the URLs properly when encountering IPv6 addresses.

A manual CURLing with
curl -kv https://[2001:9b1:35f8:3700:4607:bff:feab:9091]:8443/setup/assistant/alarms/volume

seems to connect fine. So the bug is probably in the URL handling where it needs to add [ and ] around the IPv6 address and before the port number.

Version of the integration

If you are unsure about the version check the github release here.

Add version here.

Logs

Logger: custom_components.google_home
Source: custom_components/google_home/api.py:479
Integration: Google Home (documentation, issues)
First occurred: 09:30:47 (30 occurrences)
Last logged: 09:30:47

Request from Kök Mini device error: https://2001:9b1:35f8:3700:4607:bff:feab:9091:8443/setup/assistant/alarms/volume
Request from Kök Mini device error: https://2001:9b1:35f8:3700:4607:bff:feab:9091:8443/setup/assistant/notifications
Request from Husvagn Mini device error: https://2001:9b1:35f8:3700:2f6:20ff:fe46:8f16:8443/setup/assistant/alarms
Request from Husvagn Mini device error: https://2001:9b1:35f8:3700:2f6:20ff:fe46:8f16:8443/setup/assistant/alarms/volume
Request from Husvagn Mini device error: https://2001:9b1:35f8:3700:2f6:20ff:fe46:8f16:8443/setup/assistant/notifications

Add your logs here.
@KapJI
Copy link
Collaborator

KapJI commented Nov 3, 2023

This was fixed by #753

We need to publish new version with that fix.

@leikoilja
Copy link
Owner

Should be fixed in https://github.com/leikoilja/ha-google-home/releases/tag/v1.10.1
@revellion please install the latest version and try again.

@revellion
Copy link
Author

Should be fixed in https://github.com/leikoilja/ha-google-home/releases/tag/v1.10.1 @revellion please install the latest version and try again.

Installing and testing

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

No branches or pull requests

3 participants