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
Claude-3-Opus (You) error: Failed to connect to browser #1929
Comments
The browser won't open. Maybe it's out of memory or you're doing too many things at once. |
Hi. I have 128GB of memory and at least 100GB are free. It doesn't look like a memory issue. I run it using docker compose. Is it somehow related to that? |
By checking the noVNC for the VM, I found the browser was actually open but showed a blank page. |
Please confirm if the following line is present in your docker-compose.yml file: It is important to note that Google Chrome requires a minimum amount of memory to function properly. Alternatively, you can try restarting the container and running nodriver again. |
Hi. I double checked and can confirm the 'shm_size: 2gb' option is present in the docker-compose file. I don't quite understand the nodriver thing. It does not seem to be present in any of the document. Please see the below screenshot. I think the chrome is open but it shows a blank page. g4f complaints it couldn't connect to the browser. |
I have the same question no_sandbox=True |
Bug description
I asked a question using claude-3-opus model from You. It reports error:
An error occured: You: Exception: --------------------- Failed to connect to browser --------------------- One of the causes could be when you are running as root. In that case you need to pass no_sandbox=True
Environment
The text was updated successfully, but these errors were encountered: