Project

General

Profile

Actions

Anomalie #1438

closed

newsletter is not sent .... because of Swift Error - v2.5

Added by Simon over 1 year ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
11/09/2022
Due date:
% Done:

100%

Estimated time:
2.00 h
Resolution:

Description

When sending newsletter, getting following logs. Newsletter is sent to few emails only :

[17-Oct-2022 11:30:06 Europe/Madrid] PHP Notice:  unserialize(): Error at offset 97 of 125 bytes in /homepages/1/d148916023/htdocs/linea21-pcpf/class/class.plugin.php on line 199
[17-Oct-2022 11:30:20 Europe/Madrid] PHP Notice:  unserialize(): Error at offset 97 of 125 bytes in /homepages/1/d148916023/htdocs/linea21-pcpf/class/class.plugin.php on line 199
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice:  fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice:  fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice:  fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice:  fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice:  fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice:  fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice:  fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236
[17-Oct-2022 11:30:25 Europe/Madrid] PHP Notice:  fwrite(): write of 2390 bytes failed with errno=32 Broken pipe in /homepages/1/d148916023/htdocs/linea21-pcpf/lib/vendor/swift/lib/classes/Swift/Transport/StreamBuffer.php on line 236

Related issues 1 (0 open1 closed)

Related to Evolution #1465: Swift exception errorFerméSimon01/10/2023

Actions
Actions #3

Updated by Simon over 1 year ago

Bug probably due to mail setting. Adding instruction to try to prevent the issue anyway :

// hope it fixes bug https://dev.linea21.com/issues/1438 - see https://stackoverflow.com/questions/43871739/swiftmailer-broken-pipe-error
        $mailer->getTransport()->stop(); // < this line closes socket and at next iteration its reopened

Actions #4

Updated by Simon over 1 year ago

  • Status changed from Nouveau to Fermé
  • % Done changed from 0 to 100

Applied in changeset linea21|r4162.

Actions #5

Updated by Simon over 1 year ago

Actions

Also available in: Atom PDF