Error message "Rejected session for user"

elbarto

Verified User
Joined
Oct 8, 2008
Messages
133
Hi guys,

I'm having this problem with one particular user. I can login to Directadmin with his user & passwrod with no problems, but when he tries from his PC (using different browsers) the login doesn't work. It just reloads the login form.

Checking Directadmin's error log (/var/log/directadmin/error.log) I see this:

Code:
2011:07:06-16:33:43: Rejected session for user my_username because IP (9.9.9.9) doesn't match session file (6.6.6.6)
2011:07:06-16:33:47: Rejected session for user my_username because IP (9.9.9.9) doesn't match session file (6.6.6.6)
2011:07:06-16:33:49: Rejected session for user my_username because IP (9.9.9.9) doesn't match session file (6.6.6.6)
2011:07:06-16:33:52: Rejected session for user my_username because IP (9.9.9.9) doesn't match session file (6.6.6.6)
2011:07:06-16:33:55: Rejected session for user my_username because IP (6.6.6.6) doesn't match session file (9.9.9.9)
2011:07:06-16:34:06: Rejected session for user my_username because IP (9.9.9.9) doesn't match session file (6.6.6.6)
2011:07:06-17:11:27: Rejected session for user my_username because IP (6.6.6.6) doesn't match session file (9.9.9.9)

Where "my_username" is the name of my client's username, "6.6.6.6" is my client's IP address and "9.9.9.9" is another IP address that I don't know.

What does this error mean?
 
It seems DirectAdmin keeps IP addresses of the login sessions, and that your customer tries to login with a different IP address then he logged in with. I could think of a cause; when the customer has multiple IP addresses, e.g. with dual wan.

Just my two cents.
 
Arieh, thanks for your input. I checked with my client, but no, he doesn't have a dual wan in his network.

Any other ideas guys? Does anyone know what is this error?
 
The error is as Arieh already posted. His suggestion it might be a dual WAN (two connections to the Internet) is only one possibility.

Another is that your user is going through a proxy, perhaps not even realizing it. This could be happening, for example, with a 4G connection or other wireless connection.

We've told you why it's happening; we certainly can't double-check your user's connection for him, and you really can't either.

And it's unlikely it's a DirectAdmin issue, as it isn't widely reported.

Jeff
 
Jeff, thanks for your help.
I kept talking to my client, explaining myself better, and it turns out he does have a dual WAN network, so that must be the problem.

Thank you both for your assistance and sorry for bothering.
 
Back
Top