Jump to content

UDM lost local username and password


Go to solution Solved by Javi,

Recommended Posts

Posted

Have been away from my Local set up of a few months. Returned last night and immediately, UDM stopped working. No connection available was the error.

Found that in the Local settings, my username and password had been reset to admin and an unknown password. Strange. 

Remote settings would not connect either, until I fixed this unknown change in the settings. 

But when tried to change the setting to "automatically detect local connection" I get the following error. 

image.thumb.jpeg.14a5a96d80438ed6077f967dea590b93.jpeg

Also in this process I found that under Settings on my iPhone, access to "Local Networks" under the UDM app was turned off. 

image.thumb.jpeg.4eb3a43e4e8d9a680c3ca86f69503db5.jpeg

@Javi any idea what that error is and how to correct it so that I can have it chose local setting when available? 

Thanks.

Posted

@dbwarner5,

Based on the screenshot it does not appear the app lost local connection settings.  There was a new setting (switch) added which produces that error message.   If you try to enable automatic detection but have already defined a WiFi network then the app will show an error saying you need to remove defined networks for Automatic Detection.   

Note that it will always be more accurate and faster if you have a reserved ip and a defined WiFi network in UDM. If no wifi network is defined the app may still use the remote connection when Automatic Detection is enabled.

The likely cause for connection error is the app cannot connect to the eisy.local address.  My suggestion is to add the numerical IP address in the app with an IP reservation in your router.

If permissions were changed, it was the user or iOS which changed the setting, the app cannot change iOS permissions.

  • Like 1
Posted

Thanks @Javi

A few clarifications from your post above

  • "Based on the screenshot it does not appear the app lost local connection settings".

YES it did. The screenshot was AFTER I had re-entered the correct username and Password and the connection resumed.

  • " If you try to enable automatic detection but have already defined a WiFi network then the app will show an error saying you need to remove defined networks for Automatic Detection. "  

Yes I have my local network defined under System Network Relations. See screen shot below. 

  • "Note that it will always be more accurate and faster if you have a reserved ip and a defined WiFi network in UDM." 

 I am not sure if I understand this. My Eisy does have a reserved IP address. Are you suggesting to replace the Local Ip Address with the reserved IP address vs http://eisy.local for better performance locally? See same screen shot below. 

  • "The likely cause for connection error is the app cannot connect to the eisy.local address.  My suggestion is to add the numerical IP address in the app with an IP reservation in your router.

    If permissions were changed, it was the user or iOS which changed the setting, the app cannot change iOS permissions."  

Going back to the original post: I have been away from my local location for 2 months. Upon return, UDM immediately stopped working. I found the cause to be that the Username and Password in UDM had reset to Admin, Admin. Once I fixed that, I have had no problems, but then tried to enable the new switch which has led to the other questions. As you know, I am an experienced user. I DID NOT CHANGE the username / password, but it was reset. This is FYI only as I have everything working and based on your answer to the above will change the local address to the reserved IP. 

 

THANKS! 

 

 

image.thumb.jpeg.db39a353e423aaf24c8976f8c3b5f63c.jpeg

  • Solution
Posted

Understood, and yes the numerical IP is more reliable than eisy.local.  We have encountered home networks which stop routing to dot local and Mobile devices which stop routing to dot local.  Usually corrected by restarting the Router or the Mobile device. 

With regards to reset local credentials: They are managed by iOS keystore so loss of local creds should correlate to lost remote creds.  The app will use "admin" for local username or password if it cannot obtain a stored value from iOS keystore.  

iOS Keystore may (but not always) loose values or the app may lose the key if the app is uninstalled,  backup is imported (if the controller ID is not the same), or the controller is recreated (deleted then added) in UD Mobile.  Being as keystore is managed by iOS there are a few reasons (such as corruption or security related change on the device) that keystore may fail to return a value, but I think this a low probability.

So there are a few ways keys or values may be lost. My guess is one of these things happen and the app prompted to re-enter remote credentials (i.e. login) at some point in the last 2 months.  This is the only report I have for this issue without the user changing something, so I'll keep an eye out. Let me know if it happens again without an import or reinstall.

  • Like 1
Posted
20 hours ago, Javi said:

 

iOS Keystore may (but not always) loose values or the app may lose the key if the app is uninstalled,  backup is imported (if the controller ID is not the same), or the controller is recreated (deleted then added) in UD Mobile.  Being as keystore is managed by iOS there are a few reasons (such as corruption or security related change on the device) that keystore may fail to return a value, but I think this a low probability.

 

@Javi  this makes sense now.. I replaced my phone shortly after leaving my local residence. So when the app was reloaded on the new phone, it did not save the User info.... All worked fine until I returned home and it saw the Dedicated home Network and then tried to use the admin admin.. All set..  Glad we figure it out!!

I have also replaced local with eisy ip and all is working as expected. Thanks!

cheers!

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...