wppconnect-team / wppconnect

WPPConnect is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node, which can be used to support the creation of any interaction, such as customer service, media sending, intelligence recognition based on phrases artificial and many other things, use your imagination
https://wppconnect.io
Other
1.91k stars 335 forks source link

Error open browser #2167

Closed megustalol closed 5 months ago

megustalol commented 6 months ago

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

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

icleitoncosta commented 6 months ago

Qual o sistema operacional que está utilizando?

megustalol commented 6 months ago

Qual o sistema operacional que está utilizando?

ubuntu 22.04

icleitoncosta commented 5 months ago

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

fernandoantoniodantas commented 5 months ago

Não está funcionando no windows.

icleitoncosta commented 5 months ago

Não está funcionando no windows.

Qual o erro?

fernandoantoniodantas commented 5 months ago

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