Raspberry pi 4 (8gb ram)
Home Assistant 2021.12.4
iOS 15.3 / Home Assistant V 2021.12.1 (iOS)
Test Flight 2021/12.1 (2021.327)
I’m not sure what to do, I have many issue with the companion app on iPhone (prod version and TestFlight)
-
I’m get logout very often (when I open the app I’m in the "welcome to home assistant iOS! page)
-
when entering my username and password I often have to click “start over” a few time even though I entered my password correctly
-
when I connect I often have a error 403 (but not always)
-
since the last few days I have new issues, sometime I have a message "connection lost. Reconnecting or I have to keep closing the app many time before the page load
I’m using NRM and Cloudflare (Cloudflare domain, SSL enabled) but I don’t think this is an issue, although I get a lot of warning with Cloudflare’s IP:
Logger: homeassistant.components.http.ban
Source: components/http/ban.py:124
Integration: HTTP (documentation, issues)
First occurred: 24 December 2021, 14:38:23 (32 occurrences)
Last logged: 26 December 2021, 17:18:58Login attempt or request with invalid authentication from 172.70.91.94 (172.70.91.94). (Mozilla/5.0 (iPhone; CPU iPhone OS 15_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2021.12.1 (io.robbie.HomeAssistant; build:2021.327; iOS 15.3.0) Mobile/HomeAssistant, like Safari)
Login attempt or request with invalid authentication from 172.70.85.219 (172.70.85.219). (Mozilla/5.0 (iPhone; CPU iPhone OS 15_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2021.12.1 (io.robbie.HomeAssistant; build:2021.327; iOS 15.3.0) Mobile/HomeAssistant, like Safari)
Login attempt or request with invalid authentication from 172.70.85.205 (172.70.85.205). (Mozilla/5.0 (iPhone; CPU iPhone OS 15_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Mobile/15E148 Safari/604.1)
Login attempt or request with invalid authentication from 172.70.162.65 (172.70.162.65). (Mozilla/5.0 (iPhone; CPU iPhone OS 15_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Mobile/15E148 Safari/604.1)
Login attempt or request with invalid authentication from 162.158.159.111 (162.158.159.111). (Mozilla/5.0 (iPhone; CPU iPhone OS 15_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Mobile/15E148 Safari/604.1)
my configuration have cloudflare IP’s in the trusted proxies
http:
ip_ban_enabled: true
login_attempts_threshold: 5
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1
- ::1
- 172.16.0.0/12
- 172.30.33.0/24
- 172.30.0.0/16
- 10.0.30.0/30
# - 192.168.1.0/24
- 10.0.0.200 # Add the IP address of the proxy server ##CloudFlare
- 173.245.48.0/20
- 103.21.244.0/22
- 103.22.200.0/22
- 103.31.4.0/22
- 141.101.64.0/18
- 108.162.192.0/18
- 190.93.240.0/20
- 188.114.96.0/20
- 197.234.240.0/22
- 198.41.128.0/17
- 162.158.0.0/15
- 104.16.0.0/13
- 104.24.0.0/14
- 172.64.0.0/13
- 131.0.72.0/22
here is my NPM config
to be honest I’m not sure about this last config, I copy past what I found on the web, but to be fair I have the same config for months: