XF 2.2 Server Error Log - any ideas anyone ?

WhiskeyMac

Member
I am not sure where to look for the source of this error - any advice greatly appreciated..
:)

Server error log
  • Laminas\Mail\Protocol\Exception\RuntimeException: Unsubscribe connection error: cannot connect to host ; error = fsockopen(): unable to connect to ssl://mail.swifttrawlerowners-forum.com:993 (Connection timed out) (errno = 0 )
  • src/vendor/laminas/laminas-mail/src/Protocol/Imap.php:94
  • Generated by: Unknown account
  • Jun 4, 2022 at 2:44 PM

Stack trace​

#0 src/vendor/laminas/laminas-mail/src/Protocol/Imap.php(45): Laminas\Mail\Protocol\Imap->connect('ssl://mail.swif...', 993, 'ssl')
#1 src/XF/Mail/Storage/Imap.php(28): Laminas\Mail\Protocol\Imap->__construct('mail.swifttrawl...', 993, 'SSL')
#2 src/XF/EmailUnsubscribe/Processor.php(161): XF\Mail\Storage\Imap::setupFromHandler(Array)
#3 src/XF/SubContainer/Unsubscribe.php(15): XF\EmailUnsubscribe\Processor::getDefaultUnsubscribeHandlerStorage(Object(XF\Pub\App))
#4 src/XF/Container.php(31): XF\SubContainer\Unsubscribe->XF\SubContainer\{closure}(Object(XF\Container))
#5 src/XF/SubContainer/Unsubscribe.php(33): XF\Container->offsetGet('storage')
#6 src/XF/Job/EmailUnsubscribe.php(20): XF\SubContainer\Unsubscribe->storage()
#7 src/XF/Job/Manager.php(260): XF\Job\EmailUnsubscribe->run(8)
#8 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#9 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#10 job.php(43): XF\Job\Manager->runQueue(false, 8)
#11 {main}
 

Mr. Jinx

Well-known member
I think this is coming from the unsubscribe email settings.
Check your ACP > Setup Options > Email options.
There is a section about unsubscribe mails which probably contains wrong settings.

It somehow can't connect to mail.swifttrawlerowners-forum.com:993
Maybe imap is not available? Try port 995.
 

WhiskeyMac

Member
I think this is coming from the unsubscribe email settings.
Check your ACP > Setup Options > Email options.
There is a section about unsubscribe mails which probably contains wrong settings.

It somehow can't connect to mail.swifttrawlerowners-forum.com:993
Maybe imap is not available? Try port 995.
Thank you very much for you reply. Another tech here has suggested the same settings.. I will check and adjust straight away.
Although I cannot understand how this suddenly happened after a year of operation - I will check with my hosting company too to see if they made some change to their IMAP settings

Thank you
:)
 
Top