[Aerogear-users] aerogearjs error =/

Lucas Holmquist lholmqui at redhat.com
Tue Dec 9 14:16:10 EST 2014


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 <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 <mailto: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 <mailto:lholmqui at redhat.com>> wrote:
>> 
>> thanks,  let me update it
>>> On Dec 9, 2014, at 12:11 PM, Willy Aguirre <marti1125 at gmail.com <mailto:marti1125 at gmail.com>> wrote:
>>> 
>>> https://github.com/aerogear/aerogear-js-cookbook/tree/master/simplepush-unifiedpush-example <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 <mailto:lholmqui at redhat.com>>:
>>> 
>>>> On Dec 9, 2014, at 11:55 AM, Willy Aguirre <marti1125 at gmail.com <mailto:marti1125 at gmail.com>> wrote:
>>>> 
>>>> here you are 
>>>> http://marti1125.webfactional.com/ <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 <mailto: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 <mailto: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/ <https://aerogear-sgmes.rhcloud.com/ag-push/>";
>>>>>     var unifiedPushUrl = "https://aerogear-sgmes.rhcloud.com/ag-push/ <https://aerogear-sgmes.rhcloud.com/ag-push/>";
>>>>> 
>>>>> -- 
>>>>> Willy Aguirre | @willrre
>>>>> Blog: http://osgux.tumblr.com/ <http://osgux.tumblr.com/>
>>>>> Mozilla Rep: https://reps.mozilla.org/u/Willy/ <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 <mailto:Aerogear-users at lists.jboss.org>
>>>>> https://lists.jboss.org/mailman/listinfo/aerogear-users <https://lists.jboss.org/mailman/listinfo/aerogear-users>
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Aerogear-users mailing list
>>>> Aerogear-users at lists.jboss.org <mailto:Aerogear-users at lists.jboss.org>
>>>> https://lists.jboss.org/mailman/listinfo/aerogear-users <https://lists.jboss.org/mailman/listinfo/aerogear-users>
>>>> 
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> Willy Aguirre | @willrre
>>>> Blog: http://osgux.tumblr.com/ <http://osgux.tumblr.com/>
>>>> Mozilla Rep: https://reps.mozilla.org/u/Willy/ <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 <mailto:Aerogear-users at lists.jboss.org>
>>>> https://lists.jboss.org/mailman/listinfo/aerogear-users <https://lists.jboss.org/mailman/listinfo/aerogear-users>
>>> 
>>> 
>>> _______________________________________________
>>> Aerogear-users mailing list
>>> Aerogear-users at lists.jboss.org <mailto:Aerogear-users at lists.jboss.org>
>>> https://lists.jboss.org/mailman/listinfo/aerogear-users <https://lists.jboss.org/mailman/listinfo/aerogear-users>
>>> 
>>> 
>>> 
>>> 
>>> -- 
>>> Willy Aguirre | @willrre
>>> Blog: http://osgux.tumblr.com/ <http://osgux.tumblr.com/>
>>> Mozilla Rep: https://reps.mozilla.org/u/Willy/ <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 <mailto:Aerogear-users at lists.jboss.org>
>>> https://lists.jboss.org/mailman/listinfo/aerogear-users <https://lists.jboss.org/mailman/listinfo/aerogear-users>
>> 
>> _______________________________________________
>> Aerogear-users mailing list
>> Aerogear-users at lists.jboss.org <mailto:Aerogear-users at lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/aerogear-users <https://lists.jboss.org/mailman/listinfo/aerogear-users>
> 
> 
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org <mailto:Aerogear-users at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/aerogear-users <https://lists.jboss.org/mailman/listinfo/aerogear-users>
> 
> 
> 
> 
> -- 
> Willy Aguirre | @willrre
> Blog: http://osgux.tumblr.com/ <http://osgux.tumblr.com/>
> Mozilla Rep: https://reps.mozilla.org/u/Willy/ <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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20141209/16884c21/attachment-0001.html 


More information about the Aerogear-users mailing list