Login Problems - Invalid Credentials(When it's NOT)

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
RentProperty
Posts: 345
Joined: Mon Nov 12, 2012 9:08 pm
Location: South Africa

Login Problems - Invalid Credentials(When it's NOT)

Post by RentProperty »

Hi Guys, I'm experiencing a VERY VERY frustrating problem with my Login.

Recently, for no reason at all my AwareIM Started giving me 'Access Denied Invalid Credentials' when I put in Test mode and try to log in locally. So I edit my code, put in test mode and then I Cannot log in unless I Restart the whole AwareIM Server.
Every Time after restarting I Have 1 login (Any Access Level). Then I lock for editing and, when I'm want to test again... Same thing. Won't let me log in unless I restart the AwareIM Server.

It's Killing me!!! Has anyone else ever had this? Any advise will be appreciated.

I've already tried the following:
* Cleaned Browser Cache.
* Tried Different Browser.
* Tried Published version (Same issue as when testing)

Hope someone can put me out of my misery! :-) Thanks so much in advance!
Hein Hanekom & Werner Hanekom
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
customaware
Posts: 2413
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Login Problems - Invalid Credentials(When it's NOT)

Post by customaware »

Never seen that before Hein especially a case where you can log in only once.

If you could not log in at all it would indicate to me a problem with you connection to the DB.

I assume you are running this on an EC2 instance? Is the DB on the EC2 or in RDS?

Once you get Invalid Credentials.... can you still log into MySQL via workbench or any other method which might be a way to test in the connection to the DB
is still working.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
RentProperty
Posts: 345
Joined: Mon Nov 12, 2012 9:08 pm
Location: South Africa

Re: Login Problems - Invalid Credentials(When it's NOT)

Post by RentProperty »

Hi Mark, thanks for the quick reply.

No this is not even on EC2... This is on my Local Development Laptop :shock:

I've Checked now again...
* Restart... Log into test with admin / password.
* Log out.
* Try to log in again with admin/password. --> Invalid credentials.

After getting this i can still connect via workbench to mySQL no problem there. I'm running AwareIM V6 Build 4045, on Windows 10 With MySQL 5.6.
Hein Hanekom & Werner Hanekom
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Re: Login Problems - Invalid Credentials(When it's NOT)

Post by tford »

If you are running multiple BSVs, sometimes logout does not remember where it was. I can't remember the exact scenario, but I've seen it before. Have you refreshed the browser? Are you using the test login screen that allows for input of BSV name? In the scenario I am talking about, you would not have to re-edit any code, etc.
Tom - V8.8 build 3137 - MySql / PostGres
RentProperty
Posts: 345
Joined: Mon Nov 12, 2012 9:08 pm
Location: South Africa

Re: Login Problems - Invalid Credentials(When it's NOT)

Post by RentProperty »

Hi Tom,

Yes, I don't have to Re-Edit (So Think we're talking about the same issue). Even if I Just Log out and Try to Log in again it doesn't want to let me in. I'f just dropped all my BSV's now, so will re-import and recreate my Data and see if that makes any difference. Will let you know.

Thnx
Hein Hanekom & Werner Hanekom
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Re: Login Problems - Invalid Credentials(When it's NOT)

Post by tford »

Have you simply refreshed your browser?

Are you using the test login screen that allows for input of BSV name?
Tom - V8.8 build 3137 - MySql / PostGres
RentProperty
Posts: 345
Joined: Mon Nov 12, 2012 9:08 pm
Location: South Africa

Re: Login Problems - Invalid Credentials(When it's NOT)

Post by RentProperty »

Hi Tom,

Yes, I was Using the one That Allows you to Specify the BSV, and refreshing the browser did not work.

However after dropping all my BSV's and starting from scratch with 1 BSV...It seems the problem is gone (For now). So it's definitely an issue that arises with multiple BSV's as you suggested.

Kind Regards

Hein
Hein Hanekom & Werner Hanekom
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
ACDC
Posts: 1146
Joined: Sat Jun 30, 2007 5:03 pm
Location: California, USA

Re: Login Problems - Invalid Credentials(When it's NOT)

Post by ACDC »

I was going to say try login with a different browser, I have had a similar problem and it was the browser
RentProperty
Posts: 345
Joined: Mon Nov 12, 2012 9:08 pm
Location: South Africa

Re: Login Problems - Invalid Credentials(When it's NOT)

Post by RentProperty »

I am trying on ALL different browsers now. Still Same problem. :-( @support... Your input would be appreciated. any ideas?
Hein Hanekom & Werner Hanekom
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
ACDC
Posts: 1146
Joined: Sat Jun 30, 2007 5:03 pm
Location: California, USA

Re: Login Problems - Invalid Credentials(When it's NOT)

Post by ACDC »

Have you changed the password recently, or maybe restored from a backup - Has the password got odd characters in - like a "space"
ACDC
Posts: 1146
Joined: Sat Jun 30, 2007 5:03 pm
Location: California, USA

Re: Login Problems - Invalid Credentials(When it's NOT)

Post by ACDC »

I mean a "space" before or after the password
RentProperty
Posts: 345
Joined: Mon Nov 12, 2012 9:08 pm
Location: South Africa

Re: Login Problems - Invalid Credentials(When it's NOT)

Post by RentProperty »

Nope. For testing locally I always use a very simple password like 1234
:(
Hein Hanekom & Werner Hanekom
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
BenHayat
Posts: 2749
Joined: Thu Dec 23, 2010 5:48 am
Location: Fla, USA
Contact:

Re: Login Problems - Invalid Credentials(When it's NOT)

Post by BenHayat »

Hein, I thought you said, once you got to 1 BSV the problem was gone. Is it gone?
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Re: Login Problems - Invalid Credentials(When it's NOT)

Post by tford »

What happens when you:

1) go into test mode.
2) go to http://localhost:8080/AwareIM/logonAdmin.html then click logout
3) close the browser
4) to again to http://localhost:8080/AwareIM/logonAdmin.html and try to log in
Tom - V8.8 build 3137 - MySql / PostGres
RentProperty
Posts: 345
Joined: Mon Nov 12, 2012 9:08 pm
Location: South Africa

Re: Login Problems - Invalid Credentials(When it's NOT)

Post by RentProperty »

Hi Ben... It did, but then I imported one of the other bsv's I'm working on again and bit later it started doing it again. So Then I dropped everything again and now it seems to be working again...

Bit difficult to Pin Point Exactly under what circumstances it is happening. Will monitor and when I get it again will maybe post a screenscast to demonstrate.

Tom... With regards to your question... While this issue is present, I've tried that but does not seem to make any difference. The only way I found to log in again is to shut down awareIM and restart it again. Even clearing browser history and trying 4 different browsers did not make a difference. Will demonstrate when I get the issue again...
The only other variable in this loop that might differ from other users is that I'm running on a 1 User Licence? However I don't really see how that can cause a problem like this.

For the moment (After dropping my data AGAIN) it is now working. Let's hope it stays that way.

Hope you all have a great day and thanks so much for your input thus far!
Hein Hanekom & Werner Hanekom
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
Post Reply