amplify-js: DataStore upgrading from 2.2.6 to 2.2.7+ breaks realtime data

Describe the bug After upgrading the DataStore from version 2.2.6 to 2.2.7, the following error is printed in the console right after the DataStore is ready:

[DEBUG] 46:46.527 AWSAppSyncRealTimeProvider - closing WebSocket...

DataStore version 2.2.7 introduces some bug fix I need:

This issue persists even in the latest DataStore version (2.2.9), and while having all the other Amplify packages up-to-date.

I have these packages installed:

Downgrading the DataStore version to 2.2.6 fixes this issue, but leaves me without the bug fixes.

Expected behavior I expect realtime data to keep working after upgrading to the latest version of the DataStore.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 66 (31 by maintainers)

Most upvoted comments

@mdoesburg just merged the PR, so please try with the latest unstable versions

@iartemiev Yeah go ahead and close it.

Got it, thank you. I will attempt to reproduce and will get back to you if I need more info