[GH-ISSUE #1060] [BUG]: Ollama Failed to embed: [undefined]: undefined // TypeError: fetch failed cause: Error: read ECONNRESET #653

Closed
opened 2026-02-22 18:20:39 -05:00 by yindo · 6 comments
Owner

Originally created by @CatInCloud on GitHub (Apr 7, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1060

How are you running AnythingLLM?

Docker (remote machine)

What happened?

linux+docker:
if i dont upload files,everthing is ok
when i upload a file succeed ,then local model cant use
issue

Are there known steps to reproduce?

No response

Originally created by @CatInCloud on GitHub (Apr 7, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1060 ### How are you running AnythingLLM? Docker (remote machine) ### What happened? linux+docker: if i dont upload files,everthing is ok when i upload a file succeed ,then local model cant use ![issue](https://github.com/Mintplex-Labs/anything-llm/assets/45314758/a3d997a1-7bcd-4da4-b45c-998dd336d1b8) ### Are there known steps to reproduce? _No response_
yindo added the possible bug label 2026-02-22 18:20:39 -05:00
yindo closed this issue 2026-02-22 18:20:39 -05:00
Author
Owner

@LuciAkirami commented on GitHub (Apr 7, 2024):

I'm getting the same error in the UI. It works fine without uploading documents. But when I upload a document and try to chat it gives the following error

@LuciAkirami commented on GitHub (Apr 7, 2024): I'm getting the same error in the UI. It works fine without uploading documents. But when I upload a document and try to chat it gives the following error
Author
Owner

@FarVision2 commented on GitHub (Apr 7, 2024):

Gwen 14 is not an embedding model. Try
https://ollama.com/library/mxbai-embed-large
or
https://ollama.com/library/nomic-embed-text

@FarVision2 commented on GitHub (Apr 7, 2024): Gwen 14 is not an embedding model. Try https://ollama.com/library/mxbai-embed-large or https://ollama.com/library/nomic-embed-text
Author
Owner

@timothycarambat commented on GitHub (Apr 7, 2024):

Your ollama instance is not running or unreachable.
https://github.com/Mintplex-Labs/anything-llm/issues/1006

ollama serve not ollama run

@timothycarambat commented on GitHub (Apr 7, 2024): Your ollama instance is not running or unreachable. https://github.com/Mintplex-Labs/anything-llm/issues/1006 `ollama serve` not `ollama run`
Author
Owner

@CatInCloud commented on GitHub (Apr 7, 2024):

Gwen 14 is not an embedding model. Try https://ollama.com/library/mxbai-embed-large or https://ollama.com/library/nomic-embed-text

tried,didnt work

@CatInCloud commented on GitHub (Apr 7, 2024): > Gwen 14 is not an embedding model. Try https://ollama.com/library/mxbai-embed-large or https://ollama.com/library/nomic-embed-text tried,didnt work
Author
Owner

@CatInCloud commented on GitHub (Apr 7, 2024):

Your ollama instance is not running or unreachable. #1006

ollama serve not ollama run

ollama server is running , when i do instance settings then click "save changes" , it show me green , means instance is runing and reachable.
ollama deploy remote linux , access ip:ports with proxy machines. maybe it dont support linux or proxy stuff ablout query mode

@CatInCloud commented on GitHub (Apr 7, 2024): > Your ollama instance is not running or unreachable. #1006 > > `ollama serve` not `ollama run` ollama server is running , when i do instance settings then click "save changes" , it show me green , means instance is runing and reachable. ollama deploy remote linux , access ip:ports with proxy machines. maybe it dont support linux or proxy stuff ablout query mode
Author
Owner

@timothycarambat commented on GitHub (Apr 8, 2024):

ollama server is running , when i do instance settings then click "save changes" , it show me green , means instance is runing and reachable.

We do not ping the instance once you save credentials, so it still very well be unreachable. If ollama is deployed on a different remote linux machine and you cant reach it from AnythingLLM, its almost certainly a networking issues in the setup between those two machine

@timothycarambat commented on GitHub (Apr 8, 2024): > ollama server is running , when i do instance settings then click "save changes" , it show me green , means instance is runing and reachable. We do not ping the instance once you save credentials, so it still very well be unreachable. If ollama is deployed on a different remote linux machine and you cant reach it from AnythingLLM, its almost certainly a networking issues in the setup between those two machine
yindo changed title from [BUG]: Ollama Failed to embed: [undefined]: undefined // TypeError: fetch failed cause: Error: read ECONNRESET to [GH-ISSUE #1060] [BUG]: Ollama Failed to embed: [undefined]: undefined // TypeError: fetch failed cause: Error: read ECONNRESET 2026-06-05 14:36:30 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#653