[GH-ISSUE #8738] Ollama 0.5.7 api/embed return 404 #52180

Closed
opened 2026-04-28 22:25:50 -05:00 by GiteaMirror · 6 comments
Owner

Originally created by @somera on GitHub (Jan 31, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8738

What is the issue?

My Ollama 0.5.7 runs in WSL2. I'm using it with Open WebUI v0.5.7.

Now I see

[GIN] 2025/01/31 - 23:15:21 | 200 |   11.719905ms |    172.22.144.1 | GET      "/api/tags"
[GIN] 2025/01/31 - 23:15:21 | 200 |      40.071µs |    172.22.144.1 | GET      "/api/version"
[GIN] 2025/01/31 - 23:17:45 | 200 |    1.050575ms |    172.22.144.1 | GET      "/api/tags"
[GIN] 2025/01/31 - 23:18:08 | 404 |     840.251µs |    172.22.144.1 | POST     "/api/embed"
[GIN] 2025/01/31 - 23:18:08 | 404 |     624.606µs |    172.22.144.1 | POST     "/api/embed"
[GIN] 2025/01/31 - 23:20:12 | 200 |    1.116938ms |    172.22.144.1 | GET      "/api/tags"
[GIN] 2025/01/31 - 23:20:13 | 200 |      35.921µs |    172.22.144.1 | GET      "/api/version"
[GIN] 2025/01/31 - 23:23:15 | 404 |     653.776µs |    172.22.144.1 | POST     "/api/embed"
[GIN] 2025/01/31 - 23:23:15 | 404 |     733.029µs |    172.22.144.1 | POST     "/api/embed"
[GIN] 2025/01/31 - 23:24:03 | 404 |     696.377µs |    172.22.144.1 | POST     "/api/embed"
[GIN] 2025/01/31 - 23:24:03 | 404 |     756.408µs |    172.22.144.1 | POST     "/api/embed"
[GIN] 2025/01/31 - 23:24:39 | 404 |     892.042µs |    172.22.144.1 | POST     "/api/embed"
[GIN] 2025/01/31 - 23:24:39 | 404 |      825.44µs |    172.22.144.1 | POST     "/api/embed"
[GIN] 2025/01/31 - 23:27:23 | 404 |     777.409µs |    172.22.144.1 | POST     "/api/embed"
[GIN] 2025/01/31 - 23:27:23 | 404 |     724.578µs |    172.22.144.1 | POST     "/api/embed"
[GIN] 2025/01/31 - 23:33:14 | 404 |     760.459µs |    172.22.144.1 | POST     "/api/embed"
[GIN] 2025/01/31 - 23:33:14 | 404 |     640.556µs |    172.22.144.1 | POST     "/api/embed"
[GIN] 2025/01/31 - 23:36:13 | 200 |      41.741µs |       127.0.0.1 | GET      "/api/version"

in Ollama logs.

And in Open WebUI log this

404 Client Error: Not Found for url: http://ollama:33333/api/embed

OS

WSL2

GPU

Nvidia

CPU

AMD

Ollama version

0.5.7

Originally created by @somera on GitHub (Jan 31, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8738 ### What is the issue? My Ollama 0.5.7 runs in WSL2. I'm using it with Open WebUI v0.5.7. Now I see ``` [GIN] 2025/01/31 - 23:15:21 | 200 | 11.719905ms | 172.22.144.1 | GET "/api/tags" [GIN] 2025/01/31 - 23:15:21 | 200 | 40.071µs | 172.22.144.1 | GET "/api/version" [GIN] 2025/01/31 - 23:17:45 | 200 | 1.050575ms | 172.22.144.1 | GET "/api/tags" [GIN] 2025/01/31 - 23:18:08 | 404 | 840.251µs | 172.22.144.1 | POST "/api/embed" [GIN] 2025/01/31 - 23:18:08 | 404 | 624.606µs | 172.22.144.1 | POST "/api/embed" [GIN] 2025/01/31 - 23:20:12 | 200 | 1.116938ms | 172.22.144.1 | GET "/api/tags" [GIN] 2025/01/31 - 23:20:13 | 200 | 35.921µs | 172.22.144.1 | GET "/api/version" [GIN] 2025/01/31 - 23:23:15 | 404 | 653.776µs | 172.22.144.1 | POST "/api/embed" [GIN] 2025/01/31 - 23:23:15 | 404 | 733.029µs | 172.22.144.1 | POST "/api/embed" [GIN] 2025/01/31 - 23:24:03 | 404 | 696.377µs | 172.22.144.1 | POST "/api/embed" [GIN] 2025/01/31 - 23:24:03 | 404 | 756.408µs | 172.22.144.1 | POST "/api/embed" [GIN] 2025/01/31 - 23:24:39 | 404 | 892.042µs | 172.22.144.1 | POST "/api/embed" [GIN] 2025/01/31 - 23:24:39 | 404 | 825.44µs | 172.22.144.1 | POST "/api/embed" [GIN] 2025/01/31 - 23:27:23 | 404 | 777.409µs | 172.22.144.1 | POST "/api/embed" [GIN] 2025/01/31 - 23:27:23 | 404 | 724.578µs | 172.22.144.1 | POST "/api/embed" [GIN] 2025/01/31 - 23:33:14 | 404 | 760.459µs | 172.22.144.1 | POST "/api/embed" [GIN] 2025/01/31 - 23:33:14 | 404 | 640.556µs | 172.22.144.1 | POST "/api/embed" [GIN] 2025/01/31 - 23:36:13 | 200 | 41.741µs | 127.0.0.1 | GET "/api/version" ``` in Ollama logs. And in Open WebUI log this `404 Client Error: Not Found for url: http://ollama:33333/api/embed` ### OS WSL2 ### GPU Nvidia ### CPU AMD ### Ollama version 0.5.7
GiteaMirror added the bug label 2026-04-28 22:25:50 -05:00
Author
Owner

@rick-github commented on GitHub (Jan 31, 2025):

What model? Have you pulled the model?

<!-- gh-comment-id:2628522692 --> @rick-github commented on GitHub (Jan 31, 2025): What model? Have you pulled the model?
Author
Owner

@somera commented on GitHub (Jan 31, 2025):

My Embedded Model is BAAI/bge-m3

<!-- gh-comment-id:2628523625 --> @somera commented on GitHub (Jan 31, 2025): My Embedded Model is BAAI/bge-m3
Author
Owner

@somera commented on GitHub (Jan 31, 2025):

OK, i go back to mxbai-embed-large and it works.

<!-- gh-comment-id:2628524816 --> @somera commented on GitHub (Jan 31, 2025): OK, i go back to `mxbai-embed-large` and it works.
Author
Owner

@somera commented on GitHub (Jan 31, 2025):

But should it work with BAAI/bge-m3 too?

<!-- gh-comment-id:2628525424 --> @somera commented on GitHub (Jan 31, 2025): But should it work with `BAAI/bge-m3` too?
Author
Owner

@rick-github commented on GitHub (Jan 31, 2025):

You have to pull a model to make it available. What's the output of:

ollama list | grep bge
<!-- gh-comment-id:2628526394 --> @rick-github commented on GitHub (Jan 31, 2025): You have to pull a model to make it available. What's the output of: ``` ollama list | grep bge ```
Author
Owner

@somera commented on GitHub (Jan 31, 2025):

Thx. I found the problem.

Downloaded model in ollama is:
bge-m3:latest 790764642607 1.2 GB

And when I now use bge-m3 in Open WebUI instead of BAAI/bge-m3 it works.

Layer-8 problem. ;)

Thx for the right question.

<!-- gh-comment-id:2628541218 --> @somera commented on GitHub (Jan 31, 2025): Thx. I found the problem. Downloaded model in ollama is: `bge-m3:latest 790764642607 1.2 GB` And when I now use `bge-m3` in Open WebUI instead of `BAAI/bge-m3` it works. Layer-8 problem. ;) Thx for the right question.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#52180