Have you tried referencing "http://127.0.0.1:80/yourappname/_ah/
channel/" for the script src attribute?



On Aug 27, 12:16 pm, Juha <juha.palom...@gmail.com> wrote:
> I would like to create a Javascript that:
> - Could be included on any web page
> - Would connect to my App Engine application and retrieve data via the
> Channel API
>
> For example
> - 127.0.0.1:8000 Regular web server, hosting an example web page
> - 127.0.0.1:80 App Engine dev server with the channels and with the
> script
>
> To my understanding this should be possible, as my script and the
> Channel API Javascripts are hosted on App Engine. So cross-site
> limitations should not be an issue. Correct?
>
> With the current dev-channel-js.js that comes with the SDK I can't get
> this working. The dev-channel-js.js does not explicitly specify the
> hostname (and port) of the App Engine dev server. Instead just
> specifies the url (/_ah/channel/).  This means that in my example
> case, it tries to connect tohttp://127.0.0.1:8000/_ah_channel/dev
> [...]
>
> Is this a use case that will be supported on production, once the
> channel API becomes publicly available?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to