Doh!
Sorry to have you guys fix my typo. I corrected my typo ("/" -->
":"), and
the quick-start example works now. Awesome.
Thanks so much!
Michi
On Thu, Mar 27, 2014 at 1:23 PM, Sebastien Blanc <scm.blanc(a)gmail.com>wrote:
On Thu, Mar 27, 2014 at 6:18 PM, Matthias Wessendorf <matzew(a)apache.org>wrote:
> Hello Michi!
>
> thanks for the interest; I _just_ created a new instance, and I got the
> conenction to the SPS established.
>
> In here:
>
>
https://github.com/aerogear/aerogear-simplepush-unifiedpush-quickstart/bl...
>
> Make sure you are using "https://aerogear-****.
>
rhcloud.com/8443/simplepush"
>
I suppose it's a typo here "https://aerogear-****.
rhcloud.com:8443/simplepush <
http://rhcloud.com/8443/simplepush>" and not
"https://aerogear-****.rhcloud.com/8443/simplepush"
>
>
>
>
>
>
> On Thu, Mar 27, 2014 at 5:56 PM, Michi Oshima <michi.oshima(a)gmail.com>wrote:
>
>> Chrome, Version 33.0.1750.152, on Mac OS X.
>>
>>
>> On Thu, Mar 27, 2014 at 12:55 PM, Lucas Holmquist
<lholmqui(a)redhat.com>wrote:
>>
>>> what browser are you using?
>>> On Mar 27, 2014, at 12:46 PM, Michi Oshima <michi.oshima(a)gmail.com>
>>> wrote:
>>>
>>> Hi,
>>>
>>> I'm currently looking into AeroGear Push Server (Simple with Unified).
>>>
>>> For prototyping, I pieced together the following environment:
>>>
>>> 1. "AeroGear Push Server
0.10.0<https://www.openshift.com/quickstarts/aerogear-push-0x>"
>>> cartridge running as an OpenShift application.
>>> 2. Git cloned
aerogear-simplepush-unifiedpush-quickstart<https://github.com/aerogear...
>>>
>>> I edited unifiedpush.js so it points to my OpenShift application. Then
>>> I open index.html in a browser and I get the following error:
>>>
>>>
>>> - XMLHttpRequest cannot load
https://aerogear-****.
>>>
rhcloud.com/8443/simplepush/info. No
'Access-Control-Allow-Origin'
>>> header is present on the requested resource. Origin '
>>>
http://127.0.0.1:9000' is therefore not allowed access.
>>>
>>> (OK, I got the error from when hosted the index.html on a web server
>>> running locally. But I get pretty much the same result from just opening
>>> index.html from the file system.)
>>>
>>> Does this mean that simple push server on my OpenShift application does
>>> not support CORS? Or, am I not doing something right?
>>>
>>> Thanks,
>>>
>>> Michi
>>>
>>> _______________________________________________
>>> aerogear-dev mailing list
>>> aerogear-dev(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>
>>>
>>>
>>> _______________________________________________
>>> aerogear-dev mailing list
>>> aerogear-dev(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>>
>>
>>
>> _______________________________________________
>> aerogear-dev mailing list
>> aerogear-dev(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog:
http://matthiaswessendorf.wordpress.com/
> sessions:
http://www.slideshare.net/mwessendorf
> twitter:
http://twitter.com/mwessendorf
>
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/aerogear-dev
>
_______________________________________________
aerogear-dev mailing list
aerogear-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear-dev