[horde] strange forced logout

l.kiraly at madalbal.hu l.kiraly at madalbal.hu
Fri Jul 12 10:34:10 UTC 2013


Sometimes I got message about changed IP but not in every chase.

Most of the time, horde just dropped me to the login page.

Anyway I don't understand, what ip is changed?
I only worked in horde, I didn't switched machine or network.

Can you please clarify this for me?


Idézet (Jan Schneider <jan at horde.org>):

> Zitat von l.kiraly at madalbal.hu:
>
>> Hi Jan,
>>
>> Yes, I tried with php session handler and with "Filesystem storage" too.
>>
>> I use horde through https squid proxy connection.
>> I checked out the $conf[auth][checkip] and  
>> $conf[auth][checkbrowser] settings and it seems as if the problem  
>> has disappeared.
>>
>> I guess it was the checkip option, but I didn't see any message  
>> about bad ip addresses in the debug log.
>
> I'm not sure you would see it in the logs, but I definitely get a  
> logout message about a changed IP if this is what happens.
>
>> Best regards, László Király
>>
>> Idézet (Jan Schneider <jan at horde.org>):
>>
>>> Zitat von Király László <l.kiraly at madalbal.hu>:
>>>
>>>> Does anyone have any idea why it's happening?
>>>> How can I debug this?
>>>>
>>>> In my experience it occurs on greater load.
>>>>
>>>> At least, I'm sure $registry->getAuth() returns null in  
>>>> login.php, as you can see in the log message.
>>>>
>>>>
>>>>
>>>> regards, László Király
>>>>
>>>> Idézet (l.kiraly at madalbal.hu):
>>>>
>>>>> I found the problem,
>>>>>
>>>>> The user logged out from horde automatically. Somehow horde  
>>>>> forgets the user name.
>>>>>
>>>>>
>>>>> Jul 10 16:09:06 shanti HORDE: [horde] User  [127.0.0.1] logged  
>>>>> out of Horde [pid 23045 on line 118 of  
>>>>> "/usr/local/src/horde/horde/login.php"]
>>>>> Jul 10 16:09:06 shanti HORDE: [horde] Session data destroyed (id  
>>>>> = 5ij4h0j35tv6le2bn4ibptvuo3) [pid 23045]
>>>>> Jul 10 16:09:06 shanti HORDE: [horde] Error retrieving session  
>>>>> data (id = 5ij4h0j35tv6le2bn4ibptvuo3) [pid 23045]
>>>>> Jul 10 16:09:06 shanti HORDE: [horde] Your session has expired.  
>>>>> Please login again. [pid 23045 on line 27 of  
>>>>> "/usr/local/src/horde/framework/Core/lib/
>>>>> Horde/Core/Notification/Handler/Decorator/Hordelog.php"]
>>>>>
>>>>>
>>>>> Idézet (Király László <l.kiraly at madalbal.hu>):
>>>>>
>>>>>> Ok,
>>>>>>
>>>>>> There is a log snippet according to pu3ukq5qg7cvsdnfe3o0nfp7o0  
>>>>>> session id:
>>>>>>
>>>>>> Jul 10 14:15:58 shanti HORDE: [horde] Wrote session data (id =  
>>>>>> pu3ukq5qg7cvsdnfe3o0nfp7o0) [pid 17523]
>>>>>> Jul 10 14:16:02 shanti HORDE: Read session data (id =  
>>>>>> pu3ukq5qg7cvsdnfe3o0nfp7o0) [pid 16181]
>>>>>> Jul 10 14:16:02 shanti HORDE: Session data destroyed (id =  
>>>>>> pu3ukq5qg7cvsdnfe3o0nfp7o0) [pid 16181]
>>>>>> Jul 10 14:20:54 shanti HORDE: Error retrieving session data (id  
>>>>>> = pu3ukq5qg7cvsdnfe3o0nfp7o0) [pid 18498]
>>>>>> Jul 10 14:20:54 shanti HORDE: Session data destroyed (id =  
>>>>>> pu3ukq5qg7cvsdnfe3o0nfp7o0) [pid 18498]
>>>>>> Jul 10 14:21:02 shanti HORDE: Error retrieving session data (id  
>>>>>> = pu3ukq5qg7cvsdnfe3o0nfp7o0) [pid 15573]
>>>>>> Jul 10 14:21:03 shanti HORDE: Session data destroyed (id =  
>>>>>> pu3ukq5qg7cvsdnfe3o0nfp7o0) [pid 15573]
>>>>>> Jul 10 14:25:54 shanti HORDE: Error retrieving session data (id  
>>>>>> = pu3ukq5qg7cvsdnfe3o0nfp7o0) [pid 16181]
>>>>>> Jul 10 14:25:54 shanti HORDE: Session data destroyed (id =  
>>>>>> pu3ukq5qg7cvsdnfe3o0nfp7o0) [pid 16181]
>>>>>>
>>>>>>
>>>>>> After destroying this session why tried horde to read the  
>>>>>> destroyed session?
>>>>>> At all why destroys the session? This user doesn't logged out.
>>>>>>
>>>>>>
>>>>>> regards, László Király
>>>>>>
>>>>>>
>>>>>> Idézet (l.kiraly at madalbal.hu):
>>>>>>
>>>>>>> I changed now the horde session handler to:
>>>>>>>
>>>>>>> $conf['sessionhandler']['params']['path'] = '/var/cache/sessions/';
>>>>>>> $conf['sessionhandler']['type'] = 'File';
>>>>>>>
>>>>>>> And the problem persists.
>>>>>>> In the first row, seems like horde cannot retrieve the session data.
>>>>>>> I don't know why?
>>>>>>> In this way, it's only horde that manage the sessions?
>>>>>>>
>>>>>>> I forgot to mention, horde is from the fresh git master repo.
>>>>>>> horde: 5.1.2-git
>>>>>>> php: 5.4.4-14+deb7u2
>>>>>>> apache: 2.2.22-12
>>>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Üdvözlettel: Király László
>>>>> Madal Bal Kft (http://www.madalbal.hu)
>>>>>
>>>>> -- 
>>>>> Horde mailing list
>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>>
>>> Does it happen too if you use the PHP builtin session handler?
>>> -- 
>>> Jan Schneider
>>> The Horde Project
>>> http://www.horde.org/
>>>
>>> -- 
>>> Horde mailing list
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>>
>> -- 
>> Üdvözlettel: Király László
>> Madal Bal Kft (http://www.madalbal.hu)
>
>
> -- 
> Jan Schneider
> The Horde Project
> http://www.horde.org/
>
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org


-- 
Üdvözlettel: Király László
Madal Bal Kft (http://www.madalbal.hu)



More information about the horde mailing list