User login not working?
-
I'm a bit confused by what you are describing. If you restarted the whole PC and you still get the Login page for Mango then that tells me Mango is already running. Please confirm the login page is loading after you restart the PC and without running the ma-start.bat file. Or please explain this a bit better. It sounds like either Mango is not running and some other program is using the port Mango is configured for or Mango is already running and you need to recover your username or password.
-
So I restart my pc. I try to run ma-start.bat but it comes up with the error from above. (port in use) I go to our domain name provided through mangoautomation.net and it opens and auto fills in my user info. This doesn't work, just says login failed bad credentials.
All other passwords do not work either. I ran netstat to check ports and it says that port 8090 is not in use. I checked that the env.properties show to use port 8090. Where else can I look?Cheers,
R -
Do you get the login screen if you put in localhost:8090 or your local IP address:8090?
-
Hey Joel, Yes I get the Mango login screen when I go to localhost or IP plus :8090
-
Hi Rowen
- when you restart your PC, before you run ma-start.bat do you get a response from localhost:8090 on your browser?
- Are you running ma-start.bat as administrator?
-
Hi Craig, Yes when I restart my pc and go to localhost:8090, without running the ma-start.bat, I get the Mango login screen. Yes, I am running ma-start.bat as administrator.
-
Hi Rowen,
There's a lot going on here! I have sent you an email with the IP the DNS record is pointing to. It sounds like there's a few questions getting jumbled here.
- Is your PC the PC at that IP?
- Is that instance of Mango the cloud connect server?
- Is that the instance of Mango that a password change attempt was made on, or a client connected to it via cloud connect?
- Have you installed it as a service on this PC (it definitely sounds like you have, which is why it is running when you start the computer)?
Whatever the resolution to those questions, this thread has probably the simplest method given access to the computer running Mango to change the password: https://forum.infiniteautomation.com/topic/2926/forget-the-password-of-admin-how-to-get-it-back
-
Hi Phil, I went to that link to reset password. Not sure how to stop Mango. Joel installed the cloud connect for me. I found a "mango" in services on my pc and I stopped it. When I go to Mango to get into h2-web part I get the following
-
-
Navigate to localhost:8085 if your browser and you'll have the chance to login to the H2 web console, to change the password.
-
Hey Phil, Just a refuse to connect message?
-
I get a refuse to connect message
-
I enumerated questions for you that were to help me understand the situation better. They are relevant to why your would not be getting a connection at localhost and should be answered, preferably clearly and in the enumerated fashion.
You could also try the IP it shows in the console output. But, it sounds like multiple machines are getting confused to me.
-
Hi Phil,
- yes this is the pc at the IP address you saw
2.yes this is where the cloud connect server, I believe. I had Joel set it up.
3.yes the change to the password was for this instance on Mango - Joel set it up, but I see Mango as a service on this pc
- yes this is the pc at the IP address you saw
-
I get the same refused to connect messafe using the IP address
-
Did you close the console that was running the H2 web console batch file?
You say PC, do you mean Windows? You should be able to connect to your own machine regardless of firewalls. If you had set up your SMTP server, you could have tried using the password reset provided through Mango. On Windows both IPv4 and IPv6 address work with the H2 web console....
If you have a JSON backup in your Mango/backup you could throw away the existing data and database and reimport it into a fresh installation by moving the Mango/databases directory while Mango is not running.
If you have an SQL backup in your Mango/backup from before your changed the password you could move the databases directory while Mango is not running and then restore this backup into a fresh installation.