• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Server Errors

Ferdinand

Active member
#1
I'm getting the following server errors, does anyone have any ideas how to resolve them?

ErrorException: fwrite() [<a href='function.fwrite'>function.fwrite</a>]: SSL operation failed with code 1. OpenSSL Error messages: error:140D00CF:SSL routines:SSL_write:protocol is shutdown - library/Zend/Mail/Protocol/Abstract.php:324
Generated By: Unknown Account, Today at 7:40 AM
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(2, 'fwrite() [<a hr...', '/home/carpedie/...', 324, Array)
#1 /home/carpedie/public_html/library/Zend/Mail/Protocol/Abstract.php(324): fwrite(Resource id #72, 'RSET??')
#2 /home/carpedie/public_html/library/Zend/Mail/Protocol/Smtp.php(338): Zend_Mail_Protocol_Abstract->_send('RSET')
#3 /home/carpedie/public_html/library/Zend/Mail/Transport/Smtp.php(203): Zend_Mail_Protocol_Smtp->rset()
#4 /home/carpedie/public_html/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
#5 /home/carpedie/public_html/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#6 /home/carpedie/public_html/library/XenForo/Model/MailQueue.php(62): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp))
#7 /home/carpedie/public_html/library/XenForo/Deferred/MailQueue.php(10): XenForo_Model_MailQueue->runMailQueue(9.99999594688)
#8 /home/carpedie/public_html/library/XenForo/Model/Deferred.php(208): XenForo_Deferred_MailQueue->execute(Array, Array, 9.99999594688, '')
#9 /home/carpedie/public_html/library/XenForo/Model/Deferred.php(331): XenForo_Model_Deferred->runDeferred(Array, 9.99999594688, '', false)
#10 /home/carpedie/public_html/library/XenForo/Model/Deferred.php(284): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#11 /home/carpedie/public_html/deferred.php(18): XenForo_Model_Deferred->run(false)
#12 {main}
Request State
array(3) {
["url"] => string(26) "http://tag.ac/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(1) "/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}

Server Error Logs
  1. Delete...
    fwrite() [<a href='function.fwrite'>function.fwrite</a>]: SSL operation failed with code 1. OpenSSL Error messages: error:140D00CF:SSL routines:SSL_write:protocol is shutdownToday at 7:40 AM - library/Zend/Mail/Protocol/Abstract.php:324
  2. Delete...
    fwrite() [<a href='function.fwrite'>function.fwrite</a>]: SSL operation failed with code 1. OpenSSL Error messages: error:140D00CF:SSL routines:SSL_write:protocol is shutdownToday at 7:40 AM - library/Zend/Mail/Protocol/Abstract.php:324
  3. Delete...
    fwrite() [<a href='function.fwrite'>function.fwrite</a>]: SSL operation failed with code 1. OpenSSL Error messages: error:140D00CF:SSL routines:SSL_write:protocol is shutdownToday at 7:40 AM - library/Zend/Mail/Protocol/Abstract.php:324
  4. Delete...
    fwrite() [<a href='function.fwrite'>function.fwrite</a>]: SSL operation failed with code 1. OpenSSL Error messages: error:140D00CF:SSL routines:SSL_write:protocol is shutdownToday at 7:40 AM - library/Zend/Mail/Protocol/Abstract.php:324
  5. Delete...
    Could not read from smtp.gmail.comToday at 7:40 AM - library/Zend/Mail/Protocol/Abstract.php:385
  6. Delete...
    4.7.0 Try again later, closing connection. (MAIL) d7sm908216qas.10 - gsmtpToday at 7:40 AM - library/Zend/Mail/Protocol/Abstract.php:431
  7. Delete...
    unlink(/home/carpedie/public_html/data/avatars/l/1/1494.jpg) [<a href='function.unlink'>function.unlink</a>]: No such file or directoryMonday at 4:55 PM - library/XenForo/Model/Avatar.php:339
  8. Delete...
    unlink(/home/carpedie/public_html/data/avatars/l/1/1494.jpg) [<a href='function.unlink'>function.unlink</a>]: No such file or directoryMonday at 4:55 PM - library/XenForo/Model/Avatar.php:339
  9. Delete...
    Mysqli statement execute error : Duplicate entry '1496-63' for key 1Monday at 4:26 PM - library/Zend/Db/Statement/Mysqli.php:214
 

Mike

XenForo developer
Staff member
#3
There's also a thread linked from that post that recommends changing some SMTP settings (using TLS with Gmail).

Note that the error here indicates that the code tried to send commands after the connection was closed, though the connection must have been closed for a reason outside of our side.