XF 2.1 Push notification failure: {"success":false,"endpoint":{},"message":"cURL error 28: Connection time-out

BassMan

Well-known member
Getting lot's of these last days:

Server error log
  • ErrorException: Push notification failure: {"success":false,"endpoint":{},"message":"cURL error 28: Connection time-out (see http:\/\/curl.haxx.se\/libcurl\/c\/libcurl-errors.html)"}
  • src/XF/Error.php:75
  • Generated by: ...
  • Jun 17, 2020 at 7:56 AM
Stack trace
#0 src/XF.php(184): XF\Error->logError('Push notificati...', false)
#1 src/XF/Service/PushNotification.php(249): XF::logError('Push notificati...')
#2 src/XF/Service/PushNotification.php(167): XF\Service\PushNotification->handleResults(Array, Array)
#3 src/XF/Service/PusherTrait.php(182): XF\Service\PushNotification->sendNotifications()
#4 src/XF/Repository/UserAlert.php(147): XF\Service\Alert\Pusher->push()
#5 src/XF/Repository/UserAlert.php(111): XF\Repository\UserAlert->insertAlert(1, 2488, '...', 'post', 4219, 'forumwatch_inse...', Array)
#6 src/XF/Notifier/AbstractNotifier.php(55): XF\Repository\UserAlert->alert(Object(XFRM\XF\Entity\User), 2488, '...', 'post', 4219, 'forumwatch_inse...', Array)
#7 src/XF/Notifier/Post/ForumWatch.php(57): XF\Notifier\AbstractNotifier->basicAlert(Object(XFRM\XF\Entity\User), 2488, '...', 'post', 4219, 'forumwatch_inse...')
#8 src/XF/Service/AbstractNotifier.php(86): XF\Notifier\Post\ForumWatch->sendAlert(Object(XFRM\XF\Entity\User))
#9 src/XF/Service/AbstractNotifier.php(44): XF\Service\AbstractNotifier->notifyType(Object(XF\Notifier\Post\ForumWatch), Array, G)
#10 src/XF/Service/AbstractNotifier.php(56): XF\Service\AbstractNotifier->notify(3)
#11 src/XF/Service/Thread/Replier.php(219): XF\Service\AbstractNotifier->notifyAndEnqueue(3)
#12 src/XF/Pub/Controller/Thread.php(330): XF\Service\Thread\Replier->sendNotifications()
#13 src/XF/Pub/Controller/Thread.php(463): XF\Pub\Controller\Thread->finalizeThreadReply(Object(XF\Service\Thread\Replier))
#14 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#15 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(SV\AlertImprovements\XF\Pub\Controller\Thread), NULL)
#16 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\AlertImprovements\XF\Pub\Controller\Thread), NULL)
#17 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#18 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#19 src/XF.php(391): XF\App->run()
#20 index.php(20): XF::runApp('XF\\Pub\\App')
#21 {main}

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

Same error number as here: https://xenforo.com/community/threa...ing-timed-out-after-3000-milliseconds.181776/


Or maybe it's related to @Xon's add-on mentioned in the server error log.
 
Alert Improvements doesn't actually influence the number of alerts being dispatched. This is likely some sort of throttling, or just generic network issues being applied to your server from the end-point it is trying to push to
 
Top Bottom