XF 2.1 PushNotification

DaveM

Well-known member
I keep getting this error at least once a day?

Code:
Server error log

    ErrorException: Push notification failure: {"success":false,"endpoint":{},"message":"Client error: `POST https:\/\/db5p.notify.windows.com\/w\/?token=BQYAAAABeT03QTQMVnL7fTlQTmcdgDuPJMfvFSx8P1U0G%2fFIFBwmD5DX3Ab%2fMHHbdI7lqjg8GDOaDWDPAZu2UDiXqpjKMWIq45mslhkySxrakbF3ZVJ4WiIRP%2bbMfANoikIEvxIZjXaDMUYDYADL2HGr%2bMBWUDcB8jLWvsQizJPyrlDD7g9eHkagZQIW8OvrjMq4fO%2fQYCoX0WePKXI5D3VssxHEGaUhyuFWgfF%2bLTkLW66c8q7e9BpZp%2byG3UE5QxhgTGPzZe25whXc030fBuc%2fAjvDsgLQv4D96%2b0nQILFjND2T5aMrL0Dy2cSnmJmWwe238m7ZtBChCKdwllyhFNHcAEV` resulted in a `406 Not Acceptable` response","statusCode":406,"reasonPhrase":"Not Acceptable","expired":false,"content":{},"headers":{"Content-Length":["0"],"X-WNS-NOTIFICATIONSTATUS":["appthrottled"],"X-WNS-STATUS":["appthrottled"],"X-WNS-MSG-ID":["656A89D637C8BB50"],"X-WNS-DEBUG-TRACE":["DB5PEPF00000439"],"MS-CV":["fUVNagNYAUOZt\/cSP7LPYg.0"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains"],"Date":["Sat, 08 Jun 2019 23:52:34 GMT"]}} src/XF/Error.php:75

    Generated by: CarlS Jun 9, 2019 at 1:52 AM

Stack trace

#0 src/XF.php(187): XF\Error->logError('Push notificati...', false)
#1 src/XF/Service/PushNotification.php(241): XF::logError('Push notificati...')
#2 src/XF/Service/PushNotification.php(167): XF\Service\PushNotification->handleResults(Array, Array)
#3 src/XF/Service/PusherTrait.php(159): 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(5142, 2, 'CarlS', 'post', 287402, 'insert', Array)
#6 src/XF/Notifier/AbstractNotifier.php(55): XF\Repository\UserAlert->alert(Object(xenMade\LAU\XF\Entity\User), 2, 'CarlS', 'post', 287402, 'insert', Array)
#7 src/XF/Notifier/Post/AbstractWatch.php(104): XF\Notifier\AbstractNotifier->basicAlert(Object(xenMade\LAU\XF\Entity\User), 2, 'CarlS', 'post', 287402, 'insert')
#8 src/XF/Service/AbstractNotifier.php(86): XF\Notifier\Post\AbstractWatch->sendAlert(Object(xenMade\LAU\XF\Entity\User))
#9 src/XF/Service/AbstractNotifier.php(44): XF\Service\AbstractNotifier->notifyType(Object(XF\Notifier\Post\ThreadWatch), Array, G)
#10 src/XF/Service/AbstractNotifier.php(56): XF\Service\AbstractNotifier->notify(3)
#11 src/XF/Service/Thread/Replier.php(205): 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(Snog\OSBrowser\XF\Service\Thread\Replier))
#14 src/XF/Mvc/Dispatcher.php(321): XF\Pub\Controller\Thread->actionAddReply(Object(XF\Mvc\ParameterBag))
#15 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'AddReply', Object(XF\Mvc\RouteMatch), Object(skhms\MarkThreadRead\XF\Pub\Controller\Thread), NULL)
#16 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(skhms\MarkThreadRead\XF\Pub\Controller\Thread), NULL)
#17 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#18 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#19 src/XF.php(390): XF\App->run()
#20 index.php(20): XF::runApp('XF\\Pub\\App')
#21 {main}
 
Top