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

Safari Failed to execute 'transaction' #850

Open
woutervanwijk opened this issue Dec 1, 2021 · 11 comments
Open

Safari Failed to execute 'transaction' #850

woutervanwijk opened this issue Dec 1, 2021 · 11 comments
Labels
problem An unconfirmed bug.

Comments

@woutervanwijk
Copy link

woutervanwijk commented Dec 1, 2021

Steps to Reproduce
Running an app with Hive (thanks btw, great!) gives this error when running the web-version in Safari, not in Firefox and Chrome:

"Unhandled Promise Rejection: NotFoundError: Failed to execute 'transaction' on 'IDBDatabase': One of the specified object stores was not found."

This was also reported in #812 But that was only closed because the submitter removed Hive.

Code sample

var box = await Hive.openBox('abc');
box.put('abc', 'cde');

and run the web-version in Safari

Version

  • Platform: Web, Safari
  • Flutter version: 2.5.3
  • Hive version: hive: ^2.0.4 and hive_flutter: ^1.1.0
@woutervanwijk woutervanwijk added the problem An unconfirmed bug. label Dec 1, 2021
@GP4cK
Copy link

GP4cK commented Aug 12, 2022

We're tracking this with Sentry and we've also seen this on Chrome and Edge.
EDIT: further details on this, we're using ferry with hive as cache and apparently there's an issue that there is a memory leak. Maybe it's related(?)

@puspharaj-teachspot
Copy link

This pops-up in dart 3.10.0, please fix it! especially this happens firebase hosting release of flutter web.

@thuanlegit
Copy link

This pops-up in dart 3.10.0, please fix it! especially this happens firebase hosting release of flutter web.

Same here. The message is InvalidStateError: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.

@bueltan
Copy link

bueltan commented Jul 15, 2023

DOMException: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.

Same here with chromium Version 114.0.5735.198 (Official Build) built on Debian 11.7, running on Debian 11.7 (64-bit)
and chrome Version 114.0.5735.198 (Official Build) (64-bit)

@AliEasy
Copy link

AliEasy commented Aug 12, 2023

Experiencing the same problem here

@abigotado
Copy link

abigotado commented Aug 24, 2023

Any reaction or updates? Experiencing the same problem

#famedly/matrix-dart-sdk#1533

@nqhhdev
Copy link

nqhhdev commented Sep 12, 2023

Any update?

@adar2378
Copy link

Any update on this?

@Avejack
Copy link

Avejack commented Feb 2, 2024

I have this same problem and it makes my whole App unusable... Any news on that? Do i have to migrate away from Hive?

@Binozo
Copy link

Binozo commented Jun 2, 2024

Having the same problem, seems to only occur on iOS in my case 🤔

@neoacevedo
Copy link

Uhm... seems hive won't give anymore support for web?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem An unconfirmed bug.
Projects
None yet
Development

No branches or pull requests