Hi @peopleinside The security teams show me logs from azure AD where we can see corrects logins so i try to find something about php version or something else but nothing seems to have change. I found a way to get more info about the error, passing params "-vvv" and "-env dev" to refesh_mailbox command. These are the results.
with -vvv param
$ ./refresh_mailbox_uvdesk.sh
1. Processing uvdesk mailbox configuration.
2. Opening imap stream...
13:56:14 WARNING [php] Warning: imap_open(): Couldn't open stream {outlook.office365.com:993/imap/ssl}INBOX
[
"exception" => ErrorException {
#message: "Warning: imap_open(): Couldn't open stream {outlook.office365.com:993/imap/ssl}INBOX"
#code: 0
#file: "./vendor/uvdesk/mailbox-component/Console/RefreshMailboxCommand.php"
#line: 88
#severity: E_WARNING
trace: {
./vendor/uvdesk/mailbox-component/Console/RefreshMailboxCommand.php:88 { …}
./vendor/uvdesk/mailbox-component/Console/RefreshMailboxCommand.php:82 { …}
./vendor/symfony/console/Command/Command.php:255 { …}
./vendor/symfony/console/Application.php:952 { …}
./vendor/symfony/framework-bundle/Console/Application.php:87 { …}
./vendor/symfony/console/Application.php:273 { …}
./vendor/symfony/framework-bundle/Console/Application.php:73 { …}
./vendor/symfony/console/Application.php:149 { …}
./bin/console:42 {
› $application = new Application($kernel);
› $application->run($input);
›
}
}
}
]
3. IMAP stream opened.
with -env dev param
$ ./refresh_mailbox_uvdesk.sh
1. Processing uvdesk mailbox configuration.
2. Opening imap stream...
In RefreshMailboxCommand.php line 88:
[ErrorException]
Warning: imap_open(): Couldn't open stream {outlook.office365.com:993/imap/ssl}INBOX
Exception trace:
at /var/www/uvdesk/helpdesk-project/vendor/uvdesk/mailbox-component/Console/RefreshMailboxCommand.php:88
Webkul\UVDesk\MailboxBundle\Console\RefreshMailboxCommand->refreshMailbox() at /var/www/uvdesk/helpdesk-project/vendor/uvdesk/mailbox-component/Console/RefreshMailboxCommand.php:82
Webkul\UVDesk\MailboxBundle\Console\RefreshMailboxCommand->execute() at /var/www/uvdesk/helpdesk-project/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /var/www/uvdesk/helpdesk-project/vendor/symfony/console/Application.php:952
Symfony\Component\Console\Application->doRunCommand() at /var/www/uvdesk/helpdesk-project/vendor/symfony/framework-bundle/Console/Application.php:87
Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand() at /var/www/uvdesk/helpdesk-project/vendor/symfony/console/Application.php:273
Symfony\Component\Console\Application->doRun() at /var/www/uvdesk/helpdesk-project/vendor/symfony/framework-bundle/Console/Application.php:73
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/www/uvdesk/helpdesk-project/vendor/symfony/console/Application.php:149
Symfony\Component\Console\Application->run() at /var/www/uvdesk/helpdesk-project/bin/console:42
uvdesk:refresh-mailbox [-t|--timestamp TIMESTAMP] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<emails>...]
PHP Fatal error: Uncaught ErrorException: Notice: Unknown: Retrying PLAIN authentication after AUTHENTICATE failed. (errflg=1) in Unknown:0
Stack trace:
#0 [internal function]: Symfony\Component\Debug\ErrorHandler->handleError()
#1 {main}
thrown in Unknown on line 0
maybe can help us this info.
Thanks again