[aerogear-dev] Mysterious warning when sending push

Jose Miguel Gallas Olmedo jgallaso at redhat.com
Wed Jan 25 11:38:34 EST 2017


No, it just sends "null". But that does not seem to be an issue for the
first app :/

On 25 January 2017 at 15:56, Matthias Wessendorf <mwessend at redhat.com>
wrote:

> and the tool that intercepts the requests also sends back some meaning
> full reponse ?
>
> like described here:
> https://firebase.google.com/docs/cloud-messaging/send-
> message#http_response
>
>
>
> On Wed, Jan 25, 2017 at 3:49 PM, Jose Miguel Gallas Olmedo <
> jgallaso at redhat.com> wrote:
>
>> Yes, the proxy is up and the -Dcustom.aerogear.fcm.push.host is set, the
>> notifications are actually being sent.
>>
>> On 25 January 2017 at 15:44, Matthias Wessendorf <mwessend at redhat.com>
>> wrote:
>>
>>> endpoints for thje /fcm/send mock are setup ?
>>>
>>>
>>>
>>> On Wed, Jan 25, 2017 at 2:07 PM, Jose Miguel Gallas Olmedo <
>>> jgallaso at redhat.com> wrote:
>>>
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Jose Miguel Gallas Olmedo <jgallaso at redhat.com>
>>>> Date: 25 January 2017 at 13:00
>>>> Subject: Mysterious warning when sending push
>>>> To: AeroGear Developer Mailing List <aerogear-dev at lists.jboss.org>
>>>>
>>>>
>>>> Hi all,
>>>>
>>>> I have some phenomenon here. I have created 4 variants with 100 fake
>>>> tokens and sending 1 push through the mock FCM server. What I got is 400
>>>> (401 to be exact) receivers so it seems to work OK.
>>>>
>>>> These are the 4 variants (the order is important):
>>>>
>>>>
>>>> However ONLY on 2nd to 4nd variant I got this warning:
>>>>
>>>>>>>>
>>>> The first variant in the list is not getting the error. I created them
>>>> in order (0 - 3) so this does not matter because the 0 (second in the list)
>>>> is receiving the warning but the 1 (first in the list) is not.
>>>>
>>>> ​Look what happens if I delete the first variant in the list and send
>>>> another notification:
>>>>
>>>>>>>> ​(Now the first in the list is variant 0, the former 2nd in the list)
>>>>
>>>>
>>>>
>>>> ​This is no longer receiving the warning!​
>>>>>>>>
>>>> Here is the log from the console:
>>>> https://gist.github.com/josemigallas/69db6619a46bafafc9ae028a29b343f7
>>>>>>>>>>>> So what do you think? Bug? It does not seem to be related with the fact
>>>> that I am using the FCM proxy... or does it? Maybe I'm missing something
>>>> obvious.
>>>>
>>>> Cheers,
>>>>
>>>>>>>> --
>>>> *Jose Miguel Gallas Olmedo*
>>>> Associate QE at Mobile Team, *Red Hat*
>>>> <https://www.redhat.com/en/technologies/mobile/application-platform>
>>>> +34 618 488 633 <+34%20618%2048%2086%2033>
>>>>
>>>>
>>>>
>>>> --
>>>> *Jose Miguel Gallas Olmedo*
>>>> Associate QE at Mobile Team, *Red Hat*
>>>> <https://www.redhat.com/en/technologies/mobile/application-platform>
>>>> +34 618 488 633 <+34%20618%2048%2086%2033>
>>>>
>>>
>>>
>>>
>>> --
>>> Project lead AeroGear.org
>>>
>>
>>
>>
>> --
>> *Jose Miguel Gallas Olmedo*
>> Associate QE at Mobile Team, *Red Hat*
>> <https://www.redhat.com/en/technologies/mobile/application-platform>
>> +34 618 488 633 <+34%20618%2048%2086%2033>
>>
>
>
>
> --
> Project lead AeroGear.org
>



-- 
*Jose Miguel Gallas Olmedo*
Associate QE at Mobile Team, *Red Hat*
<https://www.redhat.com/en/technologies/mobile/application-platform>
+34 618 488 633
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170125/0f1c6495/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mys-4.png
Type: image/png
Size: 44521 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170125/0f1c6495/attachment-0004.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mys-3.png
Type: image/png
Size: 30577 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170125/0f1c6495/attachment-0005.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mys-2.png
Type: image/png
Size: 38120 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170125/0f1c6495/attachment-0006.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mys-1.png
Type: image/png
Size: 48252 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/aerogear-dev/attachments/20170125/0f1c6495/attachment-0007.png 


More information about the aerogear-dev mailing list