Skip to content

PWA on iOS sometimes crashes with an IndexedDB error#787

Description

@nimbleghost

馃悶 Describe the bug

When resuming the installed PWA from the background, it sometimes crashes with an error from IndexedDB/Dexie:

UnknownError: Attempt to get count from database without an in-progress transaction

馃捇 Components impacted

Web app, iOS only

馃挕 Screenshots and/or logs

UnknownError: Attempt to get count from database without an in-progress transaction
 UnknownError: Attempt to get count from database without an in-progress transaction
  at undefined (UnknownError: Attempt to get count from database without an in-progress transaction:undefined:undefined)
  at undefined ( UnknownError: Attempt to get count from database without an in-progress transaction:undefined:undefined)
  at timeout (https://staging.ntfy.sh/static/media/index-06629207.js:62485:222)
  at t (https://staging.ntfy.sh/static/media/index-06629207.js:4036:221)
  at zh ([native code]:undefined:undefined)
  at timeout (https://staging.ntfy.sh/static/media/index-06629207.js:24470:222)
  at t (https://staging.ntfy.sh/static/media/index-06629207.js:5832:221)
 
UnknownError: Attempt to get count from database without an in-progress transaction
 UnknownError: Attempt to get count from database without an in-progress transaction
  at Rq@https://staging.ntfy.sh/static/media/index-06629207.js:336:71367
  at x8@https://staging.ntfy.sh/static/media/index-06629207.js:240:3960
  at O8@https://staging.ntfy.sh/static/media/index-06629207.js:240:6876
  at QH@https://staging.ntfy.sh/static/media/index-06629207.js:317:5812
  at withI18nextTranslation(QH)@https://staging.ntfy.sh/static/media/index-06629207.js:268:3139
  at i$@https://staging.ntfy.sh/static/media/index-06629207.js:61:18625
  at s$@https://staging.ntfy.sh/static/media/index-06629207.js:61:19028
  at Q$@https://staging.ntfy.sh/static/media/index-06629207.js:61:29591
  at A8@https://staging.ntfy.sh/static/media/index-06629207.js:240:6337
  at M8@https://staging.ntfy.sh/static/media/index-06629207.js:249:781
  at Suspense
  at Aq@https://staging.ntfy.sh/static/media/index-06629207.js:336:70571

馃敭 Additional context

WebKit Bug: https://bugs.webkit.org/show_bug.cgi?id=197050

Other projects that ran into the same or similar issue

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    iosntfy iOS appweb-appWeb app things馃 bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions