Questions tagged [channel-api]

The Channel API creates a persistent connection between your application and Google servers, allowing your application to send messages to JavaScript clients in real time without the use of polling.

217 questions
0
votes
1 answer

Close GAE channel from server side Python

In the client side is possible close the socket with connection.close(), but its possible close it from the server side?
alei
  • 66
  • 3
0
votes
1 answer

What's wrong with my channel api code?

I've been working on getting a website together with GAE and the channel api to display and process real time data from a robot I'm working on. I'm pretty new to web development, and python in general, but it seems to me like this code should work…
smath
  • 65
  • 6
0
votes
1 answer

Google App Engine Channel presence handler throwing exceptions

I'm experiencing this with the SDK running locally on my Mac. I am trying to establish presence handling. I've created a simple servlet that does nothing but logging. However, I'm getting the following exception on any connection and…
Chuck
  • 1,850
  • 2
  • 17
  • 28
0
votes
1 answer

Channel API and server affinity

As GAE instances are added and removed how does the Channel API work to maintain a connection between a server and a client browser. That is, does a single server maintain the connection and is solely responsible for pushing out messages to the…
user782220
  • 10,677
  • 21
  • 72
  • 135
0
votes
1 answer

can xmpp on google app engine push message to javascript client

I am creating a website on google app engine and I want to allow users to chat with each other just like gmail.I have read that there are 2 options - xmpp and channel api. Now I want to know,can the xmpp sever on gae talk to javascript clients and…
vishesh
  • 2,007
  • 6
  • 32
  • 67
0
votes
1 answer

python Channel API expiry and usage in google app engine

I want to use the channel api to push updates to open pages, What I have done so far is to store the page client ids in ndb - I have included a code summary My question is: How do I manage closed pages and expired tokens? and is this the best way to…
user784435
0
votes
4 answers

getting started

I want to create an app like https://apprtc.appspot.com/?r=04188292. I know a little bit about webrtc but cannot get a hold of google app-engine.How to set it up for javascript and start coding??I tried this but it did not work
Vaibhav
  • 703
  • 1
  • 7
  • 18
0
votes
1 answer

How to write a Webapp2 Request Handler to Allow Client to Get Data after receiving Channel API message

As a follow up to another question I asked, I have a basic question about the easiest way to get a webapp2 python server to provide json data that is too large (about 100 kb) to send as a Channel API message to a client . The webapp2 server…
dave
  • 59
  • 5
0
votes
2 answers

Sitebricks and Channel Presence Service (GAE); Also having trouble with normal servlets

In my Java Google App Engine server application, I would like to enable Channel Presence servlets in order to track connections/disconnections to/from my channels using the Channel API (as described here. I have already edited my…
ecbrodie
  • 11,246
  • 21
  • 71
  • 120
0
votes
1 answer

How do I get GWT to receive the token created by the Python GAE Channel API?

I would like to use the GAE Channel API (Python 2.7) with my GWT app (using GWT-GAE-Channel), and I am having trouble figuring out how to get the token created on the server side Python into my GWT app ("index.html" in this example) so that the…
dave
  • 59
  • 5
0
votes
3 answers

Google Channel API message from JavaScript client to server

After a while I got the first part of the Google Channel API working. Now I have some problems with sending a message from the JavaScript client to the server. Here is the servlet for the Google Channel API connection: public void…
Andre Hofmeister
  • 3,185
  • 11
  • 51
  • 74
0
votes
1 answer

Gracefully handling closed channel with GAE channel api

I am creating a web application using Google App Engine with the Channel API. This is my first attempt at doing anything Ajax-like, and I suspect there is a standard technique for solving my problem, but I've been unable to find it. My client…
jpl
  • 38
  • 1
  • 1
  • 6
0
votes
1 answer

GAE channel API chat

Currently im trouble shooting some code that I wrote to create a chat room. I will include the code if necessary but for now I just wanted to hear some possibilities for the problem im having. So basically I have client1 that is listening to a…
David
  • 65
  • 1
  • 2
  • 8
0
votes
1 answer

Google App Engine Channel API MESSAGE QUEUES

If a client is connected and then disconnects - say his connection is lost for 5 mins; does the server queue the messages that can't be delivered? On the local development server this seems to be the case? If this is the case in production - how…
spidee
  • 557
  • 1
  • 6
  • 21
0
votes
1 answer

AppEngine ChannelAPI WARNING: No file found for: /_ah/channel/connected/

in my web.xml channelConnected ChannelConnected channelConnected
JR Galia
  • 17,229
  • 19
  • 92
  • 144
1 2 3
14
15