home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.74k stars 30.85k forks source link

Fritz integration Unable to get a connection #130810

Open FaserF opened 2 hours ago

FaserF commented 2 hours ago

The problem

I cannot establish a connection with HA to my Fritzbox. It takes the login credentials, but afterwards an error occurs. I tried re-adding it multiple times. I am using a seperate HA user on my fritzbox, but permissions are definitly correct.

What version of Home Assistant Core has the issue?

2024.11.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

fritz

Link to integration documentation on our website

https://www.home-assistant.io/integrations/fritz/

Diagnostics information

home-assistant_fritz_2024-11-17T13-44-24.756Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Unable to get a connection: HTTPConnectionPool(host='192.168.178.1', port=49000): Max retries exceeded with url: /igddesc.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f969363a480>: Failed to establish a new connection: [Errno 111] Connection refused'))
Unable to get a connection: HTTPConnectionPool(host='192.168.178.1', port=49000): Max retries exceeded with url: /igddesc.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f969e889370>: Failed to establish a new connection: [Errno 101] Network unreachable'))

Additional information

I am using a Fritzbox 3490 with Freetz NG on it and FritzOS 7.59

home-assistant[bot] commented 2 hours ago

Hey there @aarondavidschneider, @chemelli74, @mib1185, mind taking a look at this issue as it has been labeled with an integration (fritz) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `fritz` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign fritz` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


fritz documentation fritz source (message by IssueLinks)

mib1185 commented 2 hours ago

Hi @FaserF

the error messages says, that on the first try your Fritzbox refused the connection attempt, on the second one, an icmp network unreachable occur. You need to check your network setup and fritzbox settings and logs.

Anyway, we do not support manipulated fritzbox firmware - the integration is intended to work with the original FritzOS firmware - so it can still work, but also could not.