-
Notifications
You must be signed in to change notification settings - Fork 266
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
Observer is null in _timeoutStartSubscriptionAck #544
Labels
subscription-link
Related to AppSync Subscription Link issues
to-be-reproduced
We need to reproduce this issue
Milestone
Comments
elorzafe
added
to-be-reproduced
We need to reproduce this issue
subscription-link
Related to AppSync Subscription Link issues
labels
Apr 15, 2020
I am getting the same error when calling
This is the method in my vue app :
|
This was referenced Jan 7, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
subscription-link
Related to AppSync Subscription Link issues
to-be-reproduced
We need to reproduce this issue
Do you want to request a feature or report a bug?
I want to report a bug
What is the current behavior?
I can't say if this is a bug that happens only in development mode (react native) or also in production, but when the app reloads after changes have been made to the js code I get an error
TypeError: Cannot read property 'error' of null
.Looking at the stack trace I could find the origin of the error in the method
AppSyncRealTimeSubscriptionHandshakeLink._timeoutStartSubscriptionAck
I believe the reason is that
observer
isnull
in some situations (can't say when).If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
createSubscriptionHandshakeLink
to link subs to ApolloClientuseSubscription
What is the expected behavior?
Which versions and which environment (browser, react-native, nodejs) / OS are affected by this issue? Did this work in previous versions?
The text was updated successfully, but these errors were encountered: