Closed Taddy81 closed 2 months ago
Mmhh, did you follow the instructions to enable TR-069? Seems that either the FritzBox is running on a different IP address or it's not possible to connect to the port.
Yes, TR-069 is activated.
192.168.0.1:49000 is also accessible
Then I have no Idea why the tool can't reach the FritzBox.
Do you run it in a container?
Sorry, for my late Answer.
Yes, i use Docker, with your latest Release.
But I have come across a new problem.
As far as I know, logging in with just the password has always worked. At some point it was possible to log in with a user and password.
If I deactivate the second user, the login still doesn't work.
However, logging in with the username FRITZBOX_USERNAME in the Docker environment does not work
024-06-11T10:20:42.789909883Z INFO: Successfully parsed config
2024-06-11T10:20:42.798903263Z INFO: Connection to InfluxDB v2.7.4 established and bucket is present
2024-06-11T10:20:42.800232508Z ERROR: Failed to connect to FritzBox via TR-069 'Unable to get a connection: HTTPConnectionPool(host='192.168.0.1', port=49000): Max retries exceeded with url: /igddesc.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff2f92e3e80>: Failed to establish a new connection: [Errno 111] Connection refused'))'
2024-06-11T10:20:42.800246283Z Unable to get a connection: HTTPConnectionPool(host='192.168.0.1', port=49000): Max retries exceeded with url: /igddesc.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ff2f92e3e80>: Failed to establish a new connection: [Errno 111] Connection refused'))
2024-06-11T10:20:42.800332548Z INFO: Disabling queries via Lua. Fritz!OS version must be at least 7.XX
2024-06-11T10:20:42.800337376Z ERROR: Initializing connection to FritzBox TR-069 failed
Hi, FRITZBOX_USERNAME
is not the user name to be used, it's the name of the variable.
Judging from your screenshot you would need to define this in your docker-compose env config
FRITZBOX_USERNAME=fritz869
Hey Ricardo,
Sorry, I probably didn't express myself clearly enough. English is not my native language
Hi,
kein Problem.
Kannst du mal schauen ob der Login für TR-069 aktiviert ist?: https://avm.de/service/schnittstellen/
Guten Abend Ricardo, sorry, dass ich mich so lange nicht gemeldet habe.
Urlaubszeit, Kinder, Reallife du kannst es dir vllt vorstellen. Ich habe heute meine Fritzbox mal zurückgesetzt und das Problem besteht auch mit einer Fritzbox im Werkszustand.
TR-69 ist meiner Meinung aktiv. Ich kann die 192.168.0.1:49000 abrufen und bekomme auch die Statusseite. Siehe https://github.com/bb-Ricardo/fritzinfluxdb/issues/121#issuecomment-2144469771
Wenn ich die Sicherungsdatei der Fritzbox mal anschaue, dann sind folgende Einträge vorhanden:
Gute Frage, ich kann das remote leider nicht diagnostizieren, was da jetzt nicht passt.
Hallo Ricardo,
ich wollte dir nur mitteilen, dass ich einen Workaround gefunden habe. Mein Setup: Fritzbox ist mit einer PfSense verbunden, dahinter mein Homlab. Obwohl ich die Regeln passend erstellt habe, dass Homelab voll auf die Fritzbox zugreifen kann, muss dort der Fehler sein.
Ich habe nun ein LXC im FritzNetz erstellt und dort läuft dein Script als Systemd.
Was soll ich sagen... Läuft. Ich danke dir für deine Hilfe und erst recht dein Script hier!
Ach super das du zumindest einen Workaround gefunden hast. Hab heute erst noch ein Update nachgeschoben.
Leider gibt es mit den aktuellen Grafana Versionen Probleme. Da muss ich mich die nächsten Tage noch mal drum kümmern.
Gruß Ricardo
Hello,
I have a Fritzbox 6660 and recently got the following error message:
2024-05-26T07:03:07.184257961Z Unable to get a connection: HTTPConnectionPool(host='192.168.0.1', port=49000): Max retries exceeded with url: /igddesc.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4cc4925b50>: Failed to establish a new connection: [Errno 111] Connection refused')) 2024-05-26T07:03:07.184290872Z ERROR: Failed to connect to FritzBox via TR-069 'Unable to get a connection: HTTPConnectionPool(host='192.168.0.1', port=49000): Max retries exceeded with url: /igddesc.xml (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4cc4925b50>: Failed to establish a new connection: [Errno 111] Connection refused'))' 2024-05-26T07:03:07.184336569Z INFO: Disabling queries via Lua. Fritz!OS version must be at least 7.XX 2024-05-26T07:03:07.184353280Z ERROR: Initializing connection to FritzBox TR-069 failed
The current Docker environment is running and TR 64 and TR69 are activated, I have already restarted the Fritzbox