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

IDB Database Closing Issue #2014

Open
manish-snappe opened this issue Jan 2, 2024 · 0 comments
Open

IDB Database Closing Issue #2014

manish-snappe opened this issue Jan 2, 2024 · 0 comments
Labels
bug Something isn't working needs triage

Comments

@manish-snappe
Copy link

Description

I am frequently getting this error and then the WhatsApp get disconnected. Any idea where I might be going wrong

Error [InvalidStateError]: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.

Environment

  • WPPConnect version(s): 1.28.4
  • MultiDevice (BETA): yes

Steps to Reproduce

Log Output

Error [InvalidStateError]: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
at C:\Projects\ServerWA\node_modules@wppconnect-team\wppconnect\dist\api\helpers\evaluate-and-return.js:107:31
at step (C:\Projects\ServerWA\node_modules@wppconnect-team\wppconnect\dist\api\helpers\evaluate-and-return.js:49:23)
at Object.next (C:\Projects\ServerWA\node_modules@wppconnect-team\wppconnect\dist\api\helpers\evaluate-and-return.js:30:53)
at fulfilled (C:\Projects\ServerWA\node_modules@wppconnect-team\wppconnect\dist\api\helpers\evaluate-and-return.js:21:58)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
JS Stack: Error: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
at we.create (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:38839)
at https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:30282
at https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:15228
at je (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:10440)
at Ye (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11197)
at Be (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11048)
Function: function (_a) {
var to = _a.to, content = _a.content, options = _a.options;
return WPP.chat.sendTextMessage(to, content, __assign(__assign({}, options), { waitForAck: true }));
} {
_e: {
name: 'Error',
message: '',
stack: 'Error\n' +
' at z (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:4041)\n' +
' at new r (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:5569)\n' +
' at Ae.rejectionMapper (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:56931)\n' +
' at Ue (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:9711)\n' +
' at je (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:10613)\n' +
' at Ye (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11197)\n' +
' at Be (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11048)'
},
inner: {
name: 'InvalidStateError',
message: "Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.",
stack: "Error: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.\n" +
' at we.create (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:38839)\n' +
' at https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:30282\n' +
' at https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:15228\n' +
' at je (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:10440)\n' +
' at Ye (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11197)\n' +
' at Be (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11048)'
}
}

@manish-snappe manish-snappe added bug Something isn't working needs triage labels Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant