Hallo,
neuerdings funktioniert mein Fernzugriff auf HA über den Cloudflare Tunnel nicht mehr. Nach Eingabe meines Domain-Namens in die Browser-Adresszeile kommt die Meldung:
Hmmm…diese Seite ist leider nicht erreichbar
Es sieht so aus, als ob die Webseite unter
KLICK
Probleme hat oder sie wurde möglicherweise dauerhaft zu einer neuen Webadresse verschoben.
Nach Erstellung vor einigen Wochen hat alles einwandfrei funktioniert und ich habe inzwischen nichts geändert. Natürlich gab es einige Updates.
Ich bin wie folgt vorgegangen:
Nach dem Video: [(1135) Home Assistant Cloudflare - Fernzugriff ohne Portfreigabe einrichten
- YouTube](https://www.youtube.com/watch?v=saqvt9aEQPs
Also:
- Addon Cloudflared in HA installiert
- Domain bei Strato erstellt
- Account bei Cloudflare eröffnet
- 2 DNS-Server von Cloudflare bei Strato eingetragen
- Im Addon meine Domain eingetragen
- Zeile zur Verfizierung aus dem Cloudflared Protokoll in Browseradresse eingefügt und abgeschickt
- In der config.yaml folgendes ergänzt:
http:
cors_allowed_origins:
- https://google.com
- https://www.home-assistant.io
ip_ban_enabled: true
login_attempts_threshold: 5
use_x_forwarded_for: true
trusted_proxies:
- 172.30.33.0/24
das Protokoll aus Cloudflared:
Add-on: Cloudflared
Use a Cloudflare Tunnel to remotely connect to Home Assistant without opening any ports
-----------------------------------------------------------
Add-on version: 5.2.2
You are running the latest version of this add-on.
System: Home Assistant OS 14.0 (amd64 / qemux86-64)
Home Assistant Core: 2024.12.0
Home Assistant Supervisor: 2024.11.4
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[16:49:15] INFO: Checking add-on config...
[16:49:15] INFO: Checking for existing certificate...
[16:49:15] INFO: Existing certificate found
[16:49:15] INFO: Checking for existing tunnel...
[16:49:15] INFO: Existing tunnel with ID a2e97004-4afa-49c9-9e03-7923c7832d96 found
[16:49:15] INFO: Checking if existing tunnel matches name given in config
[16:49:16] INFO: Existing Cloudflare Tunnel name matches config, proceeding with existing tunnel file
[16:49:16] INFO: Creating config file...
[16:49:16] INFO: Validating config file...
Validating rules from /tmp/config.json
OK
[16:49:16] INFO: Creating DNS entry xxxxxx10.de...
2024-12-07T15:49:18Z INF xxxxxxx10.de is already configured to route to your tunnel tunnelID=a2e97004-4afa-49c9-9e03-7923c7832d96
[16:49:18] INFO: Finished setting up the Cloudflare Tunnel
[16:49:18] INFO: Connecting Cloudflare Tunnel...
2024-12-07T15:49:18Z INF Starting tunnel tunnelID=a2e97004-4afa-49c9-9e03-7923c7832d96
2024-12-07T15:49:18Z INF Version 2024.11.1 (Checksum 55d789465955ccfffcd61ba72807a2a4495002f7d9b7cc5eadcaa1f93c279d25)
2024-12-07T15:49:18Z INF GOOS: linux, GOVersion: go1.22.5, GoArch: amd64
2024-12-07T15:49:18Z INF Settings: map[config:/tmp/config.json cred-file:/data/tunnel.json credentials-file:/data/tunnel.json metrics:0.0.0.0:36500 no-autoupdate:true origincert:/data/cert.pem]
2024-12-07T15:49:18Z INF Generated Connector ID: f9c3c39d-ca15-46ff-ab78-f157299d2ec3
2024-12-07T15:49:18Z INF Initial protocol quic
2024-12-07T15:49:18Z INF ICMP proxy will use 172.30.33.3 as source for IPv4
2024-12-07T15:49:18Z INF ICMP proxy will use ::1 in zone lo as source for IPv6
2024-12-07T15:49:18Z INF Starting metrics server on [::]:36500/metrics
2024-12-07T15:49:19Z INF Registered tunnel connection connIndex=0 connection=3929b755-4afa-44f0-a370-69e8348f9206 event=0 ip=198.41.192.57 location=dus02 protocol=quic
2024-12-07T15:49:19Z INF Registered tunnel connection connIndex=1 connection=c29ba884-4797-4170-bd01-b45ddad49243 event=0 ip=198.41.200.193 location=ams06 protocol=quic
2024-12-07T15:49:20Z INF Registered tunnel connection connIndex=2 connection=7e8d642e-c8e7-4e06-9d40-f2786dce76da event=0 ip=198.41.200.33 location=ams06 protocol=quic
2024-12-07T15:49:21Z INF Registered tunnel connection connIndex=3 connection=4dd4a8dd-5108-4967-ab5d-648e77f03a92 event=0 ip=198.41.192.37 location=dus01 protocol=quic
2024-12-08T03:01:41Z WRN Failed to serve tunnel connection error="timeout: no recent network activity" connIndex=0 event=0 ip=198.41.192.57
2024-12-08T03:01:41Z WRN Serve tunnel error error="timeout: no recent network activity" connIndex=0 event=0 ip=198.41.192.57
2024-12-08T03:01:41Z INF Retrying connection in up to 1s connIndex=0 event=0 ip=198.41.192.57
2024-12-08T03:01:41Z WRN Failed to serve tunnel connection error="timeout: no recent network activity" connIndex=3 event=0 ip=198.41.192.37
2024-12-08T03:01:41Z WRN Serve tunnel error error="timeout: no recent network activity" connIndex=3 event=0 ip=198.41.192.37
2024-12-08T03:01:41Z INF Retrying connection in up to 1s connIndex=3 event=0 ip=198.41.192.37
2024-12-08T03:01:42Z WRN Failed to serve tunnel connection error="timeout: no recent network activity" connIndex=2 event=0 ip=198.41.200.33
2024-12-08T03:01:42Z WRN Serve tunnel error error="timeout: no recent network activity" connIndex=2 event=0 ip=198.41.200.33
2024-12-08T03:01:42Z INF Retrying connection in up to 1s connIndex=2 event=0 ip=198.41.200.33
2024-12-08T03:01:42Z ERR Failed to serve tunnel connection error="timeout: no recent network activity" connIndex=1 event=0 ip=198.41.200.193
2024-12-08T03:01:42Z ERR Serve tunnel error error="timeout: no recent network activity" connIndex=1 event=0 ip=198.41.200.193
2024-12-08T03:01:42Z INF Retrying connection in up to 1s connIndex=1 event=0 ip=198.41.200.193
2024-12-08T03:01:46Z ERR Connection terminated error="timeout: no recent network activity" connIndex=2
2024-12-08T03:01:46Z ERR Connection terminated error="timeout: no recent network activity" connIndex=3
2024-12-08T03:01:46Z ERR Connection terminated error="timeout: no recent network activity" connIndex=1
2024-12-08T03:01:46Z INF Registered tunnel connection connIndex=0 connection=8406c002-f2ee-47f7-bffb-1082084880bb event=0 ip=198.41.192.167 location=dus01 protocol=quic
2024-12-08T03:02:00Z INF Registered tunnel connection connIndex=3 connection=d756e488-510b-43b2-97a6-36be186f38a1 event=0 ip=198.41.192.107 location=dus02 protocol=quic
2024-12-08T03:02:00Z INF Registered tunnel connection connIndex=1 connection=ef47ee5e-89bc-4557-82d6-52af045fff20 event=0 ip=198.41.200.13 location=ams01 protocol=quic
2024-12-08T03:02:00Z INF Registered tunnel connection connIndex=2 connection=2888ec4c-6348-4fd9-a8e5-77b17f09cd7c event=0 ip=198.41.200.43 location=ams06 protocol=quic
2024-12-08T03:58:44Z WRN Failed to serve tunnel connection error="timeout: no recent network activity" connIndex=2 event=0 ip=198.41.200.43
2024-12-08T03:58:44Z WRN Serve tunnel error error="timeout: no recent network activity" connIndex=2 event=0 ip=198.41.200.43
2024-12-08T03:58:44Z INF Retrying connection in up to 1s connIndex=2 event=0 ip=198.41.200.43
2024-12-08T03:58:44Z WRN Failed to serve tunnel connection error="timeout: no recent network activity" connIndex=3 event=0 ip=198.41.192.107
2024-12-08T03:58:44Z WRN Serve tunnel error error="timeout: no recent network activity" connIndex=3 event=0 ip=198.41.192.107
2024-12-08T03:58:44Z INF Retrying connection in up to 1s connIndex=3 event=0 ip=198.41.192.107
2024-12-08T03:58:44Z WRN Connection terminated error="timeout: no recent network activity" connIndex=3
2024-12-08T03:58:45Z WRN Failed to serve tunnel connection error="timeout: no recent network activity" connIndex=0 event=0 ip=198.41.192.167
2024-12-08T03:58:45Z WRN Serve tunnel error error="timeout: no recent network activity" connIndex=0 event=0 ip=198.41.192.167
2024-12-08T03:58:45Z INF Retrying connection in up to 1s connIndex=0 event=0 ip=198.41.192.167
2024-12-08T03:58:45Z ERR Failed to serve tunnel connection error="timeout: no recent network activity" connIndex=1 event=0 ip=198.41.200.13
2024-12-08T03:58:45Z ERR Serve tunnel error error="timeout: no recent network activity" connIndex=1 event=0 ip=198.41.200.13
2024-12-08T03:58:45Z INF Retrying connection in up to 1s connIndex=1 event=0 ip=198.41.200.13
2024-12-08T03:58:46Z ERR Connection terminated error="timeout: no recent network activity" connIndex=1
2024-12-08T03:58:46Z ERR Connection terminated error="timeout: no recent network activity" connIndex=2
2024-12-08T03:58:50Z ERR Failed to dial a quic connection error="failed to dial to edge with quic: timeout: no recent network activity" connIndex=0 event=0 ip=198.41.192.37
2024-12-08T03:58:50Z INF Retrying connection in up to 4s connIndex=0 event=0 ip=198.41.192.37
2024-12-08T03:58:52Z INF Registered tunnel connection connIndex=2 connection=90aa778e-ed1d-481a-8f8c-e12dbd40c048 event=0 ip=198.41.200.53 location=ams06 protocol=quic
2024-12-08T03:58:53Z INF Registered tunnel connection connIndex=3 connection=7c117de4-47f2-499c-99fa-a74e81d69e8a event=0 ip=198.41.192.67 location=dus01 protocol=quic
2024-12-08T03:58:53Z INF Registered tunnel connection connIndex=1 connection=b7e42620-272b-4302-86a0-9325c329ed5b event=0 ip=198.41.200.43 location=ams01 protocol=quic
2024-12-08T03:58:53Z INF Registered tunnel connection connIndex=0 connection=11edcd81-7c52-49a6-966b-a16044808e97 event=0 ip=198.41.192.167 location=dus01 protocol=quic
Der Fernzugriff für meine Person ist als erlaubt eingeschaltet.
Der Cloudflare Eintrag scheint in Ordnung:
by tarag: Bild entfernt
Merkwürdig ist auch, dass der DNS-Server für meine Domain nicht mehr bei
“Whatsmydns.com” gefunden wird.
Nach Eingabe meiner Domain im Browser erscheint zuerst kurz das HA-Logo und dann obige Fehlermeldung.
Ich weiss nicht mehr, wo ich noch den Fehler suchen soll.
Kann jemand helfen?
by by HarryP: Riesenlink “verpackt”


