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.
Questions tagged [channel-api]
217 questions
1
vote
1 answer
Getting Channel Client ID for RequestFactory requests
Is there any way to get the Channel ID on the server or transmit it inside a RequestFactory call?
Situation:
User starts the application, a channel is being opened.
User persists an entity with RequestFactory…

Dominik
- 706
- 7
- 22
1
vote
1 answer
Channel API: will presence get a disconnected notification when token expires?
I have built an app on the Channel API, using the channel presence urls to keep track of connected clients.
I receive a ping at /_ah/channel/disconnected/ when clients go away. Will I receive a ping if the token expires while the front-end client is…

Anentropic
- 32,188
- 12
- 99
- 147
1
vote
1 answer
Checking client presence using Channel
I am currently developing an application on Google App Engine for one of my course project, and am now trying to come up with a side panel that will update itself whenever someone logs in and connect to my application. The purpose is to let other…

Edward Tan
- 11
- 1
1
vote
1 answer
GWT & channel API
Anyone have experience with appengine channel api with GWT? I have been following the BRIEF "How-to" provided with the googlecode . My question is how do we get the channelKey(token variable in the code below) in GWT? I am assuming you must use…

Patrick Jackson
- 18,766
- 22
- 81
- 141
1
vote
1 answer
App Engine Channel API's Javascript Client Isn't Using my onError Callback
I'm using App Engine's Channel API to maintain a connection between a Chrome extension and an App Engine app. You can see my Channel-related code here: https://github.com/2cloud/Chrome/blob/3fe70262ef69ae8286a057055f4108760560c47e/socket.js (The app…

Paddy
- 2,793
- 1
- 22
- 27
1
vote
1 answer
Google Channel API - How to test it locally?
I want to test my application which share messages between two users using google channel api, but I manage to see messages going only from one side to the other.
is it because I'm opening 2 channels on the same machine? I am running the…

Muky
- 3,584
- 3
- 19
- 20
1
vote
1 answer
How to keep track of the number of active user in a Channel API chat
I'm working on a small chat using the google Channel API and appengine. Is there an easy way to know how many users are active on the chat?
Thanks,
David

dbikard
- 491
- 1
- 4
- 13
1
vote
1 answer
Google App Engine Xmpp chat how to manage the status of the users?
It is easy to play with xmpp and the channel api to obtain a chat like...
http://www.dev-articles.com/article/Google-App-Engine-sending-messages-with-XMPP-393002
is an example, although I'm fighting a bit to understand the best way to manage the…

Luigi Agosti
- 925
- 10
- 19
1
vote
1 answer
Using GAE Channel's from a TaskQueue
I have been trying for some days to use the channel.send_message API in GAE (via Python) to send a message to a client when a TaskQueue process has finished. It just WON'T work.
I can use send_message from another request and it works fine and is…

ConfusedNoob
- 9,826
- 14
- 64
- 85
1
vote
1 answer
Channel API socket doesn't open on first load in Firefox
I have a 2 player cardgame app that I built using App Engine and the channel API. For the most part it works great, but I'm having a weird problem in Firefox.
When I enter a game in Firefox, I call socket.open, but nothing happens. I never get the…

Einar Egilsson
- 3,438
- 9
- 36
- 47
1
vote
1 answer
trying to understand Youtube Leanback implementation
in youtube leanback new application I can control the full-screen browser on my computer, using my android phone.
I'm trying to understand - how does it work?
For example, when I press "play" the movie starts playing. Now when I press play, it…

Lior Frenkel
- 806
- 11
- 25
1
vote
1 answer
Google App Engine Channel API and Chrome Extensions
Over Christmas I implemented some code to open a channel to my App Engine application using the channel API and it was working fine.
I recently returned to the code and find that it is broken, and the problem seems to lie in talkgadget that the…

Ronald S Wood
- 13
- 2
1
vote
1 answer
GAE: Channel API: ApplicationError: 1
GAE seems to throw an ApplicationError: 1 on some code that has worked before. It could be a general GEA problem or some version upgrade issue as the code last was used a while ago. How would I debug that error?
ApplicationError: 1 …

thomasf1
- 1,782
- 4
- 18
- 32
1
vote
0 answers
How reliable is the GAE Channel API /_ah/channel/disconnect channel_presence path?
I'm using the GAE Channel API to connect to clients in a Javascript webapp.
I've found in testing that the /_ah/channel/disconnect handler can take as long as 5-6 minutes to fire after my browsers internet connection is dropped.
I haven't found any…

jamis0n
- 3,610
- 8
- 34
- 50
1
vote
0 answers
Are Google App Engine channels reuseable?
I am looking into the possibility of using Google App Engine for a java app but need something like WebSockets. It seems that initially Google App Engine's channels supported reuse. But various posts around at least 2013 seemed to suggest that this…

user782220
- 10,677
- 21
- 72
- 135