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
6
votes
1 answer

Force Channel API to poll

Hopefully Moishe sees this: in development mode, the channel api client (javascript) resorts to polling... and uses a very fast polling rate. After poking around I found that if I set goog.appengine.Socket.POLLING_TIMEOUT_MS = interval; I can…
Nicholas Franceschina
  • 6,009
  • 6
  • 36
  • 51
6
votes
5 answers

Google app engine Channel API for COMET on non Javascript clients

How to use Google app engine Channel API for COMET on non JavaScript clients. I shall be writing a client in python or any other language, and can do HTTP or Socks from client. How shall I proceed, I want to know what is happening in backed of …
Tiwari
  • 1,014
  • 2
  • 12
  • 22
6
votes
1 answer

Google App Engine Channel API with custom domains

In my GAE app (Python) I have implemented multitenancy and multi-site support based on the host part of the request object. For example, www.foo.com/index.html and www.bar.com/index.html are both handled by the same app (e.g. myapp.appspot.com). The…
Ani
  • 1,377
  • 1
  • 18
  • 29
5
votes
2 answers

JavaScript errors when using Google App Engine's Channel API and development server

I'm writing a Python GAE app that uses the Channel API, and everything works fine except that I get non-fatal browser errors in the Firefox error console when using the development server. It's essentially the same with every Channel API…
Dragonfly
  • 814
  • 8
  • 12
5
votes
4 answers

Is it possible to have a GAE channel-API to iphone?

I want to try using channel-API between my GAE app and the iphone. I'm not sure where to start... should I try it with UIWebView that runs a javascript?
Lior Frenkel
  • 806
  • 11
  • 25
5
votes
3 answers

Intermittent error code 400, description "" on client connecting to channel

My Google App Engine app, which uses the Channel API works well some of the time. Intermittently, though, the js code connecting to the channel generates an error. In socket.onError, the error code is set to 400 and the description is set to an…
er0
  • 1,746
  • 2
  • 16
  • 31
4
votes
1 answer

GAE channel API reconnect

I'm working on a chat application on top of GAE and its Channel API. I have studied the doc and the provided examples, also looked through some of the answers around here, still I don't feel like I have the whole picture of the clientId/token…
4
votes
1 answer

Channel disconnect notification in channel api in google app engine

Im using my GAE application on my phone. I face a problem in getting the disconnect notification to /_ah/channel/disconnected in channels api even if i manually close the socket by socket.close() function. the post occurs after a delay of say one…
Hari
  • 83
  • 2
  • 9
4
votes
0 answers

Channel API closes a channel

First off, thank you @Moishe for the very useful API. I'm having a little timeout problem, maybe someone knows the answer. Here's how I open the channel: var openChannel = function () { var channel = new…
Milimetric
  • 13,411
  • 4
  • 44
  • 56
4
votes
1 answer

how is Billing for Channel API done?

I've chosen google-app-engine because of its scalability, and now I try to understand how much I will have to pay once I release the product. I've looked back and forth in the google app engine documentation to find an answer for question and…
Lior Frenkel
  • 806
  • 11
  • 25
4
votes
1 answer

Is there a GWT library to interface with the new AppEngine Channel API

I want to use the new channel API on the appengine side. My client is written in GWT. While I could write the client side in Javascript, I wanted to know if there is already a GWT library that does that? I found gwt-channel project but didn't see a…
Daghan ---
  • 1,147
  • 1
  • 9
  • 10
4
votes
1 answer

Google App Engine Channel API quota

I know that there are similar questions, but they aren't up to date anymore. I'd like to know how much it costs to create 1 / 10 / 100 / 1000 channels per day? I only find the pricing list, which doesn't mention channels, and the quota list, which…
vRallev
  • 4,982
  • 3
  • 31
  • 34
4
votes
1 answer

Can Google App Engine Channels be reused?

If a client disconnects from a Google App Engine channel, then can the service that created the channel reuse the corresponding token for another client? I realize that there have been previous questions on the best way of "pooling channels"…
er0
  • 1,746
  • 2
  • 16
  • 31
4
votes
1 answer

Google App Engine Channel API pricing: $0.01 or $0.001 for 100 channels?

I found two different prices for Google's Channel API. https://developers.google.com/appengine/docs/billing says: Channel opened $0.00001 ($0.001/100 channels) https://cloud.google.com/pricing/ says: $0.01 / 100 channels opened Are those sites…
Ingo
  • 1,552
  • 10
  • 31
4
votes
0 answers

Google Channel API /_ah/channel/connected/ not called while /_ah/channel/disconnected/ is

Using Google Channel API I find that /_ah/channel/disconnected/ is always called promptly while /_ah/channel/connected/ is not. Many times I never get a connect call and then get a disconnect call for a channel which the server has not been…
user1176505
  • 729
  • 5
  • 16
1
2
3
14 15