[horde] IMP is marked as authenticated, but no credentials can be found in the session.

Lang, Ralf ralf.lang at gmail.com
Fri Dec 15 11:23:32 UTC 2023


Hello,


can you please provide your session handler details from the config?


Am 14/12/2023 um 00:53 schrieb Nils:
> Hi,
>
> after upgrading to Ubuntu 22.04 I can't use IMP anymore. It says the 
> User name at server.tld is not authorized for Mail. When I switch to 
> mail, it asks for credentials again and after authenticating ist says 
> "IMP is marked as authenticated, but no credentials can be found in 
> the session."
>
> Apache/2.4.58 (Ubuntu)
> dovecot 2.3.16 (7e2e900c1a)
> php7.4
>
> horde is installed via PEAR and was just upgraded (another server with 
> old installation method vie apt has the same problem).
>
>
> No problems showing in horde self test
>
> Mail Server Support Test
> Attempting to login to the server: SUCCESS
>
>
>
> Those are the details of the error:
>
> A fatal error has occurred
> IMP is marked as authenticated, but no credentials can be found in the 
> session.
> in /home/mail/pear/share/pear/Horde/Registry.php:1679
>
>  1. Horde_Registry::appInit() /home/mail/httpdocs/site/imp/index.php:19
>  2. Horde_Registry->pushApp() 
> /home/mail/pear/share/pear/Horde/Registry.php:298
>  3. Horde_Registry->_pushAppError() 
> /home/mail/pear/share/pear/Horde/Registry.php:1622
>  4. Horde_Registry::appInit() /home/mail/httpdocs/site/imp/index.php:19
>  5. Horde_Registry->pushApp() 
> /home/mail/pear/share/pear/Horde/Registry.php:298
>  6. Horde_Registry->callAppMethod() 
> /home/mail/pear/share/pear/Horde/Registry.php:1617
>  7. Horde_Registry_Application->authenticated() 
> /home/mail/pear/share/pear/Horde/Registry.php:1197
>  8. IMP_Application->_authenticated() 
> /home/mail/pear/share/pear/Horde/Registry/Application.php:108
>  9. IMP_Auth::authenticateCallback() 
> /home/mail/httpdocs/site/imp/lib/Application.php:134
> 10. IMP_Auth::_log() /home/mail/httpdocs/site/imp/lib/Auth.php:252
> 11. IMP_Imap->__call() /home/mail/httpdocs/site/imp/lib/Auth.php:141
>
> Details
> The full error message is logged in Horde's log file, and is shown 
> below only to administrators. Non-administrative users will not see 
> error details.
>
> Horde_Exception_PushApp Object
> (
>     [application] => imp
>     [details] =>
>     [logged] => 1
>     [_logLevel:protected] => 0
>     [message:protected] => IMP is marked as authenticated, but no 
> credentials can be found in the session.
>     [string:Exception:private] =>
>     [code:protected] => 5
>     [file:protected] => /home/mail/pear/share/pear/Horde/Registry.php
>     [line:protected] => 1679
>     [trace:Exception:private] => Array
>         (
>             [0] => Array
>                 (
>                     [file] => 
> /home/mail/pear/share/pear/Horde/Registry.php
>                     [line] => 1622
>                     [function] => _pushAppError
>                     [class] => Horde_Registry
>                     [type] => ->
>                 )
>
>             [1] => Array
>                 (
>                     [file] => 
> /home/mail/pear/share/pear/Horde/Registry.php
>                     [line] => 298
>                     [function] => pushApp
>                     [class] => Horde_Registry
>                     [type] => ->
>                 )
>
>             [2] => Array
>                 (
>                     [file] => /home/mail/httpdocs/site/imp/index.php
>                     [line] => 19
>                     [function] => appInit
>                     [class] => Horde_Registry
>                     [type] => ::
>                 )
>
>         )
>
>     [previous:Exception:private] => 
> Horde_Exception_AuthenticationFailure Object
>         (
>             [application] =>
>             [code:protected] => 6
>             [details] =>
>             [logged] => 1
>             [_logLevel:protected] => 0
>             [message:protected] => IMP is marked as authenticated, but 
> no credentials can be found in the session.
>             [string:Exception:private] =>
>             [file:protected] => /home/mail/httpdocs/site/imp/lib/Imap.php
>             [line:protected] => 628
>             [trace:Exception:private] => Array
>                 (
>                     [0] => Array
>                         (
>                             [file] => 
> /home/mail/httpdocs/site/imp/lib/Auth.php
>                             [line] => 141
>                             [function] => __call
>                             [class] => IMP_Imap
>                             [type] => ->
>                         )
>
>                     [1] => Array
>                         (
>                             [file] => 
> /home/mail/httpdocs/site/imp/lib/Auth.php
>                             [line] => 252
>                             [function] => _log
>                             [class] => IMP_Auth
>                             [type] => ::
>                         )
>
>                     [2] => Array
>                         (
>                             [file] => 
> /home/mail/httpdocs/site/imp/lib/Application.php
>                             [line] => 134
>                             [function] => authenticateCallback
>                             [class] => IMP_Auth
>                             [type] => ::
>                         )
>
>                     [3] => Array
>                         (
>                             [file] => 
> /home/mail/pear/share/pear/Horde/Registry/Application.php
>                             [line] => 108
>                             [function] => _authenticated
>                             [class] => IMP_Application
>                             [type] => ->
>                         )
>
>                     [4] => Array
>                         (
>                             [file] => 
> /home/mail/pear/share/pear/Horde/Registry.php
>                             [line] => 1197
>                             [function] => authenticated
>                             [class] => Horde_Registry_Application
>                             [type] => ->
>                         )
>
>                     [5] => Array
>                         (
>                             [file] => 
> /home/mail/pear/share/pear/Horde/Registry.php
>                             [line] => 1617
>                             [function] => callAppMethod
>                             [class] => Horde_Registry
>                             [type] => ->
>                         )
>
>                     [6] => Array
>                         (
>                             [file] => 
> /home/mail/pear/share/pear/Horde/Registry.php
>                             [line] => 298
>                             [function] => pushApp
>                             [class] => Horde_Registry
>                             [type] => ->
>                         )
>
>                     [7] => Array
>                         (
>                             [file] => 
> /home/mail/httpdocs/site/imp/index.php
>                             [line] => 19
>                             [function] => appInit
>                             [class] => Horde_Registry
>                             [type] => ::
>                         )
>
>                 )
>
>             [previous:Exception:private] =>
>         )
>
> )
>
> Kind regards,
> Nils


More information about the horde mailing list