XF 2.1 Bounce connection error: cannot connect to host ; error = fsockopen(): unable to connect to ssl://:995

vwts

Member
Everything on the forum works well, but...
A few months, every 30 minutes there is an error:

Zend\Mail\Protocol\Exception\RuntimeException: Bounce connection error: cannot connect to host ; error = fsockopen(): unable to connect to ssl://:995 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) (errno = 0 ) src/vendor/zendframework/zend-mail/src/Protocol/Pop3.php:98
Generated by: Unknown account Feb 10, 2020 at 6:54 PM

Stack trace
#0 src/vendor/zendframework/zend-mail/src/Storage/Pop3.php(148): Zend\Mail\Protocol\Pop3->connect('ssl://', 995, 'ssl')
#1 src/XF/EmailBounce/Processor.php(260): Zend\Mail\Storage\Pop3->__construct(Object(stdClass))
#2 src/XF/SubContainer/Bounce.php(15): XF\EmailBounce\Processor::getDefaultBounceHandlerStorage(Object(XF\Pub\App))
#3 src/XF/Container.php(28): XF\SubContainer\Bounce->XF\SubContainer\{closure}(Object(XF\Container))
#4 src/XF/SubContainer/Bounce.php(43): XF\Container->offsetGet('storage')
#5 src/XF/Job/EmailBounce.php(20): XF\SubContainer\Bounce->storage()
#6 src/XF/Job/Manager.php(253): XF\Job\EmailBounce->run(G)
#7 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#8 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#9 job.php(42): XF\Job\Manager->runQueue(false, 8)
#10 {main}

-------------

Previous ErrorException: fsockopen(): unable to connect to ssl://:995 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) - src/vendor/zendframework/zend-mail/src/Protocol/Pop3.php:95
#0 [internal function]: Zend\Stdlib\ErrorHandler::addError(2, 'fsockopen(): un...', '/home/karoqs.ru...', 95, Array)
#1 src/vendor/zendframework/zend-mail/src/Protocol/Pop3.php(95): fsockopen('ssl://', 995, 32767, 'Unable to find ...', 30)
#2 src/vendor/zendframework/zend-mail/src/Storage/Pop3.php(148): Zend\Mail\Protocol\Pop3->connect('ssl://', 995, 'ssl')
#3 src/XF/EmailBounce/Processor.php(260): Zend\Mail\Storage\Pop3->__construct(Object(stdClass))
#4 src/XF/SubContainer/Bounce.php(15): XF\EmailBounce\Processor::getDefaultBounceHandlerStorage(Object(XF\Pub\App))
#5 src/XF/Container.php(28): XF\SubContainer\Bounce->XF\SubContainer\{closure}(Object(XF\Container))
#6 src/XF/SubContainer/Bounce.php(43): XF\Container->offsetGet('storage')
#7 src/XF/Job/EmailBounce.php(20): XF\SubContainer\Bounce->storage()
#8 src/XF/Job/Manager.php(253): XF\Job\EmailBounce->run(G)
#9 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#10 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#11 job.php(42): XF\Job\Manager->runQueue(false, 8)
#12 {main}
Request state
array(4) {
["url"] => string(14) "/forum/job.php"
["referrer"] => string(36) "https://karoqs.ru/forum/threads/267/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
["referrer"] => string(36) ...
always different.

Upgrade 2.1.4 -> 2.1.5 -> 2.1.6 -> 2.1.7 - same errors...
Thanks!
 
Email transport method: Default
Email (registration, subscribe) work fine.

I do not understand this:
Generated by: Unknown account Feb 10, 2020 at 6:54 PM :unsure:
 
Solved.
The email address was written here:

Bounced email address:
If an email cannot be delivered, the bounce notification will be returned to this email address. If left blank, bounced messages will be returned to the default email address. A value is required here if automated bounce handling is to be enabled. Note that this option may not work unless the return path parameter is enabled or mail is sent via SMTP using the Email Transport option.
 
Back
Top Bottom