Skip to content

Uncaught Swoole\Error: Socket#41 has already been bound to another coroutine#7, reading of the same socket in coroutine#5 #13

Description

@volodymyr-hordiienko

Sometimes get this error message, could you help with understanding what can cause this issue? Thanks

PHP Fatal error: Uncaught Swoole\Error: Socket#41 has already been bound to another coroutine#7, reading of the same socket in coroutine#5 at the same time is not allowed in /opt/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php:162
Stack trace:
#0 /opt/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php(162): fgets()
#1 /opt/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(469): Swift_Transport_StreamBuffer->readLine()
#2 /opt/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(342): Swift_Transport_AbstractSmtpTransport->getFullResponse()
#3 /opt/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php(305): Swift_Transport_AbstractSmtpTransport->executeCommand()
#4 /opt/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(392): Swift_Transport_EsmtpTransport->executeCommand()
#5 /opt/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(499): Swift_Transport_AbstractSmtpTransport->doDataCommand()
#6 /opt/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(518): Swift_Transport_AbstractSmtpTransport->doMailTransaction()
#7 /opt/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php(206): Swift_Transport_AbstractSmtpTransport->sendTo()
#8 /opt/www/vendor/hyperf-ext/mail/src/Transport/SmtpTransport.php(99): Swift_Transport_AbstractSmtpTransport->send()
#9 /opt/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php(71): HyperfExt\Mail\Transport\SmtpTransport->send()
#10 /opt/www/vendor/hyperf-ext/mail/src/Mailer.php(269): Swift_Mailer->send()
#11 /opt/www/vendor/hyperf-ext/mail/src/Mailer.php(183): HyperfExt\Mail\Mailer->sendSwiftMessage()
#12 /opt/www/vendor/hyperf-ext/mail/src/Mailable.php(385): HyperfExt\Mail\Mailer->sendNow()
#13 /opt/www/vendor/hyperf-ext/mail/src/QueuedMailableJob.php(32): HyperfExt\Mail\Mailable->send()
#14 /opt/www/vendor/hyperf/async-queue/src/Driver/Driver.php(130): HyperfExt\Mail\QueuedMailableJob->handle()
#15 /opt/www/vendor/hyperf/utils/src/Coroutine/Concurrent.php(80): Hyperf\AsyncQueue\Driver\Driver->Hyperf\AsyncQueue\Driver{closure}()
#16 /opt/www/vendor/hyperf/utils/src/Functions.php(274): Hyperf\Utils\Coroutine\Concurrent->Hyperf\Utils\Coroutine{closure}()
#17 /opt/www/vendor/hyperf/utils/src/Coroutine.php(62): call()
#18 {main}
thrown in /opt/www/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php on line 162

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions