santanusinha / dropwizard-atmosphere-stub

A stub project for using Dropwizard 0.6.x with Atmosphere 2.0.x
7 stars 3 forks source link

Long-polling does not work with this setup #1

Open jellybams opened 10 years ago

jellybams commented 10 years ago

I just tried changing the transport on the client to "long-polling" and the client no longer connects. Instead I'm seeing rapid fire GET requests being fired off to /chat (about 250ms apart). Any idea why?

santanusinha commented 10 years ago

Is the client version that you are using the same as the atmosphere lib in the project? I've seen atmosphere to be a little sensitive to this issue...

jellybams commented 10 years ago

I'm using your atmosphere client lib. I literally cloned your repo and followed the steps in the README to build and run the app.

Once I got the websocket transport working, I changed the client config to use long-polling and it no longer worked.

santanusinha commented 10 years ago

OOh .. will get back to you..