aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.62k stars 3.91k forks source link

aws-synthetics: Navigation failed because browser has disconnected! #16178

Closed khawarizmus closed 3 years ago

khawarizmus commented 3 years ago

The Question

My canary was working properly until I started seeing in cloudwatch No test result returned.Error: Navigation failed because the browser has disconnected! errors with no screenshots or logs displayed.

I am not exactly sure how I can debug or fix this issue.

I have added the following code in vain:

// lunching a new (custom) browser
    const defaultOptions = await synthetics.getDefaultLaunchOptions();
    const launchArgs = [
        ...defaultOptions.args, 
        '--disable-features=AudioServiceOutOfProcess',
        '--disable-features=AudioServiceOutOfProcessKillAtHang',
        '--disable-gpu',
        '--disable-software-rasterize',
    ];
    await synthetics.launch({
        args: launchArgs
    });

Currently opened issue #16177 to be able to upgrade my runtime environment. but I would appreciate some guidance around this issue.

Environment

Other information

I have referred to this issue hence the provided snippet of what I tried.

peterwoodworth commented 3 years ago

Hey @gimyboya, did this issue get resolved?

peterwoodworth commented 3 years ago

Seems to me like the issue got resolved based on the issue you linked, so I'll close this. Ping me if I'm mistaken

github-actions[bot] commented 3 years ago

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.