[horde] Horde_Imap_Client_Exception after update

Anthony Messina amessina at messinet.com
Wed Feb 12 13:42:00 UTC 2014


On Wednesday, February 12, 2014 11:04:02 AM lst_hoe02 at kwsoft.de wrote:
> Hello,
> 
> after the latest (pear) updates we got the errors listed below in the  
> logfile. It looks like horde-alarms has some problem to connect?
> 
> Feb 12 05:15:16 h2338808 HORDE: [imp] exception  
> 'Horde_Imap_Client_Exception' with message 'Authentication failed.' in  
> /usr/share/php/Horde/Imap/Client/Socket.php:4618
> Stack trace:
> #0 /usr/share/php/Horde/Imap/Client/Socket.php(4161):  
> Horde_Imap_Client_Socket->_responseCode(Object(Horde_Imap_Client_Interaction
> _Pipeline),   Object(Horde_Imap_Client_Interaction_Server_Tagged))
> #1 /usr/share/php/Horde/Imap/Client/Socket.php(3942):  
> Horde_Imap_Client_Socket->_getLine(Object(Horde_Imap_Client_Interaction_Pipe
> line)) #2 /usr/share/php/Horde/Imap/Client/Socket.php(3870):
> Horde_Imap_Client_Socket->_sendCmdChunk(Object(Horde_Imap_Client_Interaction
> _Pipeline),   Array)
> #3 /usr/share/php/Horde/Imap/Client/Socket.php(757):  
> Horde_Imap_Client_Socket->_sendCmd(Object(Horde_Imap_Client_Interaction_Pipe
> line)) #4 /usr/share/php/Horde/Imap/Client/Socket.php(481):
> Horde_Imap_Client_Socket->_tryLogin('LOGIN')
> #5 /usr/share/php/Horde/Imap/Client/Base.php(794):  
> Horde_Imap_Client_Socket->_login()
> #6 [internal function]: Horde_Imap_Client_Base->login()
> #7 /var/www/horde/imp/lib/Imap.php(568): call_user_func_array(Array, Array)
> #8 /var/www/horde/imp/lib/Auth.php(87): IMP_Imap->__call('login', Array)
> #9 /var/www/horde/imp/lib/Auth.php(87): IMP_Imap->login()
> #10 /var/www/horde/imp/lib/Auth.php(118): IMP_Auth::authenticate(Array)
> #11 /var/www/horde/imp/lib/Application.php(371):  
> IMP_Auth::transparent(Object(Horde_Core_Auth_Application))
> #12 [internal function]:  
> IMP_Application->authTransparent(Object(Horde_Core_Auth_Application))
> #13 /usr/share/php/Horde/Registry.php(1213):  
> call_user_func_array(Array, Array)
> #14 /usr/share/php/Horde/Core/Auth/Application.php(366):  
> Horde_Registry->callAppMethod('imp', 'authTransparent', Array)
> #15 /usr/share/php/Horde/Registry.php(2203):  
> Horde_Core_Auth_Application->transparent()
> #16 /usr/share/php/Horde/Registry.php(1704):  
> Horde_Registry->isAuthenticated(Array)
> #17 /usr/share/php/Horde/Registry.php(936):  
> Horde_Registry->hasPermission('imp', 4)
> #18 /usr/share/php/Horde/Core/Factory/Alarm.php(130):  
> Horde_Registry->listApps(NULL, false, 4)
> #19 [internal function]: Horde_Core_Factory_Alarm->load(NULL, false)
> #20 /usr/share/php/Horde/Alarm.php(100): call_user_func(Array, NULL, false)
> #21 /usr/share/php/Horde/Alarm.php(404): Horde_Alarm->listAlarms(NULL,  
> NULL, true, false)
> #22 /usr/bin/horde-alarms(25): Horde_Alarm->notify(NULL, true, false, Array)
> #23 {main} [pid 8754 on line 570 of "/var/www/horde/imp/lib/Imap.php"]
> 
> Any idea how to fix this?
> 
> Regards
> 
> Andreas

I see the same issue.  It looks like additional logging was enabled in
https://github.com/horde/horde/commit/f9356c42fcf8c29d8882a3c3a107bd5844c46746

But I think the basic issue might be horde-alarms logging in as the first 
administrative user.  I my case, the user is 'Administrator' and doesn't 
actually exist (and certainly doesn't have an IMAP account or password).  
http://bugs.horde.org/ticket/11387

I haven't found a way to have Horde skip logging in to IMP when using horde-
alarms, however, the alarms are created and emailed to the proper user.

Please correct me if I'm wrong on this.

-A

-- 
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.horde.org/archives/horde/attachments/20140212/bf32151f/attachment.bin>


More information about the horde mailing list