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:
Go to Dashboard Event
Click on Event Created
Type a comment and click to ADD COMMENT
See error in console.
Screenshots
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):
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:
Screenshots
Environment(please complete the following information):
Device Information (please complete the following information):