OpenWA icon indicating copy to clipboard operation
OpenWA copied to clipboard

[Bug]: QR is not generating in session in dashboard

Open rabadiaanurag opened this issue 4 months ago • 3 comments

Pre-flight

  • [x] I searched existing issues and this isn't a duplicate
  • [x] I'm on the latest released version (or noted my version below)

OpenWA version

v0.8.14

Deployment

Other (describe below)

Database

SQLite (default)

WhatsApp engine

whatsapp-web.js

What happened?

There are 2 issues.

  1. in dashboard sessions section "create session" button removed. please add it. it helps a lot.
  2. and when we create a session using api and we start it for qr then it stuck in below screen. QR is not displaying.

in previous versions bith issue were not there. it was perfect. Image

Steps to reproduce

Expected behavior

No response

Relevant logs


Environment / additional context

OpwnWA v0.8.14 using in windows node environment.

Note: when we use ENGINE_TYPE=baileys then no this issue. this issue only with ENGINE_TYPE = whatsapp-web.js

rabadiaanurag avatar Jul 10 '26 12:07 rabadiaanurag

@rabadiaanurag The button is visible at the top of the page, but it's hidden. I think it will appear when you hover the mouse over the top. This is a problem with the button's CSS.

onepay-ye avatar Jul 10 '26 15:07 onepay-ye

@onepay-ye Thanks, yes you are right. its problem with css for many buttons. it appears when we hover the mouse over the top but need to find it..

but the problem 2 with ENGINE_TYPE = whatsapp-web.js and when we create a session using api and we start it for qr then it stuck. QR is not displaying. is still as it is.

rabadiaanurag avatar Jul 11 '26 07:07 rabadiaanurag

Hi @rabadiaanurag — thanks for the report, and thanks @onepay-ye for narrowing down the button issue. Both are fixed now.

1. "Create session" button hidden until hover — fixed in #692. A leftover piece of Vite template CSS (:root:not([data-theme='dark']) button { background-color:#f9f9f9 }) had higher specificity than the dashboard's button styles, so in light mode the primary buttons lost their green background and the white label became invisible until the hover border appeared. Removed it, along with a few other Vite template leftovers in the same file.

2. QR not generating with whatsapp-web.js — fixed in #693. The whatsapp-web.js engine pins its WhatsApp Web build from the wa-version registry, and at the time of your report the registry was serving a build released only ~40 minutes earlier. A build that fresh can fail to reach the QR stage and leave the session sitting at "Starting" with no error. The resolver now pins the newest build that has been out for at least 12 hours (so the wider ecosystem has validated it) instead of the absolute latest. ENGINE_TYPE=baileys was unaffected because Baileys doesn't use a browser.

Both land in the next release. If you'd rather not wait, you can work around #2 right away by pinning a known-good build yourself — WWEBJS_WEB_VERSION=2.3000.<a-few-days-old-build> (any non-expired entry from the wa-version list) bypasses the auto-resolver entirely.

Please reopen if either one shows up again after the release that includes #692 and #693. Closing as fixed.

rmyndharis avatar Jul 11 '26 11:07 rmyndharis