XF 2.1 Push notification failure: {"success":false,"endpoint":{},"message":"Client error: `POST https:\/\/db5p.notify.windows.com\/w\/

foiovitor

Active member
I have a lot of errors like this:
Code:
Server error log
ErrorException: Push notification failure: {"success":false,"endpoint":{},"message":"Client error: `POST https:\/\/db5p.notify.windows.com\/w\/?token=BQYAAADHoyfPGVVP34aPmuJgvAWrXl%2f1n3ba6bS1NqHWgNIAFJvqW6rWw3LCx%2bHpSmTJXiwC5xXSuryTo7i12AgBOhA5e5Xps2DlBN3yn2T9u61j1mx88irLHy8iMqAJzaa3G0rA9MeFlNsh7W%2ffIKuTyUcJ6vCMmUOAbJvt%2fpfwDKNL66ouHXNKYlUR%2fDuEUkIPCf8mBC6kh%2bI%2fdWbRYAYRSGmkP0ItFsJ6VU%2fRy5%2b288zvRi9gBN%2fFo3QF8x%2frsKBEZBJQN4hxFIVtXjzrU1loMBtTshOwVHPaM4US7i9sL%2bFvrnseN%2f88aV3Pjdxz6WW5Qzw0ldSBJBQBw973LWIk2VaT` 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":["4190CA60029FA13C"],"X-WNS-DEBUG-TRACE":["DB5PEPF0000041F"],"MS-CV":["R8o91pM0+E2zZH1HcDTX8A.0"],"Strict-Transport-Security":["max-age=31536000; includeSubDomains"],"Date":["Mon, 10 Jun 2019 10:59:57 GMT"]}} src/XF/Error.php:75
Generated by: WebSST1 10 Jun 2019 at 10:59
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(98): XF\Repository\UserAlert->insertAlert(46018, 34102, 'Nuno Filipe Pin...', 'post', 875155, 'reaction', Array)
#6 src/XF/Reaction/AbstractHandler.php(181): XF\Repository\UserAlert->alertFromUser(Object(SV\DailyStatistics\XF\Entity\User), Object(SV\DailyStatistics\XF\Entity\User), 'post', 875155, 'reaction', Array)
#7 src/XF/Repository/Reaction.php(196): XF\Reaction\AbstractHandler->sendReactionAlert(Object(SV\DailyStatistics\XF\Entity\User), Object(SV\DailyStatistics\XF\Entity\User), 875155, Object(EWR\Atendo\Entity\Post), 1)
#8 src/XF/Repository/Reaction.php(137): XF\Repository\Reaction->insertReaction(1, 'post', 875155, Object(SV\DailyStatistics\XF\Entity\User), true, false)
#9 src/XF/ControllerPlugin/Reaction.php(65): XF\Repository\Reaction->reactToContent(1, 'post', 875155, Object(SV\DailyStatistics\XF\Entity\User), true)
#10 src/XF/ControllerPlugin/Reaction.php(19): XF\ControllerPlugin\Reaction->actionToggleReaction(Object(EWR\Atendo\Entity\Post), 'posts/reactions', 'posts')
#11 src/XF/ControllerPlugin/Reaction.php(12): XF\ControllerPlugin\Reaction->actionReact(Object(EWR\Atendo\Entity\Post), 'posts', 'posts/react', 'posts/reactions')
#12 src/XF/Pub/Controller/Post.php(368): XF\ControllerPlugin\Reaction->actionReactSimple(Object(EWR\Atendo\Entity\Post), 'posts')
#13 src/XF/Mvc/Dispatcher.php(321): XF\Pub\Controller\Post->actionReact(Object(XF\Mvc\ParameterBag))
#14 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Post', 'React', Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Post), NULL)
#15 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Pub\Controller\Post), NULL)
#16 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#17 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#18 src/XF.php(390): XF\App->run()
#19 index.php(20): XF::runApp('XF\\Pub\\App')
#20 {main}
Request state
array(4) {
  ["url"] => string(50) "/foruns/index.php?posts/875155/react&reaction_id=1"
  ["referrer"] => string(78) "https://mywebsite.com/foruns/index.php?threads/cool.31432/page-13"
  ["_GET"] => array(2) {
    ["posts/875155/react"] => string(0) ""
    ["reaction_id"] => string(1) "1"
  }
  ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(51) "/foruns/index.php?threads/cool.31432/page-13"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Back
Top Bottom