#i am trying to use cloudflare tunnel to
1 messages ยท Page 1 of 1 (latest)
To check your configuration use the command for your install method:
That would have told you about the problem
i redid it and i am now restarting ha
i am coming from c++ world where indents dont matter one bit
it still gives me 400 response, where do i find the ip that is needed to be included in YAML? i got the ip that i used from this post https://community.home-assistant.io/t/cloudflare-400-bad-request-error/326047/8
Well, use the IP from your own log
If you're having problems with your updates to your configuration:
- Check the troubleshooting steps
- Check your log file - remembering you may need to set logger to
infoordebug - Explain what the problem you're having is - sharing configuration, errors, and logs
like this?
logger:
default: info
logs:
# log level for HA core
homeassistant.core: fatal
http:
use_x_forwarded_for: true
trusted_proxies:
- 10.1.10.2
Probably
If that passes, restart HA and then check your log when you have problems
i dont see any ip-s
2023-11-16 20:21:14.157 ERROR (MainThread) [homeassistant.components.http.forwarded] Received X-Forwarded-For header from an untrusted proxy ::1```
ill try using debug
Ummm
Received X-Forwarded-For header from an untrusted proxy ::1
What's that at the end of the line ๐
can i send you the screenshot?
line ends there
::1 is the compressed format IPV6 loopback address 0:0:0:0:0:0:0:1. It is the equivalent of the IPV4 address 127.0.0.1.
ah