XF 2.2 Push notification error 59

DaveL

Well-known member
Good evening,
I seem to be getting quite a lot of these errors. I've had a good search of the forum, but not having much joy.
Any help greatly appreciated.

Code:
    ErrorException: Push notification failure: cURL error 59: failed setting cipher list: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) src/XF/Error.php:77

    Generated by: Dave 15 Aug 2023 at 23:15

Stack trace

#0 src/XF.php(219): XF\Error->logError('Push notificati...', false)
#1 src/XF/Service/PushNotification.php(243): XF::logError('Push notificati...')
#2 src/XF/Service/PushNotification.php(176): XF\Service\PushNotification->handleResults(Object(Generator))
#3 src/XF/Service/PusherTrait.php(194): XF\Service\PushNotification->sendNotifications()
#4 src/XF/Service/Conversation/Notifier.php(132): XF\Service\Conversation\Pusher->push()
#5 src/XF/Service/Conversation/Notifier.php(67): XF\Service\Conversation\Notifier->_sendNotifications('reply', Array, Object(XF\Entity\ConversationMessage))
#6 src/XF/Service/Conversation/Replier.php(198): XF\Service\Conversation\Notifier->notifyReply(Object(XF\Entity\ConversationMessage))
#7 src/XF/Service/Conversation/Replier.php(177): XF\Service\Conversation\Replier->sendNotifications()
#8 src/XF/Service/ValidateAndSavableTrait.php(42): XF\Service\Conversation\Replier->_save()
#9 src/XF/Pub/Controller/Conversation.php(523): XF\Service\Conversation\Replier->save()
#10 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Conversation->actionAddReply(Object(XF\Mvc\ParameterBag))
#11 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Conversation', 'AddReply', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Conversation), NULL)
#12 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Conversation), NULL)
#13 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#15 src/XF.php(524): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}
 
That's probably just going to be an old version of cURL on your server that doesn't support a newer SSL cipher that the push server is requiring. For example it's fairly common for servers to require TLS 1.2 or higher, but if you have an old version of cURL/OpenSSL that doesn't support 1.2, you have a problem.

Check the version of cURL/OpenSSL you have on your server and I bet it's fairly old. The easy solution would be to update it on your server.
 
Top Bottom