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

Stuck Finalizing client... #3165

Closed
1 task done
fire17 opened this issue Jan 24, 2024 · 2 comments
Closed
1 task done

Stuck Finalizing client... #3165

fire17 opened this issue Jan 24, 2024 · 2 comments

Comments

@fire17
Copy link

fire17 commented Jan 24, 2024

Are you using the latest version of the library?

  • I have checked and am using the latest version of the library.

What type of session are you experiencing this issue on?

Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag

What type of host account are you experiencing this issue on?

Personal account (normal)

Mode

EASY API/CLI

Current Behavior

Getting stuck at Finalizing client...

image

Expected Behavior

No response

Steps To Reproduce

My computer got stuck, hard restarted,
not sure if it is related, but now i cannot use openwa

create() code OR full CLI command + CONFIG

No response

DEBUG INFO

{
  "WA_VERSION": "2.2404.0",
  "WA_AUTOMATE_VERSION": "4.67.0",
  "BROWSER_VERSION": "HeadlessChrome/112.0.5614.0",
  "START_TS": 1706100063099,
  "RAM_INFO": "Total: 13.32 GB | Free: 11.66 GB",
  "PPTR_VERSION": "19.11.1",
  "LATEST_VERSION": true,
  "CLI": true
}

Environment

- OS: Linux 5.10
- Node: 18.17.1
- npm: 9.6.7

Screenshots/Logs

image
(this is after a long hang)

Anything else?

Can you recommend how to get it back to working? it was just working before, not sure what to do
Thanks a lot and all the best!

@fire17
Copy link
Author

fire17 commented Jan 24, 2024

Luckly The problem was the node version
use nvm 20.11 fixed the issue
also had to remove ~/.cache/puppeteer, session.data.json, node_modules and ~/.npm/_npx/*

Now it's working again,
Maybe will be usefull for someone else with similar issue
All the best!

@fire17 fire17 closed this as completed Jan 24, 2024
@fire17
Copy link
Author

fire17 commented Jan 26, 2024

for now the only thing that seems to work is
delete session file
rm -rf ~/.bun/install/cache/puppeteer*
rm -rf /tmp/@open-wa
mv ~/.cache/puppeteer ~/.cache/x_puppeteer_xxxx
use bunx instead of npx

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

No branches or pull requests

1 participant