pubnub / ruby

PubNub Ruby-based APIs
Other
121 stars 89 forks source link

Publishing message error #10

Open OccamTech opened 11 years ago

OccamTech commented 11 years ago

Hi,

I have found following errors while publishing to a channel to a ruby client . The channel is being subscribed by iOS as well as Android client. We faced an issue where android client was receiving duplicate messages where as iOS client received only a single message .

We ran test where we subscribed on the channel through Android , iOS as well as console. We noticed that sometimes console received a single message twice or thrice but there was only one message in history . Any idea why this is happening ???? screen shot 2013-08-27 at 7 29 13 pm

stephenlb commented 11 years ago

There is a known-bug with Dev Console where you will receive multiple messages. Please refresh your browser and the connections will be restored correctly.

On Tue, Aug 27, 2013 at 6:54 AM, Nitin Kappor notifications@github.comwrote:

Hi,

I have found following errors while publishing to a channel to a ruby client . The channel is being subscribed by iOS as well as Android client. We faced an issue where android client was receiving duplicate messages where as iOS client received only a single message .

We ran test where we subscribed on the channel through Android , iOS as well as console. We noticed that sometimes console received a single message twice or thrice but there was only one message in history . Any idea why this is happening ???? [image: screen shot 2013-08-27 at 7 29 13 pm]https://f.cloud.github.com/assets/745382/1034824/12777a6a-0f20-11e3-8864-9536ef1cde3f.png

— Reply to this email directly or view it on GitHubhttps://github.com/pubnub/ruby/issues/10 .

Cheers! Stephen Blum http://twitter.com/PubNub https://github.com/pubnub/pubnub-api - GitHub https://help.pubnub.com/ - Help Desk www.pubnub.com +1-425-830-6711

OccamTech commented 11 years ago

Hi Stephen,

While there may be a problem in the console program, our concern is that we are receiving it multiple times on the device. In fact that was the reason why we started investigating this. This issue is particularly severe on Android devices, though we are not yet sure how often it happens on Apple/iOS.

stephenlb commented 11 years ago

Yes thank you for the feedback, and I see why you have initially started the investigation. This may be a specific issue with an older Android SDK, we have recently posted a new one! Did you have a chance to review the upgrade to Android?

OccamTech commented 11 years ago

Hi Stephen,

We have on Android SDK 3.5.4.

stephenlb commented 11 years ago

Okay thank you for details. Can you send us your setup details to support@pubnub.com regarding the Android SDK, version number, Android OS version and any other relevant details? To confirm, this is a topic on Duplicate Messages on Android SDK, correct? Make sure to note that in the email to support email.

OccamTech commented 11 years ago

Hi Stephen

I have mailed details to support@pubnub.com

stephenlb commented 11 years ago

Excellent thank you greatly and we will be in touch.

On Aug 28, 2013, at 10:34 PM, Nitin Kappor notifications@github.com wrote:

Hi Stephen,

We have on Android SDK 3.5.4.

— Reply to this email directly or view it on GitHub.