#Login attempt or request with invalid authentication from ...

1 messages · Page 1 of 1 (latest)

jolly summit
#

So I only have one user in "people" myself. Could that be the root cause? should I have made a user for Wireless Tags?

torpid idol
#

Doubt it

#

We don't know what your error is though

jolly summit
#

Logger: homeassistant.components.http.ban
Source: components/http/ban.py:83
Integration: HTTP (documentation, issues)
First occurred: 2:02:52 PM (286 occurrences)
Last logged: 4:49:11 PM

Login attempt or request with invalid authentication from WirelessTags.Belkin (192.168.1.20). Requested URL: '/api/events/wirelesstag_update_tags'. (None)
Login attempt or request with invalid authentication from WirelessTags.Belkin (192.168.1.20). Requested URL: '/api/events/wirelesstag_binary_event'. (None)

torpid idol
#

Try defining an explicit user

jolly summit
#

Login attempt or request with invalid authentication from ...

jolly summit
#

Ok a I made person and the error came back. I will try inserting what you gave me changing the IP Address and using name I made BRB. Thanks for your guidance.

#

what does the /32 indicate I only have the IP as 192.168.1.20

torpid idol
#

/32 is the netmask, that says this IP

jolly summit
#

It is giving me an error preventing me from saving

Wireless Tags Stuff

  • type: homeassistant
  • type: trusted_networks
    trusted_networks:
    • 192.168.0.20/32
      trusted_users:
      192.168.0.20: WirelessTags.Belkin
      allow_bypass_login: true

wirelesstag:
username: XXXXXXXX@gmail.com
password: XXXXXXXX

#

Here is the exact error
end of the stream or a document separator is expected (92:1)

89 |
90 | # Wireless Tags Stuff
91 |
92 | - type: homeassistant
------^
93 | - type: trusted_networks
94 | trusted_networks:

#

Should I just remove line 92?

young tundraBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

torpid idol
#

Is that under

homeassistant:
  auth_providers:
```?
#

At least, the auth stuff has to be there, the wirelesstag stuff not so much

#

That also assumes that WirelessTags.Belkin is the user ID, which it may not be

jolly summit
#

So I moved it all up to the top

1 |
2 | homeassistant:
3 | auth_providers:
4 | - type: homeassistant
5 | - type: trusted_networks
6 | trusted_networks:
7 | - 192.168.0.20/32
8 | trusted_users:
9 | 192.168.0.20: WirelessTags.Belkin
10 | allow_bypass_login: true

young tundraBOT
#

@jolly summit To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

torpid idol
#

It really helps if you use code markup

jolly summit
#

...yaml

jolly summit
#
homeassistant:
  auth_providers:
- type: homeassistant
- type: trusted_networks
  trusted_networks:
    - 192.168.0.20/32
  trusted_users:
    192.168.0.20: WirelessTags.Belkin
  allow_bypass_login: true```
torpid idol
#

Your indenting is wrong

jolly summit
#

Thanks for bearing with me ... I think I got it

#
homeassistant:
  auth_providers:
   - type: homeassistant
   - type: trusted_networks
  trusted_networks:
    - 192.168.0.20/32
  trusted_users:
    192.168.0.20: WirelessTags.Belkin
  allow_bypass_login: true
#

And thank you for showing me the code pasting thing as well.

torpid idol
#

That's still broken

#
homeassistant:
  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 192.168.0.0/24
        - 192.168.10.0/24
        - fd00::/8
      trusted_users:
        192.168.0.1: user1_id
        192.168.0.0/24:
          - user1_id
          - user2_id
        "fd00::/8":
          - user1_id
          - group: system-users
``` from the docs
jolly summit
#

I did read that before. I think I understand it little more from the information you gave me. So should I be using the /24 or the /32 ?

torpid idol
#

Well, you should fix the indenting first

#

Using /32 is fine

jolly summit
#

homeassistant:
  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 192.168.0.20/32
      trusted_users:
        192.168.0.20: 
          - WirelessTags.Belkin```
#

Do you think I need the yaml allow_bypass_login: true - type: homeassistant

#

from the documents it says Assuming you have only the owner created though onboarding process, no other users ever created. The above example configuration will allow you directly access Home Assistant main page if you access from your internal network (192.168.0.0/24) or from localhost (127.0.0.1). If you get a login abort error, then you can change to use Home Assistant Authentication Provider to login, if you access your Home Assistant instance from outside network.
I have that new user WirelessTags.Belkin user made now, I use Nabu Casa to get in remotely.

#

I just want to say thank you again. Just so you know when I rebooted it came back in a safe mode. I commented out the auth_providers: rebooted and running normally again. thank you again now I know a little markdown mindblown I need to figure out why it booted into safemode. I will keep reading. I will let you know if I figure it out.