Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscriptions Not Triggering Sometimes Even Though There Is Stable Internet #54

Closed
manum176 opened this issue Oct 30, 2018 · 8 comments
Closed
Assignees
Labels
bug Something isn't working pending-response Issue is pending response from the issue requestor

Comments

@manum176
Copy link

manum176 commented Oct 30, 2018

We are using the SDK for an android project. When the mutations are triggered from backend (Lambdas, APIs, etc.) the subscriptions are not getting invoked sometimes even though the internet connection is stable. After 3-4 retries, it will get invoked

Expected behaviour
The subscriptions should trigger in any case if there is a stable internet connection

Environment:

  • AppSync SDK Version: 2.6.26

Device Information:

  • Device: Samsung J8, Redmi Note 5 Pro
  • Android Version: Marshmallow 6.0, Oreo 8.1

Thanks in advance

@scb01
Copy link
Contributor

scb01 commented Oct 31, 2018

@manum176

Sorry to hear that you are running into issues. One of the areas to look into is to check if your subscriptions are active and not disconnected. Can you post logs from your logcat ( at the verbose setting) and I can look through to see if there are any connection drops. Also, can you share a code snippet from your app - specifically the subscription and the callback logic?

@scb01 scb01 added the investigating This issue is being investigated label Oct 31, 2018
@scb01
Copy link
Contributor

scb01 commented Nov 8, 2018

@manum176

The latest version of the SDK 2.6.27 contains a fix to set to the QoS to 1, which will give you at least once message delivery. Please try this out and let us know how you fare.

@scb01 scb01 added pending-response Issue is pending response from the issue requestor closing-soon and removed investigating This issue is being investigated labels Nov 8, 2018
@stale stale bot removed the closing-soon label Nov 8, 2018
@manum176
Copy link
Author

manum176 commented Nov 9, 2018

@cbommas
Thanks

Since the realtime updates were much critical for our project, we could not continue with AppSync. So we moved to some alternate solutions and hold AppSync for the time being.

However, we will check this and let you know.

@stale stale bot removed the closing-soon label Nov 9, 2018
@scb01
Copy link
Contributor

scb01 commented Nov 9, 2018

@manum176
sorry to hear that. Please let me know if you'd be willing to jump on a call with us to discuss your usecases/scenarios and the issue that you faced.

@manum176
Copy link
Author

manum176 commented Nov 9, 2018

@cbommas
Yes, we are ready for a call to discuss the issues. Please let me know how I can contact you

Thanks

@scb01
Copy link
Contributor

scb01 commented Nov 9, 2018

@manum176

Excellent. Please email ( chabom at amazon.com ) and I can get a bridge setup and invite folks from my side.

@frankmuellr frankmuellr added the bug Something isn't working label Nov 15, 2018
@scb01
Copy link
Contributor

scb01 commented Nov 15, 2018

@manum176

Just checking back as I haven't heard from you via email.

@scb01
Copy link
Contributor

scb01 commented Nov 15, 2018

@manum176
Apologies - i see that you sent me an email earlier today. Lets continue the conversation there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending-response Issue is pending response from the issue requestor
Projects
None yet
Development

No branches or pull requests

4 participants