Bug when sending some notifications on ManiaHome

Discuss all the publishing tools, including ManiaHome, ManiaPub, ManiaFlash and ManiaPress in this forum

Moderator: NADEO

Post Reply
User avatar
jonthekiller
Translator
Translator
Posts: 4629
Joined: 15 Jun 2010, 11:07
Location: In Maniaplanet Alpha
Contact:

Bug when sending some notifications on ManiaHome

Post by jonthekiller »

Sometimes, I have an error to send several notifications on ManiaHome to a list of players. Here is the var_dump :

Code: Select all

 ["HTTPStatusCode":protected]=> int(403) ["HTTPStatusMessage":protected]=> string(9) "Forbidden" ["message":protected]=> string(0) "" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(90) "..../www/vendors/maniaplanet/Maniaplanet/WebServices/HTTPClient.php" ["line":protected]=> int(338) ["trace":"Exception":private]=> array(11) { [0]=> array(6) { ["file"]=> string(89) "..../www/vendors/maniaplanet/Maniaplanet/WebServices/ManiaHome.php" ["line"]=> int(89) ["function"]=> string(7) "execute" ["class"]=> string(34) "Maniaplanet\WebServices\HTTPClient" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> string(4) "POST" [1]=> string(32) "/maniahome/notification/private/" [2]=> array(1) { [0]=> object(Maniaplanet\WebServices\Notification)#227 (9) { ["senderName"]=> string(6) "mAactu" ["receiverName"]=> string(6) "sloxiz" ["message"]=> string(102) "$l[http://mania-actu.com/eng/articles/view/1315/C_Play_picks_up_a_Line_up]C.Play picks up a Line-up!$l" ["link"]=> string(6) "maactu" ["isPrivate"]=> bool(true) ["iconStyle"]=> string(13) "Icons128x32_1" ["iconSubStyle"]=> string(11) "ManiaPlanet" ["group"]=> NULL ["priority"]=> NULL }
Image
User avatar
magnetik
Posts: 1673
Joined: 01 Feb 2012, 19:13
Location: Bordeaux
Contact:

Re: Bug when sending some notifications on ManiaHome

Post by magnetik »

You are sending your request way too quickly.
We have recently added a 8 requests/s limitation.


By the way, you should not use private notification but public notification (without receiver) for your usage.
ManiaPlanet technical documentation portal (Dedicated, ManiaLink, ManiaScript, Titles...) -- contribute!
User avatar
jonthekiller
Translator
Translator
Posts: 4629
Joined: 15 Jun 2010, 11:07
Location: In Maniaplanet Alpha
Contact:

Re: Bug when sending some notifications on ManiaHome

Post by jonthekiller »

For me, I would like to send one notifications for a group of users where people can discuss about the subject. My list is from all people who add their ManiaPlanet account on their ManiaActu account and check the box to receive the notifications.
Image
Post Reply

Return to “Ingame Publishing”

Who is online

Users browsing this forum: No registered users and 1 guest