his / gwt-gae-channel

Automatically exported from code.google.com/p/gwt-gae-channel
0 stars 0 forks source link

Call to channel.open() fails silently #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Hello,

I am currently building a GWT + GAE app that uses Channels, thanks to the 
http://code.google.com/p/gwt-gae-channel/ library.
Everything goes well locally (both hosted and web mode), but when the deployed 
app fails silently.

I have several pages, and would like to use a Channel in several of them. From 
what I read from the GAE doc, you can have only one Channel open at any given 
time on one page.
I thus decided to reuse my Channel across the different pages (for now storing 
it as a static on the client side).

First page

On my landing page, I call ChannelFactory.createChannel(final String clientId, 
final ChannelCreatedCallback callback).

and in the callback, I do channel.open(SocketListener)

Second page
On the next page, I simply get the reference to the channel, and again call 
channel.open(SocketListener)
At that point, nothing happens, and no log is produced.

Looking at the quota detail in the appengine dashboard, I can confirm that only 
1 channel is opened, so it should not be an issue with this.

The test application can be found at: 
http://test.latest.thefiveorbs2.appspot.com/ (simply click on register, and 
fill in the mandatory fields - the issue occurs when clicking on Register)

Would you have any idea as to what is going on?

Original issue reported on code.google.com by sebastie...@gmail.com on 12 Jul 2011 at 9:35

GoogleCodeExporter commented 9 years ago
I'm seeing the same issue with my app.. :(

Original comment by benoit.h...@gmail.com on 31 Jan 2014 at 9:59