Adding new domoticz user - can't login remotely, only local Topic is solved

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
MartinAndersson
Posts: 4
Joined: Tuesday 31 December 2024 12:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Adding new domoticz user - can't login remotely, only local

Post by MartinAndersson »

Hello,

Domoticz Version: 2024.4, running on raspberry pi.

I made a new user in domoticz, that I want to use in my mobile app.
When I try to login using the (android) app, it fails.
It is the same if I try to access it through my browser, connecting to my external IP.

domoticz log shows Error: Failed login attempt from "routerIP" for user 'xxxxx' !

Using my old user, I am always able to login.
User avatar
waltervl
Posts: 5373
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Adding new domoticz user - can't login remotely, only local

Post by waltervl »

Perhaps try with a simplified password. It could be some special characters are not supported...
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
MartinAndersson
Posts: 4
Joined: Tuesday 31 December 2024 12:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Adding new domoticz user - can't login remotely, only local

Post by MartinAndersson »

I'm using the same password for both users, and same result when it is limited to letters and numbers.
User avatar
waltervl
Posts: 5373
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Adding new domoticz user - can't login remotely, only local

Post by waltervl »

Is the old user an admin or also a restricted user?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
MartinAndersson
Posts: 4
Joined: Tuesday 31 December 2024 12:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Adding new domoticz user - can't login remotely, only local

Post by MartinAndersson »

waltervl wrote: Wednesday 01 January 2025 21:32 Is the old user an admin or also a restricted user?
It is admin.
So, I made the new user into an admin aswell, and rebooted the system.
Now I'm able to login remotely.

But part of the reason why I made the new user was so that it wouldn't have to be admin.
User avatar
waltervl
Posts: 5373
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Adding new domoticz user - can't login remotely, only local

Post by waltervl »

I remember there is some bug that after a new user creation you need to restart Domoticz to get it working with authorisation. Solved in latest beta (or discussed there).

So perhaps try again with a normal user after a reboot.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
MartinAndersson
Posts: 4
Joined: Tuesday 31 December 2024 12:39
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Adding new domoticz user - can't login remotely, only local

Post by MartinAndersson »

I could've swore I tried that already, but rebooting the system worked.
Apparantly also need to reboot after changing a password.

Thanks for the help.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests