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

Timed out after 30000 ms while trying to connect to the browser #300

Open
unional opened this issue Oct 15, 2022 · 4 comments
Open

Timed out after 30000 ms while trying to connect to the browser #300

unional opened this issue Oct 15, 2022 · 4 comments

Comments

@unional
Copy link
Contributor

unional commented Oct 15, 2022

This is related to: #209

It fails intermittently. This one fails on Windows, node 14:

@mocktomata/framework:size: TimeoutError: Timed out after 30000 ms while trying to connect to the browser! Only Chrome at revision r982053 is guaranteed to work.
@mocktomata/framework:size:     at Timeout.onTimeout (D:\a\mocktomata\mocktomata\node_modules\.pnpm\puppeteer-core@13.7.0\node_modules\puppeteer-core\lib\cjs\puppeteer\node\BrowserRunner.js:252:20)
@mocktomata/framework:size:     at listOnTimeout (internal/timers.js:557:17)
@mocktomata/framework:size:     at processTimers (internal/timers.js:500:7)
@mocktomata/framework:size: ✖ Running JS in headless Chrome
@mocktomata/framework:size:  ERROR  TypeError: Cannot read property 'javaScript' of undefined
@mocktomata/framework:size:     at getTime (D:\a\mocktomata\mocktomata\node_modules\.pnpm\@size-limit+time@8.0.1_size-limit@8.0.1\node_modules\@size-limit\time\get-running-time.js:29:22)

https://github.com/mocktomata/mocktomata/actions/runs/3248959225/jobs/5330798275

I notice it is using puppeteer-core@13.7.0

Maybe updating it to 19 would help?

Yes, this is an issue with https://github.com/mbalabash/estimo

Will create an issue there to link and track. thx

@ai
Copy link
Owner

ai commented Oct 15, 2022

I can only wait a reply from estimo maintainer

@unional
Copy link
Contributor Author

unional commented Oct 15, 2022

No problem, just also adding the issue here so that other people can find this issue.

You can add an external dependency label to the issue if you want to track it. 🌷

@mbalabash
Copy link

mbalabash commented Oct 17, 2022

Hey @ai
Is it possible to break compatibility with node-12 in estimo? Do you still support it in size-limit?

@ai
Copy link
Owner

ai commented Oct 17, 2022

Yes, Size Limit requires Node JS >= 14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants