local AI and chrome issues
first of all it refuses to use my ollama i get connection errors no matter what i try secondly it never uses my browser and always makes me use vnc to see it use its own
How are you running ollama? If the answer is docker you'll need to use your local IP rather than localhost. for instance, http://192.168.1.3:11434 . Also the model names require the tag after the colon (:) as well. So llama3.1:latest, rather than llama3.1
Did you define the chrome dir correctly in the .env file? For example:
Chrome settings
CHROME_PATH="C:\Program Files\Google\Chrome\Application\chrome.exe" CHROME_USER_DATA="" CHROME_DEBUGGING_PORT=9222 CHROME_DEBUGGING_HOST=localhost
Set to true to keep browser open between AI tasks
CHROME_PERSISTENT_SESSION=true
I HAVE same issue ['[Errno 111] Connection refused', '[Errno 111] Connection refused', '[Errno 111] Connection refused', '[Errno 111] Connection refused', '[Errno 111] Connection refused']
EDIT: resolved running ollama as a docker container https://github.com/browser-use/web-ui/issues/146#issuecomment-2660819578
I have the same issue. I use Ollama on a Docker container and have it configured with local IP.
If you're working with Ollama, you should update the OLLAMA_ENDPOINT to "http://host.docker.internal:11434" in your .env file. This allows the Docker container to communicate with the Ollama application running on your host machine, as "localhost" inside a container refers to the container itself, not your computer.
also I made pr about this issue : https://github.com/browser-use/web-ui/pull/399