<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">what browser are you using?<br><div><div>On Mar 27, 2014, at 12:46 PM, Michi Oshima &lt;<a href="mailto:michi.oshima@gmail.com">michi.oshima@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi,<div><br></div><div>I'm currently looking into AeroGear Push Server (Simple with Unified).</div><div><br></div><div>For prototyping, I pieced together the following environment:</div><div><br></div><div>
1. "<a href="https://www.openshift.com/quickstarts/aerogear-push-0x">AeroGear Push Server 0.10.0</a>" cartridge running as an OpenShift application.</div><div>2. Git cloned <a href="https://github.com/aerogear/aerogear-simplepush-unifiedpush-quickstart">aerogear-simplepush-unifiedpush-quickstart</a></div>
<div><br></div><div>I edited unifiedpush.js so it points to my OpenShift application. &nbsp;Then I open index.html in a browser and I get the following error:</div><div><br></div><div><ul><li>XMLHttpRequest cannot load <a href="https://aerogear-/">https://aerogear-</a>****.<a href="http://rhcloud.com/8443/simplepush/info">rhcloud.com/8443/simplepush/info</a>. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '<a href="http://127.0.0.1:9000/">http://127.0.0.1:9000</a>' is therefore not allowed access.&nbsp;<br>
</li></ul></div><div>(OK, I got the error from when hosted the index.html on a web server running locally. &nbsp;But I get pretty much the same result from just opening index.html from the file system.)</div><div><br></div><div>
Does this mean that simple push server on my OpenShift application does not support CORS? &nbsp;Or, am I not doing something right?</div><div><br></div><div>Thanks,</div><div><br></div><div>Michi</div><div><br></div></div>
_______________________________________________<br>aerogear-dev mailing list<br><a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>https://lists.jboss.org/mailman/listinfo/aerogear-dev</blockquote></div><br></body></html>