XF 2.2 Problem, when someone hits LIKE on Admin posts, I get the following error in push notification. ?

fionix

Well-known member
As the title says, when someone hit's the LIKE button on any post I do as an ADMIN I get the following error message in the server log
YAML:
     ErrorException: Push notification failure: cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) src/XF/Error.php:77
     #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/XF/Repository/UserAlert.php(103): XF\Repository\UserAlert->insertAlert(2, 8, 'clemens', 'post', 283427, 'reaction', Array, Array)
#6 src/XF/Reaction/AbstractHandler.php(187): XF\Repository\UserAlert->alertFromUser(Object(SV\ElasticSearchEssentials\XF\Entity\User), Object(SV\ElasticSearchEssentials\XF\Entity\User), 'post', 283427, 'reaction', Array)
#7 src/XF/Repository/Reaction.php(203): XF\Reaction\AbstractHandler->sendReactionAlert(Object(SV\ElasticSearchEssentials\XF\Entity\User), Object(SV\ElasticSearchEssentials\XF\Entity\User), 283427, Object(SV\ElasticSearchEssentials\XF\Entity\Post), 1)
#8 src/XF/Repository/Reaction.php(143): XF\Repository\Reaction->insertReaction(1, 'post', 283427, Object(SV\ElasticSearchEssentials\XF\Entity\User), true, false)
#9 src/XF/ControllerPlugin/Reaction.php(62): XF\Repository\Reaction->reactToContent(1, 'post', 283427, Object(SV\ElasticSearchEssentials\XF\Entity\User), true)
#10 src/XF/ControllerPlugin/Reaction.php(21): XF\ControllerPlugin\Reaction->actionToggleReaction(Object(SV\ElasticSearchEssentials\XF\Entity\Post), 'posts/reactions', 'posts')
#11 src/XF/ControllerPlugin/Reaction.php(14): XF\ControllerPlugin\Reaction->actionReact(Object(SV\ElasticSearchEssentials\XF\Entity\Post), 'posts', 'posts/react', 'posts/reactions')
#12 src/XF/Pub/Controller/Post.php(381): XF\ControllerPlugin\Reaction->actionReactSimple(Object(SV\ElasticSearchEssentials\XF\Entity\Post), 'posts')
#13 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Post->actionReact(Object(XF\Mvc\ParameterBag))
#14 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('XF:Post', 'React', Object(XF\Mvc\RouteMatch), Object(Truonglv\ThreadCatalogs\XF\Pub\Controller\Post), NULL)
#15 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Truonglv\ThreadCatalogs\XF\Pub\Controller\Post), NULL)
#16 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#17 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#18 src/XF.php(524): XF\App->run()
#19 index.php(20): XF::runApp('XF\\Pub\\App')
#20 {main}

With any other users this does not happen, any suggestion on why this suddenly started?
 
This seems to be quite common now with push notifications failing. There are several threads on here about it.

 
Also getting 'too many requests' errors. Push network has instigated rate limiting because of resource timeouts?
 
I can confirm that I have seen the push errors increase significantly since the 2.2.15 upgrade. They used to be very rare before that (running XF since March 2019).
 
Back
Top Bottom