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

[Bug] Synthetic Recorder not working in MacOS 15.0 Sequoia #533

Open
mnizamk opened this issue Oct 17, 2024 · 6 comments
Open

[Bug] Synthetic Recorder not working in MacOS 15.0 Sequoia #533

mnizamk opened this issue Oct 17, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@mnizamk
Copy link

mnizamk commented Oct 17, 2024

Bug summary

Hi,

The Elastic Synthetic recorder is not working on MacOS Sequoia v15.0 , when we hit the Start recording getting below error.

Unhandled Promise Rejection Error: Page closed at CRSession.<anonymous> (/private/var/folders/_4/pmb9slfs3lxdrs8q6wf1670w0000gr/T/AppTranslocation/A352FFA7-37A7-4D41-A63F-93C95EE1C5A4/d/Elastic Synthetics Recorder.app/Contents/Resources/app.asar/node_modules/playwright-core/lib/server/chromium/crPage.js:377:54) at Object.onceWrapper (node:events:641:28) at CRSession.emit (node:events:539:35) at /private/var/folders/_4/pmb9slfs3lxdrs8q6wf1670w0000gr/T/AppTranslocation/A352FFA7-37A7-4D41-A63F-93C95EE1C5A4/d/Elastic Synthetics Recorder.app/Contents/Resources/app.asar/node_modules/playwright-core/lib/server/chromium/crConnection.js:211:39

Thanks,

Recorder Version

1.3.0

Steps to reproduce

Issue:

  1. Start the recorder
  2. Key in URL "https://google.com/"
  3. Click Start

Expected behavior

Chromium browser should open, instead error thrown

Additional information

No response

@mnizamk mnizamk added the bug Something isn't working label Oct 17, 2024
@jvelloen
Copy link

Identical behaviour on MacOS Sequoia 15.1 and Recorder Version 1.3.0 (1.3.0.2):

Unhandled Promise Rejection Error: Page closed at CRSession.<anonymous> (/Applications/Elastic Synthetics Recorder.app/Contents/Resources/app.asar/node_modules/playwright-core/lib/server/chromium/crPage.js:377:54) at Object.onceWrapper (node:events:641:28) at CRSession.emit (node:events:539:35) at /Applications/Elastic Synthetics Recorder.app/Contents/Resources/app.asar/node_modules/playwright-core/lib/server/chromium/crConnection.js:211:39

@JessicaGarson
Copy link

I also got this shortly after upgrading to the latest version (15.1.1):

Unhandled Promise Rejection
Error: Page closed
    at CRSession.<anonymous> (/Applications/Elastic Synthetics Recorder.app/Contents/Resources/app.asar/node_modules/playwright-core/lib/server/chromium/crPage.js:377:54)

@natashascribes
Copy link

I am facing the same issue after Mac upgraded to 15.1.1

@venkatjj86
Copy link

Hi Team,

I'm getting same issue post upgraded my Mac device to 15.1.1.

It will be really help helpful, if we get any solution/advise.

Thank you.

@sachin-frayne
Copy link

sachin-frayne commented Dec 18, 2024

These are the logs I see when getting the error, (MacOS version 15.1.1), fresh install of: https://github.com/elastic/synthetics-recorder/releases/download/v1.3.0/synthetics-recorder-1.3.0-mac-arm64.dmg. I even deleted everything in ~/Library/Application Support/synthetics-recorder

  • ~/Library/logs/synthetics-recorder/main.log
[2024-12-18 15:37:03.064] [error] Error: Page closed
    at CRSession.<anonymous> (/Applications/Elastic Synthetics Recorder.app/Contents/Resources/app.asar/node_modules/playwright-core/lib/server/chromium/crPage.js:377:54)
    at Object.onceWrapper (node:events:641:28)
    at CRSession.emit (node:events:539:35)
    at /Applications/Elastic Synthetics Recorder.app/Contents/Resources/app.asar/node_modules/playwright-core/lib/server/chromium/crConnection.js:211:39
[2024-12-18 15:37:05.668] [error] browserContext.newPage: Browser closed.
==================== Browser output: ====================
<launching> /Applications/Elastic Synthetics Recorder.app/Contents/Resources/local-browsers/chromium-1080/chrome-mac/Chromium.app/Contents/MacOS/Chromium --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --enable-use-zoom-for-dsf=false --user-data-dir=/var/folders/zd/d6x6y2292qbb3tksyzw8b5dc0000gn/T/playwright_chromiumdev_profile-m3cRB8 --remote-debugging-pipe --no-startup-window
<launched> pid=88870
[pid=88870][err] [88870:259:1218/153702.655983:ERROR:policy_logger.cc(154)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(163) Cloud management controller initialization aborted as CBCM is not enabled.
[pid=88870][err] Received signal 11 SEGV_ACCERR 000100000008
[pid=88870][err]  [0x00011a8b2984]
...
[pid=88870][err]  [0x00019579c274]
[pid=88870][err] [end of stack trace]
[pid=88870][err] [1218/153703.057883:WARNING:crash_report_exception_handler.cc(235)] UniversalExceptionRaise: (os/kern) failure (5)
[pid=88870][err] [88877:14595:1218/153703.059950:ERROR:ssl_client_socket_impl.cc(968)] handshake failed; returned -1, SSL error code 1, net_error -3
    at openPage (/Applications/Elastic Synthetics Recorder.app/Contents/Resources/app.asar/build/electron/api/recordJourney.js:69:32)
    at recordJourney (/Applications/Elastic Synthetics Recorder.app/Contents/Resources/app.asar/build/electron/api/recordJourney.js:57:15)
    at async onRecordJourney (/Applications/Elastic Synthetics Recorder.app/Contents/Resources/app.asar/build/electron/execution.js:66:5)
    at async node:electron/js2c/browser_init:189:563

@jrentsch
Copy link

jrentsch commented Jan 8, 2025

Anyone have any updates on this?

I am seeing the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants