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

When Remote Chrome crashes #70

Open
izachwei opened this issue Sep 26, 2022 · 0 comments
Open

When Remote Chrome crashes #70

izachwei opened this issue Sep 26, 2022 · 0 comments

Comments

@izachwei
Copy link

izachwei commented Sep 26, 2022

Sometimes Chrome crashes, devtools client just hangs waiting forever for a response that will never come , CDT will use CountdownLaunch to wait for a response as soon as the Chrome command is sent, which is indefinitely by default.

I tried to look at the code and found that there are two ways to solve this problem:

  • Modify the timeout period for waiting parameters.

private static final String READ_TIMEOUT_PROPERTY = "com.github.kklisura.cdt.services.config.readTimeout";

  • I recommend clearing all socket connections waiting for a response in the hook method of onClose

I would like to propose a PR to accomplish this function

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