sbj
Well-known member
Lately I am getting problems with alerts and push notifications. This is the other error I get.
This is not related to any of mentioned addons in the error log I was told.
This is not related to any of mentioned addons in the error log I was told.
PHP:
Server error log
ErrorException: Push notification failure: {"success":false,"endpoint":{},"message":"cURL error 28: Connection timed out after 10001 milliseconds (see http:\/\/curl.haxx.se\/libcurl\/c\/libcurl-errors.html)"} src/XF/Error.php:75
Generated by: XXX 8 April 2020 at 16:23
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(5, 124, 'XXX, 'post', 71498, 'forumwatch_inse...', Array)
#6 src/XF/Notifier/AbstractNotifier.php(55): XF\Repository\UserAlert->alert(Object(SV\ElasticSearchEssentials\XF\Entity\User), 124, 'XXX', 'post', 71498, 'forumwatch_inse...', Array)
#7 src/XF/Notifier/Post/ForumWatch.php(57): XF\Notifier\AbstractNotifier->basicAlert(Object(SV\ElasticSearchEssentials\XF\Entity\User), 124, 'XXX', 'post', 71498, 'forumwatch_inse...')
#8 src/XF/Service/AbstractNotifier.php(86): XF\Notifier\Post\ForumWatch->sendAlert(Object(SV\ElasticSearchEssentials\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/addons/KL/EditorManager/XF/Pub/Controller/Thread.php(27): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#15 src/addons/SV/PostFloodPerms/XF/Pub/Controller/Thread.php(35): KL\EditorManager\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#16 src/XF/Mvc/Dispatcher.php(350): SV\PostFloodPerms\XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#17 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Thread), NULL)
#18 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ElasticSearchEssentials\XF\Pub\Controller\Thread), NULL)
#19 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#20 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#21 src/XF.php(391): XF\App->run()
#22 index.php(20): XF::runApp('XF\\Pub\\App')
#23 {main}
Request state
array(4) {
["url"] => string(71) "/forum/XXX.67373/add-reply"
["referrer"] => string(84) "XXX/forum/XXX.67373/"
["_GET"] => array(1) {
["XXX_67373/add-reply"] => string(0) ""
}
["_POST"] => array(10) {
["message_html"] => string(40) "<p>XXX</p>"
["attachment_hash"] => string(32) "65cacc69b0f8f71bdd7a8de013d895c7"
["attachment_hash_combined"] => string(87) "{"type":"post","context":{"thread_id":67373},"hash":"65cacc69b0f8f71bdd7a8de013d895c7"}"
["last_date"] => string(10) "1586352403"
["last_known_date"] => string(10) "1586352403"
["klPage"] => string(0) ""
["_xfToken"] => string(8) "********"
["_xfRequestUri"] => string(62) "/forum/XXX.67373/"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}