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

Headless chrome problem #2835

Open
MR-michaelrio opened this issue Jan 24, 2025 · 0 comments
Open

Headless chrome problem #2835

MR-michaelrio opened this issue Jan 24, 2025 · 0 comments
Labels
bug Something isn't working needs triage Needs avaliation

Comments

@MR-michaelrio
Copy link

Description

I have a problem with headless Chrome; the Chrome browser won't run in my program.

Environment

  • **Venom version(s):**5.3.0
  • Browser: Google Chrome 132.0.6834.110
  • OS: Ubuntu 24.04.1
  • Node version: Node v22.13.1

Log Output

Error: Failed to launch the browser process!
Old Headless mode has been removed from the Chrome binary. Please use the new Headless mode (https://developer.chrome.com/docs/chromium/new-headless) or the chrome-headless-shell which is a standalone implementation of the old Headless mode (https://developer.chrome.com/blog/chrome-headless-shell).
✓ Path Stored "SingletonLock": /www/whatsapp/tokens/session-name/SingletonLock
✓ The file "SingletonLock" was not found

TROUBLESHOOTING: https://pptr.dev/troubleshooting

at Interface.onClose (/www/whatsapp/node_modules/@puppeteer/browsers/lib/cjs/launch.js:314:24)
at Interface.emit (node:events:536:35)
at Interface.close (node:internal/readline/interface:526:10)
at Socket.onend (node:internal/readline/interface:252:10)
at Socket.emit (node:events:536:35)
at endReadableNT (node:internal/streams/readable:1698:12)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)

✖ Error no open browser....
✓ Executable path browser: /usr/bin/google-chrome-stable
✓ Platform: linux
✓ Browser Version: 132.0.6834.110
✓ Path Stored "SingletonLock": /www/whatsapp/tokens/session-name/SingletonLock
✓ The file "SingletonLock" was not found
Venom initialization error: Error no open browser....

venom
.create({
session: 'session-name',
puppeteerOptions: {
headless: true,
executablePath: '/usr/bin/google-chrome-stable',
args: [
'--no-sandbox',
'--disable-setuid-sandbox',
'--headless',
'--disable-gpu',
'--remote-debugging-port=9222',
'--disable-software-rasterizer',
'--disable-dev-shm-usage',
]
}
})

@MR-michaelrio MR-michaelrio added bug Something isn't working needs triage Needs avaliation labels Jan 24, 2025
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 Needs avaliation
Projects
None yet
Development

No branches or pull requests

1 participant