[Aerogear-users] aerogearjs error =/

Willy Aguirre marti1125 at gmail.com
Wed Dec 10 07:28:31 EST 2014


something like that

2014-12-09 16:40 GMT-05:00 Willy Aguirre <marti1125 at gmail.com>:

> wait... I have a virtual machine heheheh
>
> 2014-12-09 16:28 GMT-05:00 Willy Aguirre <marti1125 at gmail.com>:
>
> I am using winbug 7 XD I don't have curl
>>
>> 2014-12-09 16:02 GMT-05:00 Lucas Holmquist <lholmqui at redhat.com>:
>>
>> so 2 of those device tokens are actually mine  :)
>>>
>>>
>>> i was able to get messages on both chrome and firefox but using cURL
>>>
>>>
>>> curl -i --header "Content-Type:application/x-www-form-urlencoded" -X PUT
>>> -d "version=100” <THIS IS WERE YOU PUT YOUR DEVICE TOKEN URL>
>>>
>>> don’t forget to also update the version number on each request
>>>
>>> On Dec 9, 2014, at 3:59 PM, Willy Aguirre <marti1125 at gmail.com> wrote:
>>>
>>> yes, I am trying to send a message from admin ui
>>>
>>>
>>>
>>> 2014-12-09 15:27 GMT-05:00 Lucas Holmquist <lholmqui at redhat.com>:
>>>
>>>> Are you trying to push a message from the UnifiedPush admin UI?
>>>>
>>>> i know there use to be an issue sending to SimplePush Installations
>>>> from there,  do you see an installation in the Admin UI section?
>>>>
>>>> On Dec 9, 2014, at 3:24 PM, Willy Aguirre <marti1125 at gmail.com> wrote:
>>>>
>>>> thanks! http://marti1125.webfactional.com
>>>> when I push a message I can't see
>>>>
>>>> 2014-12-09 14:16 GMT-05:00 Lucas Holmquist <lholmqui at redhat.com>:
>>>>
>>>>> that is the url of the unified push server,  the url for the
>>>>> SimplePush server is slightly different,  if you click on “example
>>>>> implementaion",  there is a paragraph that should give you a hint
>>>>>
>>>>> in your case it would be something like
>>>>> https://aerogear-sgmes.rhcloud.com:8443/simplepush
>>>>>
>>>>> On Dec 9, 2014, at 1:52 PM, Willy Aguirre <marti1125 at gmail.com> wrote:
>>>>>
>>>>> yes...
>>>>>
>>>>> 2014-12-09 12:26 GMT-05:00 Lucas Holmquist <lholmqui at redhat.com>:
>>>>>
>>>>>> i just took another look and the code is in there.
>>>>>>
>>>>>> looks like you are getting CORS errors, and the polyfill is not
>>>>>> loading because of it.
>>>>>>
>>>>>> are you sure you have the correct URI for the simple push server?
>>>>>>
>>>>>> On Dec 9, 2014, at 12:13 PM, Lucas Holmquist <lholmqui at redhat.com>
>>>>>> wrote:
>>>>>>
>>>>>> thanks,  let me update it
>>>>>>
>>>>>> On Dec 9, 2014, at 12:11 PM, Willy Aguirre <marti1125 at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>
>>>>>> https://github.com/aerogear/aerogear-js-cookbook/tree/master/simplepush-unifiedpush-example
>>>>>>
>>>>>> 2014-12-09 12:05 GMT-05:00 Lucas Holmquist <lholmqui at redhat.com>:
>>>>>>
>>>>>>>
>>>>>>> On Dec 9, 2014, at 11:55 AM, Willy Aguirre <marti1125 at gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>> here you are
>>>>>>> http://marti1125.webfactional.com/
>>>>>>>
>>>>>>>
>>>>>>> interesting,  doesn’t look like the simplpush polyfill is in the
>>>>>>> aerogear.custom.js file.
>>>>>>>
>>>>>>> can you send the link of our repo where you got the code from,  so i
>>>>>>> can update it,  thanks
>>>>>>>
>>>>>>>
>>>>>>> 2014-12-09 11:47 GMT-05:00 Lucas Holmquist <lholmqui at redhat.com>:
>>>>>>>
>>>>>>>> hello,  do you have a link to the code you are running?
>>>>>>>>
>>>>>>>> On Dec 9, 2014, at 11:44 AM, Willy Aguirre <marti1125 at gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> I attached an image with the error
>>>>>>>>
>>>>>>>> I config with the following:
>>>>>>>>
>>>>>>>>  // config params for UnifiedPush server
>>>>>>>>     var variantId = "8db6fdd1-2416-4735-a31d-848036c3e19f";
>>>>>>>>     var variantSecret = "b81fee0b-a73a-4334-8163-10b72b856cea";
>>>>>>>>     var simplePushUrl = "
>>>>>>>> https://aerogear-sgmes.rhcloud.com/ag-push/";
>>>>>>>>     var unifiedPushUrl = "
>>>>>>>> https://aerogear-sgmes.rhcloud.com/ag-push/";
>>>>>>>>
>>>>>>>> --
>>>>>>>> Willy Aguirre | @willrre
>>>>>>>> Blog: http://osgux.tumblr.com/
>>>>>>>> Mozilla Rep: https://reps.mozilla.org/u/Willy/
>>>>>>>> Mozilla Hispano - Willyaguirre
>>>>>>>> <https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre>
>>>>>>>>  <aererror.png>_______________________________________________
>>>>>>>> Aerogear-users mailing list
>>>>>>>> Aerogear-users at lists.jboss.org
>>>>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Aerogear-users mailing list
>>>>>>>> Aerogear-users at lists.jboss.org
>>>>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Willy Aguirre | @willrre
>>>>>>> Blog: http://osgux.tumblr.com/
>>>>>>> Mozilla Rep: https://reps.mozilla.org/u/Willy/
>>>>>>> Mozilla Hispano - Willyaguirre
>>>>>>> <https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre>
>>>>>>>  _______________________________________________
>>>>>>> Aerogear-users mailing list
>>>>>>> Aerogear-users at lists.jboss.org
>>>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Aerogear-users mailing list
>>>>>>> Aerogear-users at lists.jboss.org
>>>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Willy Aguirre | @willrre
>>>>>> Blog: http://osgux.tumblr.com/
>>>>>> Mozilla Rep: https://reps.mozilla.org/u/Willy/
>>>>>> Mozilla Hispano - Willyaguirre
>>>>>> <https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre>
>>>>>>  _______________________________________________
>>>>>> Aerogear-users mailing list
>>>>>> Aerogear-users at lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Aerogear-users mailing list
>>>>>> Aerogear-users at lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Aerogear-users mailing list
>>>>>> Aerogear-users at lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Willy Aguirre | @willrre
>>>>> Blog: http://osgux.tumblr.com/
>>>>> Mozilla Rep: https://reps.mozilla.org/u/Willy/
>>>>> Mozilla Hispano - Willyaguirre
>>>>> <https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre>
>>>>>  <aerotest.png>_______________________________________________
>>>>> Aerogear-users mailing list
>>>>> Aerogear-users at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Aerogear-users mailing list
>>>>> Aerogear-users at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Willy Aguirre | @willrre
>>>> Blog: http://osgux.tumblr.com/
>>>> Mozilla Rep: https://reps.mozilla.org/u/Willy/
>>>> Mozilla Hispano - Willyaguirre
>>>> <https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre>
>>>>  _______________________________________________
>>>> Aerogear-users mailing list
>>>> Aerogear-users at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Aerogear-users mailing list
>>>> Aerogear-users at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>>
>>>>
>>>
>>>
>>> --
>>> Willy Aguirre | @willrre
>>> Blog: http://osgux.tumblr.com/
>>> Mozilla Rep: https://reps.mozilla.org/u/Willy/
>>> Mozilla Hispano - Willyaguirre
>>> <https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre>
>>>  <install.png>_______________________________________________
>>> Aerogear-users mailing list
>>> Aerogear-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>
>>>
>>>
>>> _______________________________________________
>>> Aerogear-users mailing list
>>> Aerogear-users at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/aerogear-users
>>>
>>>
>>
>>
>> --
>> Willy Aguirre | @willrre
>> Blog: http://osgux.tumblr.com/
>> Mozilla Rep: https://reps.mozilla.org/u/Willy/
>> Mozilla Hispano - Willyaguirre
>> <https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre>
>>
>
>
>
> --
> Willy Aguirre | @willrre
> Blog: http://osgux.tumblr.com/
> Mozilla Rep: https://reps.mozilla.org/u/Willy/
> Mozilla Hispano - Willyaguirre
> <https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre>
>



-- 
Willy Aguirre | @willrre
Blog: http://osgux.tumblr.com/
Mozilla Rep: https://reps.mozilla.org/u/Willy/
Mozilla Hispano - Willyaguirre
<https://www.mozilla-hispano.org/documentacion/Usuario:Willyaguirre>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20141210/d5fe1167/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: curlu.png
Type: image/png
Size: 93759 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/aerogear-users/attachments/20141210/d5fe1167/attachment-0001.png 


More information about the Aerogear-users mailing list