• 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 galore!

gavpeds

Active member
#1
Hi all so i am getting server errors left right and centre! I could really really do with some help. I went to my vps host and they had a look but reckon it is XF side. Please see errors below.

Code:
Zend_Mail_Protocol_Exception: Access denied - Invalid HELO name (See RFC2821 4.1.1.1) - library/Zend/Mail/Protocol/Abstract.php:431
Generated By: Unknown Account, 29 minutes ago
Stack Trace
#0 /home/window/public_html/library/Zend/Mail/Protocol/Smtp.php(261): Zend_Mail_Protocol_Abstract->_expect(250, 300)
#1 /home/window/public_html/library/Zend/Mail/Transport/Smtp.php(207): Zend_Mail_Protocol_Smtp->mail('info@windowclea...')
#2 /home/window/public_html/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
#3 /home/window/public_html/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#4 /home/window/public_html/library/XenForo/Mail.php(177): Zend_Mail->send()
#5 /home/window/public_html/library/XenForo/Mail.php(152): XenForo_Mail->sendMail(Object(Zend_Mail))
#6 /home/window/public_html/library/XenForo/Model/UserConfirmation.php(136): XenForo_Mail->send('markrphoenix@gm...', 'ex-jedi')
#7 /home/window/public_html/library/XenForo/ControllerPublic/Register.php(303): XenForo_Model_UserConfirmation->sendEmailConfirmation(Array)
#8 /home/window/public_html/library/XenForo/FrontController.php(337): XenForo_ControllerPublic_Register->actionRegister()
#9 /home/window/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /home/window/public_html/index.php(13): XenForo_FrontController->run()
#11 {main}
Request State
array(3) {
  ["url"] => string(51) "http://domain.co.uk/register/register"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(14) {
    ["username"] => string(7) "ex-jedi"
    ["email"] => string(22) "memberemailaddress@gmail.com"
    ["password"] => string(8) "********"
    ["password_confirm"] => string(8) "********"
    ["dob_month"] => string(1) "1"
    ["dob_day"] => string(2) "01"
    ["dob_year"] => string(4) "1974"
    ["gender"] => string(4) "male"
    ["timezone"] => string(13) "Europe/London"
    ["recaptcha_challenge_field"] => string(185) "03AHJ_Vut0axaMtmCmYlQiAGLboIkXBaWEh4jyIrx_J2iyXzt7YeKbagRM-1LB1IS9q_s4xxQd__WFSEtaEOqKJ3vUVpr1QsraDyTfphwDZ7xyhMY2KIj3NoLuSvZfjlaTCgm3-QFQFygS0bBpYE787oA_33tSG4EqNHl_3eoBvJbHwH7UhzhOC2A"
    ["recaptcha_response_field"] => string(8) "26488688"
    ["agree"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["reg_key"] => string(32) "6a38684dfcb2eea5663f6893d64902b7"
Code:
Zend_Http_Client_Adapter_Exception: Unable to Connect to tcp://api-verify.recaptcha.net:80. Error #0: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution - library/Zend/Http/Client/Adapter/Socket.php:235
Generated By: Unknown Account, Today at 7:37 AM
Stack Trace
#0 /home/window/public_html/library/Zend/Http/Client.php(973): Zend_Http_Client_Adapter_Socket->connect('api-verify.reca...', 80, false)
#1 /home/window/public_html/library/Zend/Service/ReCaptcha.php(487): Zend_Http_Client->request('POST')
#2 /home/window/public_html/library/Zend/Service/ReCaptcha.php(502): Zend_Service_ReCaptcha->_post('03AHJ_VuvJ1jBv0...', 'pieces eendidr')
#3 /home/window/public_html/library/XenForo/Captcha/ReCaptcha.php(53): Zend_Service_ReCaptcha->verify('03AHJ_VuvJ1jBv0...', 'pieces eendidr')
#4 /home/window/public_html/library/XenForo/Captcha/Abstract.php(129): XenForo_Captcha_ReCaptcha->isValid(Array)
#5 /home/window/public_html/library/XenForo/ControllerPublic/Register.php(200): XenForo_Captcha_Abstract::validateDefault(Object(XenForo_Input))
#6 /home/window/public_html/library/XenForo/FrontController.php(337): XenForo_ControllerPublic_Register->actionRegister()
#7 /home/window/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#8 /home/window/public_html/index.php(13): XenForo_FrontController->run()
#9 {main}
Request State
array(3) {
  ["url"] => string(51) "http://domain.co.uk/register/register"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(15) {
    ["username"] => string(9) "alvinmb60"
    ["email"] => string(34) "usermail@mail.media.twitpost.info"
    ["password"] => string(8) "********"
    ["password_confirm"] => string(8) "********"
    ["dob_month"] => string(1) "1"
    ["dob_day"] => string(2) "13"
    ["dob_year"] => string(4) "1986"
    ["gender"] => string(4) "male"
    ["timezone"] => string(12) "Asia/Kolkata"
    ["recaptcha_response_field"] => string(14) "pieces eendidr"
    ["recaptcha_challenge_field"] => string(185) "03AHJ_VuvJ1jBv0b9gpA10Ov_cd5VHWn4qNbNHTTqnwfqx02lLFyhDPXAjU2zMe5CMYCvO33Fpy3_zY7ExEeMpQYvDdT5bigx6or1xbVPbw8t_HnWgq8dcR_SXES4bbgXIpJOURUIzkIC29cUukJ0dDO38xOePBil6PeJPezHKLlbviCuHhHX9ip4"
    ["agree"] => string(1) "1"
    ["submit"] => string(7) "Sign Up"
    ["_xfToken"] => string(8) "********"
    ["reg_key"] => string(32) "639ecab322d3e1a97fe045b6f1ac1dcf"
  }
}
Code:
ErrorException: fwrite(): send of 6 bytes failed with errno=32 Broken pipe - library/Zend/Mail/Protocol/Abstract.php:324
Generated By: Unknown Account, Today at 7:01 AM
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(8, 'fwrite(): send ...', '/home/window/pu...', 324, Array)
#1 /home/window/public_html/library/Zend/Mail/Protocol/Abstract.php(324): fwrite(Resource id #49, 'QUIT??')
#2 /home/window/public_html/library/Zend/Mail/Protocol/Smtp.php(385): Zend_Mail_Protocol_Abstract->_send('QUIT')
#3 /home/window/public_html/library/Zend/Mail/Transport/Smtp.php(144): Zend_Mail_Protocol_Smtp->quit()
#4 [internal function]: Zend_Mail_Transport_Smtp->__destruct()
#5 {main}
Request State
array(3) {
  ["url"] => string(46) "http://domain.co.uk/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(34) "/threads/thanking-the-staff.10906/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
Code:
Zend_Mail_Protocol_Exception: Could not read from mail.domain.co.uk - library/Zend/Mail/Protocol/Abstract.php:385
Generated By: Unknown Account, Today at 7:01 AM
Stack Trace
#0 /home/window/public_html/library/Zend/Mail/Protocol/Abstract.php(415): Zend_Mail_Protocol_Abstract->_receive(NULL)
#1 /home/window/public_html/library/Zend/Mail/Protocol/Smtp.php(340): Zend_Mail_Protocol_Abstract->_expect(Array)
#2 /home/window/public_html/library/Zend/Mail/Transport/Smtp.php(203): Zend_Mail_Protocol_Smtp->rset()
#3 /home/window/public_html/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
#4 /home/window/public_html/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#5 /home/window/public_html/library/XenForo/Model/MailQueue.php(62): Zend_Mail->send(Object(Zend_Mail_Transport_Smtp))
#6 /home/window/public_html/library/XenForo/Deferred/MailQueue.php(10): XenForo_Model_MailQueue->runMailQueue(9.99999594688)
#7 /home/window/public_html/library/XenForo/Model/Deferred.php(243): XenForo_Deferred_MailQueue->execute(Array, Array, 9.99999594688, '')
#8 /home/window/public_html/library/XenForo/Model/Deferred.php(369): XenForo_Model_Deferred->runDeferred(Array, 9.99999594688, '', false)
#9 /home/window/public_html/library/XenForo/Model/Deferred.php(322): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#10 /home/window/public_html/deferred.php(18): XenForo_Model_Deferred->run(false)
#11 {main}
Request State
array(3) {
  ["url"] => string(46) "http://domain.co.uk/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(34) "/threads/thanking-the-staff.10906/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
Code:
ErrorException: fwrite(): send of 6 bytes failed with errno=32 Broken pipe - library/Zend/Mail/Protocol/Abstract.php:324
Generated By: Unknown Account, Yesterday at 10:16 PM
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(8, 'fwrite(): send ...', '/home/window/pu...', 324, Array)
#1 /home/window/public_html/library/Zend/Mail/Protocol/Abstract.php(324): fwrite(Resource id #49, 'QUIT??')
#2 /home/window/public_html/library/Zend/Mail/Protocol/Smtp.php(385): Zend_Mail_Protocol_Abstract->_send('QUIT')
#3 /home/window/public_html/library/Zend/Mail/Transport/Smtp.php(144): Zend_Mail_Protocol_Smtp->quit()
#4 [internal function]: Zend_Mail_Transport_Smtp->__destruct()
#5 {main}
Request State
array(3) {
  ["url"] => string(46) "http://domain.co.uk/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(51) "/threads/600-ltr-water-tank-in-cage-for-sale.10767/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
My CPU is getting maxed out which i presume is to do with all these errors. CPU is running at 92-100% almost all the time.
 

Brogan

XenForo moderator
Staff member
#2
Other than the recaptcha API being down, those are all mail related.

What are the mail settings in the ACP?
 

gavpeds

Active member
#3
My vps host had a look and decided it was better to use smtp port 25 no encryption. This i think has made it worse but the reason i asked them to have a look was because of these two errors. When i got these two errors the mail was left at default so all i added was my email to the settings.

Code:
Zend_Mail_Transport_Exception: Unable to send mail. - library/Zend/Mail/Transport/Sendmail.php:137
Generated By: Gav, Friday at 11:36 PM
Stack Trace
#0 /home/window/public_html/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
#1 /home/window/public_html/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#2 /home/window/public_html/library/XenForo/ControllerAdmin/User.php(993): Zend_Mail->send(Object(Zend_Mail_Transport_Sendmail))
#3 /home/window/public_html/library/XenForo/ControllerAdmin/User.php(921): XenForo_ControllerAdmin_User->_sendEmail(Array, Array, Object(Zend_Mail_Transport_Sendmail))
#4 /home/window/public_html/library/XenForo/FrontController.php(337): XenForo_ControllerAdmin_User->actionEmailSend()
#5 /home/window/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#6 /home/window/public_html/admin.php(13): XenForo_FrontController->run()
#7 {main}
Request State
array(3) {
  ["url"] => string(60) "http://domain.co.uk/admin.php?users/email-send"
  ["_GET"] => array(1) {
    ["users/email-send"] => string(0) ""
  }
  ["_POST"] => array(10) {
    ["page"] => string(2) "30"
    ["criteria"] => string(42) "{"user_state":["valid"],"is_banned":["0"]}"
    ["total"] => string(4) "1646"
    ["from_name"] => string(31) "forum name"
    ["from_email"] => string(31) "info@domain.co.uk"
    ["email_title"] => string(12) "We are live!"
    ["email_format"] => string(4) "text"
    ["email_body"] => string(366) "Hey,

So the site software update is complete! It took longer than we thought but the site is now live so come and have a look around http://domain.co.uk/ We still have a few things to sort behind the scenes but all should be working.

Please let me know if you have any problems or notice any error so i can sort them ASAP!

Have fun ;)

Gavin"
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
Code:
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Field 'min_y' doesn't have a default value - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Gav, Saturday at 12:42 AM
Stack Trace
#0 /home/window/public_html/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 /home/window/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/window/public_html/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `li...', Array)
#3 /home/window/public_html/library/XenForo/DataWriter.php(1612): Zend_Db_Adapter_Abstract->insert('liamadsplus_adv...', Array)
#4 /home/window/public_html/library/XenForo/DataWriter.php(1601): XenForo_DataWriter->_insert()
#5 /home/window/public_html/library/XenForo/DataWriter.php(1393): XenForo_DataWriter->_save()
#6 /home/window/public_html/library/LiamAdsPlus/ControllerAdmin/Manage.php(120): XenForo_DataWriter->save()
#7 /home/window/public_html/library/XenForo/FrontController.php(337): LiamAdsPlus_ControllerAdmin_Manage->actionSave()
#8 /home/window/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#9 /home/window/public_html/admin.php(13): XenForo_FrontController->run()
#10 {main}
Request State
array(3) {
  ["url"] => string(56) "http://domain.co.uk/admin.php?adverts/save"
  ["_GET"] => array(1) {
    ["adverts/save"] => string(0) ""
  }
  ["_POST"] => array(10) {
    ["advert_name"] => string(6) "header"
    ["group_id"] => string(1) "1"
    ["advert_code"] => string(351) "<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- WCF Header -->
<ins class="adsbygoogle"
    style="display:inline-block;width:728px;height:90px"
    data-ad-client="ca-pub-******"
    data-ad-slot="******"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>"
    ["advert_location"] => string(23) "ad_below_top_breadcrumb"
    ["advert_location_other"] => string(0) ""
    ["min_x"] => string(1) "0"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(22) "/admin.php?adverts/new"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 

gavpeds

Active member
#5
If i set to default i get this error. At least it is only this error rather than hundreds!

Code:
Zend_Mail_Transport_Exception: Unable to send mail. - library/Zend/Mail/Transport/Sendmail.php:137
Generated By: Gav, 2 minutes ago
Stack Trace
#0 /home/window/public_html/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
#1 /home/window/public_html/library/Zend/Mail.php(1194): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#2 /home/window/public_html/library/XenForo/ControllerAdmin/User.php(993): Zend_Mail->send(Object(Zend_Mail_Transport_Sendmail))
#3 /home/window/public_html/library/XenForo/ControllerAdmin/User.php(921): XenForo_ControllerAdmin_User->_sendEmail(Array, Array, Object(Zend_Mail_Transport_Sendmail))
#4 /home/window/public_html/library/XenForo/FrontController.php(337): XenForo_ControllerAdmin_User->actionEmailSend()
#5 /home/window/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#6 /home/window/public_html/admin.php(13): XenForo_FrontController->run()
#7 {main}
Request State
array(3) {
  ["url"] => string(60) "http://domain.co.uk/admin.php?users/email-send"
  ["_GET"] => array(1) {
    ["users/email-send"] => string(0) ""
  }
  ["_POST"] => array(10) {
    ["page"] => string(2) "31"
    ["criteria"] => string(42) "{"user_state":["valid"],"is_banned":["0"]}"
    ["total"] => string(4) "1658"
    ["from_name"] => string(31) "forumname"
    ["from_email"] => string(31) "info@domain"
    ["email_title"] => string(10) "Test email"
    ["email_format"] => string(4) "text"
    ["email_body"] => string(192) "Hi all, sorry for all the emails but we are having problems with the system and need to ensure it works properly without error. Could you possibly reply if you get this email.

Thanks
Gavin"
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
 

Mike

XenForo developer
Staff member
#6
From my response in the ticket:

One appeared to fail, but unfortunately the error logs for that are only in the server's mail log (/var/log/maillog) and you'd need root to access it.

Given that you have a VPS, you may be able to look into it. That said, I would probably simply wait to see if it occurs again.

Also, noting that it's a VPS, the errors only appeared to start happening yesterday evening. I would look to see what changed on the server at that time.
 

gavpeds

Active member
#8
Sadly not! I managed to find in the error logs an email that was obviously one moved from our old ipb that had characters in that caused some of the Zend email error. I still got these errors though when sending bulk email. In the end I used the marks plugin and send email via mandrill. Silly thing is I have another xenforo install and I can send bulk email just find on that forum with no error so obviously something from the move from IBP to xenforo I think put can not pinpoint it.