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

Random crashes when not using headless mode #210

Open
escritorio-gustavo opened this issue Feb 19, 2024 · 0 comments
Open

Random crashes when not using headless mode #210

escritorio-gustavo opened this issue Feb 19, 2024 · 0 comments

Comments

@escritorio-gustavo
Copy link
Contributor

I am very regularly getting this error followed immediately by a crash:

ERROR chromiumoxide::handler: WS Connection error: Ws(Io(Os { code: 10054, kind: ConnectionReset, message: "An existing connection was forcibly closed by the remote host." }))

The error doesn't seem to happen in headless mode

My BrowserLauncherConfig

let number = rand::thread_rng().next_u64();
let config_builder = BrowserConfig::builder()
    .chrome_executable(EXECUTABLE_PATH.get().unwrap())
    .launch_timeout(std::time::Duration::from_secs(20))
    .no_sandbox()
    .request_timeout(std::time::Duration::from_secs(3_600))
    .enable_request_intercept()
    .user_data_dir(BROWSER_PATH.join(format!(r"data-dir-{number}")));
@escritorio-gustavo escritorio-gustavo changed the title Random crashes when not using headlessmode Random crashes when not using headless mode Feb 19, 2024
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

1 participant