『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 1208|回复: 1

[求助] 搭建FRP内网穿透,域名80端口访问,经常弹出异常登入消息

[复制链接]

5

主题

99

帖子

509

积分

高级会员

Rank: 4

积分
509
金钱
410
HASS币
5
发表于 2023-12-4 21:31:47 | 显示全部楼层 |阅读模式
本帖最后由 guoqiang881245 于 2023-12-4 21:50 编辑

自己搭建的FRP内网穿透服务器,FRP客户端安装在群晖上面,HA是用的群晖虚拟机安装的OS版本 。用的域名加80端口访问HA,现在有个问题就是电脑端访问没有问题,苹果手机端传感器步数上传 位置上传都会弹出通知,提示Login attempt failed,日志在下面,很烦人,我之前用其他端口穿透访问就没问题,就用80端口穿透就有这个提示。

是不是出现这个

是不是出现这个



Logger: homeassistant.components.http.ban
Source: components/http/ban.py:129
Integration: HTTP (documentation, issues)
First occurred: 20:31:19 (1 occurrences)
Last logged: 20:31:19

Login attempt or request with invalid authentication from Guo-NAS.lan (192.168.124.6). Requested URL: '/api/history/period/2023-12-03T04:55:46.715Z?filter_entity_id=<font color="#9acd32">sensor.iphone_steps</font>&end_time=2023-12-03T05:56:24.817Z&skip_initial_state&minimal_response'. (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36)
Login attempt or request with invalid authentication from Guo-NAS. lan (192.168.124.6).  Requested URL: '/api/history/period/2023-12-02T14:03:35.804Z?filter_entity_id=sensor.iphone_steps&end_time=2023-12-02T14:07:23.402Z&skip_initial_state&minimal_response'.  (Mozilla/5.0 (Macintosh;  Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36)

Login attempt or request with invalid authentication from Guo-NAS. lan (192.168.124.6).  Requested URL: '/auth/token'.  (Mozilla/5.0 (Macintosh;  Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36)

Login attempt or request with invalid authentication from Guo-NAS. lan (192.168.124.6).  Requested URL: '/api/history/period/2023-12-03T04:34:01.871Z?filter_entity_id=sensor.iphone_guo_steps&end_time=2023-12-03T12:14:37.592Z&skip_initial_state&minimal_response'.  (Mozilla/5.0 (iPhone;  CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2023.7 (io.robbie.HomeAssistant;  build:2023.471;  iOS 16.6.0) Mobile/HomeAssistant, like Safari)

Login attempt or request with invalid authentication from Guo-NAS. lan (192.168.124.6).  Requested URL: '/api/history/period/2023-12-04T09:45:26.003Z?filter_entity_id=sensor.iphone_guo_steps&end_time=2023-12-04T09:46:24.544Z&skip_initial_state&minimal_response'.  (Mozilla/5.0 (Windows NT 10.0;  Win64;  x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36)

Login attempt or request with invalid authentication from Guo-NAS. lan (192.168.124.6).  Requested URL: '/api/history/period/2023-12-03T03:25:21.597Z?filter_entity_id=sensor.iphone_guo_steps&end_time=2023-12-03T03:25:38.426Z&skip_initial_state&minimal_response'.  (Mozilla/5.0 (Macintosh;  Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36)





回复

使用道具 举报

5

主题

99

帖子

509

积分

高级会员

Rank: 4

积分
509
金钱
410
HASS币
5
 楼主| 发表于 2023-12-4 21:52:07 | 显示全部楼层
http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 192.168.124.0/24   # Add the IP address of the proxy server
我也配置了这个信息
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-26 09:33 , Processed in 0.188235 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表