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

Fetch extension fails with "Unknown scheme for proxy URL URL('socks://127.0.0.1:2080/')" #767

Open
ch3rn0v opened this issue Mar 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ch3rn0v
Copy link

ch3rn0v commented Mar 9, 2025

Describe the bug
I installed https://github.com/block/goose/ cli and use ollama to manage a local LLM.
Adding fetch extension worked fine.
I tried both uvx mcp-server-fetch and uvx mcp-server-fetch --ignore-robots-txt to run extension.
Either way fetching any url ends up with Unknown scheme for proxy URL URL('socks://127.0.0.1:2080/'). This is somehow marked as "status":"success" in the tool result.

To Reproduce
Steps to reproduce the behavior:

  1. Install block/goose cli
  2. Set up any llm provider
  3. Install and add fetch extension
  4. Run goose and ask something like this: "read this doc - https://block.github.io/goose/docs/tutorials/custom-extensions/"

Logs

{"role":"assistant","created":1741517422,"content":[{"type":"text","text":""},{"type":"toolRequest","id":"call_7jc59c1n","toolCall":{"status":"success","value":{"name":"mcp_server_fetch__fetch","arguments":{"max_length":2048,"url":"https://block.github.io/goose/docs/tutorials/custom-extensions/"}}}}]}
{"role":"user","created":1741517422,"content":[{"type":"toolResponse","id":"call_7jc59c1n","toolResult":{"status":"success","value":[{"type":"text","text":"Unknown scheme for proxy URL URL('socks://127.0.0.1:2080/')"}]}}]}

Expected behavior
It should return the web page's contents upon a correct call. It shouldn't return status: success if the page's content isn't available.

Additional context
Sometimes it does work: block/goose#1329 . But I'm yet to witness it myself.

@ch3rn0v ch3rn0v added the bug Something isn't working label Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant