goose icon indicating copy to clipboard operation
goose copied to clipboard

Error sending request to url

Open idjordje opened this issue 9 months ago • 1 comments

I get this error, and I have no clue where to start peeling the onion:

**_( O)> i'd like to create a web app that will read ms word documents and tokenize them ◒ Processing temporal data... 2025-03-12T19:26:27.262171Z ERROR goose::agents::truncate: Error: Execution error: error sending request for url (http://localhost:11434/v1/chat/completions) at crates/goose/src/agents/truncate.rs:396

Ran into this error: Execution error: error sending request for url (http://localhost:11434/v1/chat/completions).

Please retry if you think this is a transient or recoverable error._**

I and runing goose on win11 wsl with 16G memory and below is my config file

File: .config/goose/config.yaml 1 │ GOOSE_PROVIDER: ollama 2 │ GOOSE_MODEL: qwen2.5 3 │ OLLAMA_HOST: localhost 4 │ extensions: 5 │ developer: 6 │ enabled: true 7 │ name: developer 8 │ timeout: 300 9 │ type: builtin

Also,

  • It takes more than 5 mins to get to this error state.
  • Rebooting to start from clean state does not help.

Any hints/suggestions appreciated

-Ivan

idjordje avatar Mar 12 '25 19:03 idjordje

This is similar to the five other reports of the same truncate issue. It happens with OpenRouter and others as well.

CyphrRiot avatar Mar 14 '25 18:03 CyphrRiot

Is there a resolution for this? I tried searching for "truncate" but nothing relevant comes up ...

idjordje avatar Mar 20 '25 17:03 idjordje

@idjordje Here's some troubleshooting https://block.github.io/goose/docs/troubleshooting/#using-ollama-provider. If you still have issues, try setting your OLLAMA_HOST in your config.yaml to http://localhost:11434

zakiali avatar Mar 27 '25 08:03 zakiali