XF 2.2 Push Notification errors

rosal

Active member
I have some Push Notification errors:

Code:
     ErrorException: Push notification failure: cURL error 28: Failed to connect to updates.push.services.mozilla.com port 443: Connection timed out (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) src/XF/Error.php:75 

Stack trace
#0 src/XF.php(213): XF\Error->logError('Push notificati...', false)
#1 src/XF/Service/PushNotification.php(241): XF::logError('Push notificati...')
#2 src/XF/Service/PushNotification.php(174): XF\Service\PushNotification->handleResults(Object(Generator))
#3 src/XF/Service/PusherTrait.php(194): XF\Service\PushNotification->sendNotifications()
#4 src/XF/Service/Conversation/Notifier.php(130): XF\Service\Conversation\Pusher->push()
#5 src/XF/Service/Conversation/Notifier.php(65): XF\Service\Conversation\Notifier->_sendNotifications('reply', Array, Object(XF\Entity\ConversationMessage))
#6 src/XF/Service/Conversation/Replier.php(193): XF\Service\Conversation\Notifier->notifyReply(Object(XF\Entity\ConversationMessage))
#7 src/XF/Service/Conversation/Replier.php(172): XF\Service\Conversation\Replier->sendNotifications()
#8 src/XF/Service/ValidateAndSavableTrait.php(40): XF\Service\Conversation\Replier->_save()
#9 src/XF/Pub/Controller/Conversation.php(514): XF\Service\Conversation\Replier->save()
#10 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\Conversation->actionAddReply(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass('XF:Conversation', 'AddReply', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Conversation), NULL)
#12 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Conversation), NULL)
#13 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2337): XF\Mvc\Dispatcher->run()
#15 src/XF.php(488): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}

Request state
array(4) {
  ["url"] => string(45) "/conversations/xxxxxxxxxxx/add-reply"
  ["referrer"] => string(61) "xxxxxxxxxxxxxxxxxxxxx"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(8) {
    ["message_html"] => string(19) "<p>xxxxxxx</p>"
    ["last_date"] => string(10) "1624991855"
    ["last_known_date"] => string(1) "0"
    ["load_extra"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(36) "/conversations/xxxxxxxx/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Solution
Ok found the problem.

After tryng to connect via console i cant.
Code:
curl -skvD - https://updates.push.services.mozilla.com -o /dev/null

So i found the ip returned has blocked in my server (amazon ips), after permit the ip everything ok.
Ok found the problem.

After tryng to connect via console i cant.
Code:
curl -skvD - https://updates.push.services.mozilla.com -o /dev/null

So i found the ip returned has blocked in my server (amazon ips), after permit the ip everything ok.
 
Solution
Back
Top Bottom