You are not logged in.
Hello,
I updated from version 10.0.0 to 10.0.3 and after this update the collector stopped working for no reason and gave me the following problem:
glpiphplog.CRITICAL: *** Uncaught Exception Laminas\Mail\Protocol\Exception\RuntimeException: cannot read - connection closed? in /var/www/html/glpi/vendor/laminas/laminas-mail/src/Protocol/Imap.php at line 110
Backtrace :
.../laminas/laminas-mail/src/Protocol/Imap.php:125 Laminas\Mail\Protocol\Imap->nextLine()
...r/laminas/laminas-mail/src/Protocol/Imap.php:87 Laminas\Mail\Protocol\Imap->assumedNextLine()
...r/laminas/laminas-mail/src/Storage/Imap.php:223 Laminas\Mail\Protocol\Imap->connect()
src/Toolbox.php:2155 Laminas\Mail\Storage\Imap->__construct()
src/MailCollector.php:1375 Toolbox::getMailServerStorageInstance()
src/MailCollector.php:698 MailCollector->connect()
src/MailCollector.php:1852 MailCollector->collect()
src/CronTask.php:1018 MailCollector::cronMailgate()
Content of the file /var/www/html/glpi/.../Protocol/Imap.php :
106 protected function nextLine()
107 {
108 $line = fgets($this->socket);
109 if ($line === false) {
110 throw new Exception\RuntimeException('cannot read - connection closed?');
111 }
112
113 return $line;
Collector Parameter:
Server: outlook.office365.com
Connection option: IMAP / SSL / TLS
Port: 993
Identifier and password of the mailbox on which to retrieve the emails.
I tried many things to solve the problem but I can't find it.
Thank you in advance for your help.
Offline
Hi,
I'm in GLPI 9.4.2's version and i can't connect anymore from any Outlook account since thursday or friday
Last edited by cedric.faivre (2022-10-31 13:16:09)
GLPI version 10.0.6 hébergé sur OVH
FusionInventory 10.0.3+1.0 KO
Plugin OAUTH /Office365 : collecteur OK - authentification KO
Offline
Azure banned basic authentification this year. The work around is to re enable it temporarily. It will be ban forever in december 2022.
See here how : h t t p s : / / techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-deprecation-in-exchange-online-september/ba-p/3609437
Offline
Azure banned basic authentification this year. The work around is to re enable it temporarily. It will be ban forever in december 2022.
See here how : h t t p s : / / techcommunity.microsoft.com/t5/exchange-team-blog/basic-authentication-deprecation-in-exchange-online-september/ba-p/3609437
Thank you, i'm reading the post to find a solution
GLPI version 10.0.6 hébergé sur OVH
FusionInventory 10.0.3+1.0 KO
Plugin OAUTH /Office365 : collecteur OK - authentification KO
Offline