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

Error open browser #2167

Closed
megustalol opened this issue May 2, 2024 · 6 comments
Closed

Error open browser #2167

megustalol opened this issue May 2, 2024 · 6 comments
Labels
bug Something isn't working needs triage

Comments

@megustalol
Copy link
Contributor

Description

Esse erro acontece algumas vezes durante o dia aqui, apago a pasta tokens e leio qr de novo resolve temporariamente

1|bot | error: [bot:browser] Failed to launch the browser process! undefined

Environment

  • WPPConnect version(s): 1.30.2
  • WA-JS version(s): 3.2.3
  • Browser: Chrome XX / Chromium XX
  • Node version: 18.17.0
  • WhatsApp version: 2.2412.50

Log Output

error: [bot:browser] Error no open browser
1|bot | error: [bot:browser] Failed to launch the browser process! undefined
1|bot | [2212843:2212843:0502/185348.353180:ERROR:process_singleton_posix.cc(335)] Failed to create /root/bot/tokensm/bot/SingletonLock: File exists (17)
1|bot | [2212843:2212843:0502/185348.353846:ERROR:chrome_main_delegate.cc(597)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
1|bot | TROUBLESHOOTING: https://pptr.dev/troubleshooting
1|bot | Error: Failed to launch the browser process! undefined
1|bot | [2212843:2212843:0502/185348.353180:ERROR:process_singleton_posix.cc(335)] Failed to create /root/bot/tokensm/bot/SingletonLock: File exists (17)
1|bot | [2212843:2212843:0502/185348.353846:ERROR:chrome_main_delegate.cc(597)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
1|bot | TROUBLESHOOTING: https://pptr.dev/troubleshooting
1|bot | at ChildProcess.onClose (/root/bot/node_modules/@puppeteer/browsers/lib/cjs/launch.js:310:24)
1|bot | at ChildProcess.emit (node:events:526:35)
1|bot | at ChildProcess._handle.onexit (node:internal/child_process:291:12)
If relevant, paste all of your Log Output


@megustalol megustalol added bug Something isn't working needs triage labels May 2, 2024
@icleitoncosta
Copy link
Contributor

Qual o sistema operacional que está utilizando?

@megustalol
Copy link
Contributor Author

megustalol commented May 8, 2024

Qual o sistema operacional que está utilizando?

ubuntu 22.04

@icleitoncosta
Copy link
Contributor

Olá, atualiza o projeto, e testa por favor. Fiz uma mudança e melhorei o tempo de start inicial.

@fernandoantoniodantas
Copy link

Não está funcionando no windows.

@icleitoncosta
Copy link
Contributor

Não está funcionando no windows.

Qual o erro?

@fernandoantoniodantas
Copy link

Removi e reinstalei. Agora está ok. Windows é tenso. Obrigado.

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

3 participants