cookiesliy 发表于 2024-3-31 14:11:26

被新版Core逼疯了..还限制公网登录....

本帖最后由 cookiesliy 于 2024-3-31 14:51 编辑

我是电信公网IP, 直接映射Hass端口,设置了DDNS....

本来用着老旧版本好好的. 升级后搞了半天把报错的修复的差不多了,然后在外登录Hass. 用外面的网络直接进不去了... 提示"Unable to connect to Home Assistant."   
日志里"Login attempt or request with invalid authentication from xxx.xxx.xxx.xxx"



vitc 发表于 2024-3-31 20:44:33

http:
use_x_forwarded_for: true
trusted_proxies:
    - 172.30.33.0/24
    - xxx.xxx.xxx.xxx/24

qxdnzx 发表于 2024-3-31 16:35:14

没这个问题呀

Core
2024.3.3
Supervisor
2024.03.1
Operating System
12.1
前端
20240307.0

cookiesliy 发表于 2024-3-31 18:12:12

qxdnzx 发表于 2024-3-31 16:35
没这个问题呀

Core


如果你APP一直都登录着,好像倒是没问题, 我手机也能进.   
但用新网页或者退出来重新登录就一直提示 Unable to connect to Home Assistant.

wjh2972406 发表于 2024-3-31 20:06:28

不会,跟你一样的设置,唯一区别我是联通公网,正常链接。你检查下网络设置吧

lrving163 发表于 2024-3-31 20:11:11

好像不是hass之前试过,换了域名就好。

cookiesliy 发表于 2024-3-31 21:50:56

vitc 发表于 2024-3-31 20:44
http:
use_x_forwarded_for: true
trusted_proxies:


后面那个写内网IP还是公网IP... 写在yaml里吗?   

cqrg 发表于 2024-4-1 09:14:14

从23.12版本就开始限制公网了,需要开启白名单才行。

zy19921108 发表于 2024-4-1 09:17:11

没遇到过这种情况

jswh1969 发表于 2024-4-1 09:34:28

没遇到,目前公网登录正常
页: [1] 2 3
查看完整版本: 被新版Core逼疯了..还限制公网登录....