XF 2.2 Push notification failure - operation timed out errors

Stuart Wright

Well-known member
We’re getting quite a few of these timeout server errors every day. Not always from job.php.
Can I do anything to avoid them?

Server error log

Stack trace​

#0 src/XF.php(219): XF\Error->logError('Push notificati...', false)
#1 src/XF/Service/PushNotification.php(267): XF::logError('Push notificati...')
#2 src/XF/Service/PushNotification.php(179): XF\Service\PushNotification->handleResults(Object(Generator))
#3 src/XF/Service/PusherTrait.php(194): XF\Service\PushNotification->sendNotifications()
#4 src/XF/Repository/UserAlert.php(165): XF\Service\Alert\Pusher->push()
#5 src/addons/SV/AlertImprovements/XF/Repository/UserAlertAutoReadPatch.php(15): XF\Repository\UserAlert->insertAlert(11045, 897196, 'StanOstrich', 'post', 32039968, 'insert', Array, Array)
#6 src/XF/Repository/UserAlert.php(116): SV\AlertImprovements\XF\Repository\UserAlertAutoReadPatch->insertAlert(11045, 897196, 'StanOstrich', 'post', 32039968, 'insert', Array, Array)
#7 src/addons/Truonglv/IgnoreContent/XF/Repository/UserAlert.php(53): XF\Repository\UserAlert->alert(Object(SV\BookmarkEssentials\XF\Entity\User), 897196, 'StanOstrich', 'post', 32039968, 'insert', Array, Array)
#8 src/addons/SV/ContentRatings/XF/Repository/UserAlert.php(17): Truonglv\IgnoreContent\XF\Repository\UserAlert->alert(Object(SV\BookmarkEssentials\XF\Entity\User), 897196, 'StanOstrich', 'post', 32039968, 'insert', Array, Array)
#9 src/XF/Notifier/AbstractNotifier.php(63): SV\ContentRatings\XF\Repository\UserAlert->alert(Object(SV\BookmarkEssentials\XF\Entity\User), 897196, 'StanOstrich', 'post', 32039968, 'insert', Array, Array)
#10 src/XF/Notifier/Post/AbstractWatch.php(112): XF\Notifier\AbstractNotifier->basicAlert(Object(SV\BookmarkEssentials\XF\Entity\User), 897196, 'StanOstrich', 'post', 32039968, 'insert')
#11 src/XF/Service/AbstractNotifier.php(88): XF\Notifier\Post\AbstractWatch->sendAlert(Object(SV\BookmarkEssentials\XF\Entity\User))
#12 src/XF/Service/AbstractNotifier.php(46): XF\Service\AbstractNotifier->notifyType(Object(XF\Notifier\Post\ThreadWatch), Array, 1.70758E+9)
#13 src/XF/Service/AbstractNotifier.php(58): XF\Service\AbstractNotifier->notify(3)
#14 src/XF/Service/Thread/Replier.php(252): XF\Service\AbstractNotifier->notifyAndEnqueue(3)
#15 src/XF/Pub/Controller/Thread.php(459): XF\Service\Thread\Replier->sendNotifications()
#16 src/addons/LiamW/PostMacros/XF/Pub/Controller/Thread.php(13): XF\Pub\Controller\Thread->finalizeThreadReply(Object(SV\SignupAbuseBlocking\XF\Service\Thread\Replier))
#17 src/addons/SV/UserEssentials/XF/Pub/Controller/Thread.php(46): LiamW\PostMacros\XF\Pub\Controller\Thread->finalizeThreadReply(Object(SV\SignupAbuseBlocking\XF\Service\Thread\Replier))
#18 src/XF/Pub/Controller/Thread.php(618): SV\UserEssentials\XF\Pub\Controller\Thread->finalizeThreadReply(Object(SV\SignupAbuseBlocking\XF\Service\Thread\Replier))
#19 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#20 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(SV\ReportImprovements\XF\Pub\Controller\Thread), NULL)
#21 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ReportImprovements\XF\Pub\Controller\Thread), NULL)
#22 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#23 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#24 src/XF.php(524): XF\App->run()
#25 index.php(20): XF::runApp('XF\\Pub\\App')
#26 {main}

Request state​

array(4) {
["url"] => string(78) "/threads/lg-c1-4k-smart-oled-tv-owners-and-discussion-thread.2355383/add-reply"
["referrer"] => string(101) "https://www.avforums.com/threads/lg...owners-and-discussion-thread.2355383/page-312"
["_GET"] => array(1) {
["/threads/lg-c1-4k-smart-oled-tv-owners-and-discussion-thread_2355383/add-reply"] => string(0) ""
}
["_POST"] => array(10) {
["_xfToken"] => string(8) "********"
["message_html"] => string(283) "<p>I'm not sure if this happened with the firmware update but the sports app is no longer reporting live scores. I've removed of the teams I'd selected and added them again and also toggled the switch to show live scores but they're still not showing. Does anyone else have this?</p>"
["attachment_hash"] => string(32) "8855b90a3319c89cf5e0cc2b88fe06b5"
["attachment_hash_combined"] => string(89) "{"type":"post","context":{"thread_id":2355383},"hash":"8855b90a3319c89cf5e0cc2b88fe06b5"}"
["last_date"] => string(10) "1707231055"
["last_known_date"] => string(10) "1707231055"
["load_extra"] => string(1) "1"
["_xfRequestUri"] => string(77) "/threads/lg-c1-4k-smart-oled-tv-owners-and-discussion-thread.2355383/page-312"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
Thanks
 
Also getting 'too many requests' errors. Push network has instigated rate limiting because of resource timeouts?
 
Top Bottom