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

error loading page: error resolving url: Get "http://127.0.0.1:9222/json/version #65

Open
ztxtz opened this issue Apr 15, 2024 · 3 comments

Comments

@ztxtz
Copy link

ztxtz commented Apr 15, 2024

Steps to replicate:

  1. Start Codel
  2. Enter prompt "write a script to get weather in C in Bangkok"
  3. It frezes with the following console error:
2024/04/15 07:54:00 Processing command 3 of type browser
2024/04/15 07:54:00 Trying to get content from https://www.google.com/search?q=free+weather+API
2024/04/15 07:54:00 failed to process browser: failed to get content: error loading page: error resolving url: Get "http://127.0.0.1:9222/json/version": dial tcp 127.0.0.1:9222: connect: connection refused
2024/04/15 07:54:00 Waiting for a task

Opening the URL above manually works fine.

@semanser
Copy link
Owner

Are you using any VM, or just running Docker containers natively on your machine? It seems like the main Docker container can't reach the browser container.

@ztxtz
Copy link
Author

ztxtz commented Apr 15, 2024 via email

@AxDSan
Copy link

AxDSan commented Apr 16, 2024

Getting same thing here in Windows (WSL)

2024/04/16 10:57:53 Trying to get content from https://github.com/plandex-ai/plandex/issues/92
2024/04/16 10:57:53 failed to process browser: failed to get content: error loading page: error resolving url: Get "http://127.0.0.1:9222/json/version": dial tcp 127.0.0.1:9222: connect: connection refused
2024/04/16 10:57:53 Waiting for a task

Just wanted to add it's similar to #53 but in my case I'm doing Host -> WSL -> Docker

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