- 积分
- 444
- 金钱
- 326
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 444
- 金钱
- 326
- HASS币
- 0
|
发表于 2019-4-12 22:25:05
|
显示全部楼层
我使用http方式 与天猫对接,提示重复昵称, 我用https对接,没让输入令牌的地方, 并且我通过把ha调整到debug模式, 发现了如下错误:
2019-04-12 22:20:45 DEBUG (Thread-5) [homeassistant.helpers.storage] Writing data for auth
2019-04-12 22:20:46 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 36.111.149.179
2019-04-12 22:20:46 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.2948959344] Sending {'event': {'time_fired': datetime.datetime(2019, 4, 12, 14, 20, 46, 347978, tzinfo=<UTC>), 'context': {'id': '01ecad48b3c749f3898df17a643ec9d5', 'user_id': None}, 'origin': 'LOCAL', 'data': {'new_state': <state persistent_notification.http_login=notifying; message=Login attempt or request with invalid authentication from 36.111.149.179, title=Login attempt failed @ 2019-04-12T22:17:39.891817+08:00>, 'entity_id': 'persistent_notification.http_login', 'old_state': <state persistent_notification.http_login=notifying; message=Login attempt or request with invalid authentication from 192.168.88.254, title=Login attempt failed @ 2019-04-12T22:17:39.891817+08:00>}, 'event_type': 'state_changed'}, 'id': 2, 'type': 'event'}
2019-04-12 22:20:47 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 36.111.149.179
2019-04-12 22:20:53 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from 36.111.149.179
上面这事一个疑问,
另外还发现 这个认证跟我路由器地址有什么关系? 搞不明白。 Login attempt or request with invalid authentication from 192.168.88.254 , 88.254是我的路由器IP地址。 |
|