Skip to content

WSL ollama nomic-embed-text模型一直连接不上 #47

@WWCESC

Description

@WWCESC

openclaw版本:2026.4.2

配置:
"embedding": {
"apiKey": "ollama",
"model": "nomic-embed-text",
"baseUrl": "http://localhost:11434/v1",
"dimensions": 768
}

报错日志:
17:33:33+08:00 [gateway] [graph-memory] FTS5 search mode (配置 embedding 可启用语义搜索)
17:33:36+08:00 [graph-memory] embedding probe failed: TypeError: fetch failed
at node:internal/deps/undici/undici:14902:13
at processTicksAndRejections (node:internal/process/task_queues:103:5)
at fetchRetry (/home/wangwei/.openclaw/extensions/graph-memory/src/engine/embed.ts:32:19)
at callEmbedding (/home/wangwei/.openclaw/extensions/graph-memory/src/engine/embed.ts:61:17)
at createEmbedFn (/home/wangwei/.openclaw/extensions/graph-memory/src/engine/embed.ts:85:19) {
[cause]: AggregateError:
at internalConnectMultiple (node:net:1134:18)
at internalConnectMultiple (node:net:1210:5)
at Timeout.internalConnectMultipleTimeout (node:net:1742:5)
at listOnTimeout (node:internal/timers:587:11)
at processTimers (node:internal/timers:521:7) {
code: 'ETIMEDOUT',
[errors]: [ [Error], [Error] ]
}
}
17:33:36+08:00 [plugins] [graph-memory] FTS5 search mode (配置 embedding 可启用语义搜索)

用curl测试是可以正常连接nomic-embed-text模型的

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions