brave-portable icon indicating copy to clipboard operation
brave-portable copied to clipboard

[Bug] : Brave Latest Version not working with Puppeteer !

Open RifHut opened this issue 2 years ago • 5 comments

Tested on : 1.38.111;81 - 1.34.80;80 Platform : OB2 PoC : image I think , brave can't allow remote debugging port .. or something like this. Thank You ! Log file :

common:
  disable_log: false
  args: []
  env: {}
  app_path: ""
app:
  cleanup: false
Thu, 19 May 2022 06:58:23 CDT ERR D:/a/brave-portable/brave-portable/main.go:109 > Cannot import registry key error="reg file C:\\portapps\\brave-portable\\reg\\Brave-Browser-Development.reg not found"
Thu, 19 May 2022 06:58:23 CDT INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:168 > Process: C:\portapps\brave-portable\app\brave.exe
Thu, 19 May 2022 06:58:23 CDT INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:169 > Args (config file): 
Thu, 19 May 2022 06:58:23 CDT INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:170 > Args (cmd line): --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-features=TranslateUI --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --password-store=basic --use-mock-keychain about:blank --enable-aggressive-domstorage-flushing --disable-back-forward-cache --disable-best-effort-tasks --disable-local-storage --disable-brave-extension --disable-blink-features=AutomationControlled --remote-debugging-port=0 --user-data-dir=C:\Users\Administrator\AppData\Local\Temp\2\cxkenixo.s4w
Thu, 19 May 2022 06:58:23 CDT INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:171 > Args (hardcoded): --user-data-dir=C:\portapps\brave-portable\data --disable-brave-update --no-default-browser-check --disable-logging --disable-breakpad --disable-machine-id --disable-encryption-win
Thu, 19 May 2022 06:58:23 CDT INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:172 > Working dir: C:\portapps\brave-portable\app
Thu, 19 May 2022 06:58:23 CDT INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:173 > App path: C:\portapps\brave-portable\app
Thu, 19 May 2022 06:58:23 CDT INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:174 > Data path: C:\portapps\brave-portable\data
Thu, 19 May 2022 06:58:23 CDT INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:175 > Previous path: C:\portapps\brave-portable
Thu, 19 May 2022 06:58:23 CDT INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:181 > Launching Brave
Thu, 19 May 2022 06:58:23 CDT INF ..\..\..\runneradmin\go\pkg\mod\github.com\portapps\portapps\[email protected]\portapps.go:191 > Exec C:\portapps\brave-portable\app\brave.exe --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-default-apps --disable-dev-shm-usage --disable-features=TranslateUI --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --disable-sync --force-color-profile=srgb --metrics-recording-only --no-first-run --password-store=basic --use-mock-keychain about:blank --enable-aggressive-domstorage-flushing --disable-back-forward-cache --disable-best-effort-tasks --disable-local-storage --disable-brave-extension --disable-blink-features=AutomationControlled --remote-debugging-port=0 --user-data-dir=C:\Users\Administrator\AppData\Local\Temp\2\cxkenixo.s4w --user-data-dir=C:\portapps\brave-portable\data --disable-brave-update --no-default-browser-check --disable-logging --disable-breakpad --disable-machine-id --disable-encryption-win

DevTools listening on ws://127.0.0.1:54640/devtools/browser/d4975146-7e80-4869-ad18-273ebfb315a0
[14536:11260:0519/065823.896:ERROR:brave_actions_container.cc(223)] Extension not found for Brave Action: mnojpmjdmbbfmejpflffifhffcmidifd
[0520/064217.584:ERROR:gpu_process_host.cc(968)] GPU process exited unexpectedly: exit_code=1
[0520/064217.589:WARNING:gpu_process_host.cc(1274)] The GPU process has crashed 1 time(s)
[0520/064217.893:WARNING:gpu_process_host.cc(996)] Reinitialized the GPU process after a crash. The reported initialization time was 122 ms

RifHut avatar May 20 '22 11:05 RifHut

What is it ? . I'm a user browser Brave portable v1.38.111-81 I do not have any problem

SWxEng avatar Jun 24 '22 16:06 SWxEng

@crazy-max

SWxEng avatar Jun 25 '22 05:06 SWxEng

What is it ? . I'm a user browser Brave portable v1.38.111-81 I do not have any problem

Thank you dude for your feedback ! The browser work fine in normal use , but when we use it with puppeteer , we get this issues I think , brave can't allow remote debugging port .. or something like this. @crazy-max please I need help bruh , I'm waiting your response . ( please help me :( )

RifHut avatar Jul 14 '22 22:07 RifHut

@crazy-max @RifHut problem solved ?

SWxEng avatar Sep 04 '22 07:09 SWxEng

@crazy-max @RifHut problem solved ?

i think not yet dude

RifHut avatar Sep 13 '22 14:09 RifHut

Tested with other puppeteer framework work fine, Thank You

RifHut avatar Dec 05 '22 12:12 RifHut