mujo-code / puppeteer-headful

Github Action for puppeteer that is headful.
MIT License
100 stars 41 forks source link

The browser is crashing after when loading the extension #102

Open ekenigs opened 2 years ago

ekenigs commented 2 years ago

When I'm trying to load the MetaMask extension to the browser Chrome is crashing. Can somebody help me with that?

Failed to launch the browser process!
    [118:145:0421/180114.044621:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
    [118:145:0421/180114.044708:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
    [118:118:0421/180114.050376:ERROR:process_singleton_posix.cc(465)] readlink failed: Permission denied (13)
    [118:118:0421/180114.050792:ERROR:process_singleton_lock_posix.cc(20)] readlink(/github/workspace/e2e/browser/user-data-dir/SingletonLock) failed: Permission denied (13)
    [118:118:0421/180114.050968:ERROR:process_singleton_posix.cc(317)] readlink(/github/workspace/e2e/browser/user-data-dir/SingletonLock) failed: Permission denied (13)
    [118:118:0421/180114.052214:ERROR:process_singleton_posix.cc(341)] Failed to create /github/workspace/e2e/browser/user-data-dir/SingletonLock: Permission denied (13)
    [118:118:0421/180114.052459:ERROR:process_singleton_posix.cc(465)] readlink failed: Permission denied (13)
    [118:118:0421/180114.052588:ERROR:process_singleton_lock_posix.cc(20)] readlink(/github/workspace/e2e/browser/user-data-dir/SingletonLock) failed: Permission denied (13)
    [118:118:0421/180114.052719:ERROR:chrome_browser_main.cc(1[43](https://github.com/XXX/runs/6117056204?check_suite_focus=true#step:12:43)2)] 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.
    [118:146:0421/180114.054023:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
    [118:146:0421/180114.05[45](https://github.com/XXX/runs/6117056204?check_suite_focus=true#step:12:45)45:ERROR:bus.cc(397)] Failed to connect to the bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

    TROUBLESHOOTING: https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md

      at onClose (node_modules/puppeteer/src/node/BrowserRunner.ts:268:9)
      at ChildProcess.<anonymous> (node_modules/puppeteer/src/node/BrowserRunner.ts:2[55](https://github.com/XXX/runs/6117056204?check_suite_focus=true#step:12:55):61)