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@gmail.com> wrote:

yes...

2014-12-09 12:26 GMT-05:00 Lucas Holmquist <lholmqui@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@redhat.com> wrote:

thanks,  let me update it
On Dec 9, 2014, at 12:11 PM, Willy Aguirre <marti1125@gmail.com> wrote:


2014-12-09 12:05 GMT-05:00 Lucas Holmquist <lholmqui@redhat.com>:

On Dec 9, 2014, at 11:55 AM, Willy Aguirre <marti1125@gmail.com> wrote:


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@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@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/";
<aererror.png>_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users


_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users




--
_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users


_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users




--
_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users

_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users


_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users




--
<aerotest.png>_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-users