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

Subscription failure #356

Open
FabianReyesSP opened this issue Jul 8, 2021 · 0 comments
Open

Subscription failure #356

FabianReyesSP opened this issue Jul 8, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@FabianReyesSP
Copy link

FabianReyesSP commented Jul 8, 2021

Describe the bug
Use to example EventApp from AWS AppSync, Subscriptions return a error:

E/ViewEventActivity: Subscription failure com.apollographql.apollo.exception.ApolloException: Failed to parse subscription response: {errors=[{errorType=BadRequestException, message=Subscriptions over MQTT is not supported.}]} at com.apollographql.apollo.internal.interceptor.AppSyncSubscriptionInterceptor$1$1.run(AppSyncSubscriptionInterceptor.java:105) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:923) Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object java.util.Map.get(java.lang.Object)' on a null object reference at com.apollographql.apollo.internal.interceptor.AppSyncSubscriptionInterceptor$1$1.run(AppSyncSubscriptionInterceptor.java:79) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)  at java.lang.Thread.run(Thread.java:923) 

To Reproduce
Steps to reproduce the behavior:

  1. Go to Dashboard Event
  2. Click on Event Created
  3. Type a comment and click to ADD COMMENT
  4. See error in console.

Screenshots
Screen Shot 2021-07-07 at 19 21 11

Environment(please complete the following information):

  • AppSync SDK Version: 3.6.1
  • Android Studio Version: 4.2.2

Device Information (please complete the following information):

  • Device: OnePlus IN2020
  • Android Version: 11
@gpanshu gpanshu added the pending-triage Issue is pending triage label May 1, 2023
@gpanshu gpanshu added bug Something isn't working and removed pending-triage Issue is pending triage labels Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants