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

Chromium version in Alpine 3.20 is causing timeout issues #1114

Open
nnutter opened this issue Sep 19, 2024 · 1 comment
Open

Chromium version in Alpine 3.20 is causing timeout issues #1114

nnutter opened this issue Sep 19, 2024 · 1 comment
Labels
question Questions related to rod

Comments

@nnutter
Copy link

nnutter commented Sep 19, 2024

I'm creating this issue to leave a paper trail for others that might be suffering from this issue.

I've been troubleshooting an issue with Rod hanging and I suspect it's the same issue as is happening over in the Puppeteer world,

From Troubleshooting | Puppeteer,

The current Chromium version in Alpine 3.20 is causing timeout issues with Puppeteer. Downgrading to Alpine 3.19 fixes the issue. See #11640, #12637, #12189.

In my case I am able to launch the browser, e.g.,

u := launcher.New().Bin(browserPath).Set("no-sandbox").MustLaunch()
b : rod.New().ControlURL(u).MustConnect().MustIncognito()

but when I try to create an empty tab,

b.Page(proto.TargetCreateTarget{})

the program will just hang indefinitely around 10-30% of the time.

From the issues linked in the quote above it seems the --disable-gpu option does help so I added that to the line,

u := launcher.New().Bin(browserPath).Set("disable-gpu").Set("no-sandbox").MustLaunch()
@nnutter nnutter added the question Questions related to rod label Sep 19, 2024
Copy link

Please add a valid Rod Version: v0.0.0 to your issue. Current version is v0.116.2

generated by check-issue

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

No branches or pull requests

1 participant