You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-10-27 12:18:37

GabCreat
Member
Registered: 2022-10-26
Posts: 7

[10.0.3] Error with the collector following the update

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

#2 2022-10-31 13:15:37

cedric.faivre
Member
From: Strasbourg
Registered: 2016-02-03
Posts: 75

Re: [10.0.3] Error with the collector following the update

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

#3 2022-11-01 21:07:27

Simonadm
Member
Registered: 2022-10-26
Posts: 3

Re: [10.0.3] Error with the collector following the update

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

#4 2022-11-02 09:36:49

cedric.faivre
Member
From: Strasbourg
Registered: 2016-02-03
Posts: 75

Re: [10.0.3] Error with the collector following the update

Simonadm wrote:

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

Board footer

Powered by FluxBB