[GH-ISSUE #9920] /v1/embeddings FAILED #32254

Closed
opened 2026-04-22 13:20:45 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @goactiongo on GitHub (Mar 21, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9920

What is the issue?

I'm sure the embedding model which download before is good and work well.

but failed when CURL testing as followed

(base) [root@aitest ~]# netstat -tunlp | grep 11434
tcp6       0      0 :::11434                :::*                    LISTEN      107520/ollama
(base) [root@aitest ~]# curl -X POST -H "Content-Type: application/json" -d '{"prompt": "turn me into an embedding"}' http://172.22.1.39:11434/v1/embeddings
404 page not found(base) [root@aitest ~]#
(base) [root@aitest ~]# curl http://172.22.1.39:11434/v1/embeddings \
>     -H "Content-Type: application/json" \
>     -d '{
>         "model": "milkey/m3e:latest",
>         "input": ["why is the sky blue?", "why is the grass green?"]
>     }'
404 page not found(base) [root@aitest ~]#
(base) [root@aitest ~]#
(base) [root@aitest ~]#
(base) [root@aitest ~]# ollama list
NAME                                    ID              SIZE    MODIFIED
milkey/m3e:latest                       1477f12451b0    650 MB  8 months ago
mxbai-embed-large:latest                468836162de7    669 MB  8 months ago
quentinz/bge-large-zh-v1.5:latest       bc8ca0995fcd    651 MB  8 months ago
qwen2:0.5b                              6f48b936a09f    352 MB  8 months ago
(base) [root@aitest ~]# netstat -tuln | grep 11434
tcp6       0      0 :::11434                :::*                    LISTEN
(base) [root@aitest ~]# curl http://172.22.1.39:11434/v1/embeddings \
>     -H "Content-Type: application/json" \
>     -d '{
>         "model": "quentinz/bge-large-zh-v1.5:latest ",
>         "input": ["why is the sky blue?", "why is the grass green?"]
>     }'
404 page not found(

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @goactiongo on GitHub (Mar 21, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9920 ### What is the issue? I'm sure the embedding model which download before is good and work well. but failed when CURL testing as followed ``` (base) [root@aitest ~]# netstat -tunlp | grep 11434 tcp6 0 0 :::11434 :::* LISTEN 107520/ollama (base) [root@aitest ~]# curl -X POST -H "Content-Type: application/json" -d '{"prompt": "turn me into an embedding"}' http://172.22.1.39:11434/v1/embeddings 404 page not found(base) [root@aitest ~]# (base) [root@aitest ~]# curl http://172.22.1.39:11434/v1/embeddings \ > -H "Content-Type: application/json" \ > -d '{ > "model": "milkey/m3e:latest", > "input": ["why is the sky blue?", "why is the grass green?"] > }' 404 page not found(base) [root@aitest ~]# (base) [root@aitest ~]# (base) [root@aitest ~]# (base) [root@aitest ~]# ollama list NAME ID SIZE MODIFIED milkey/m3e:latest 1477f12451b0 650 MB 8 months ago mxbai-embed-large:latest 468836162de7 669 MB 8 months ago quentinz/bge-large-zh-v1.5:latest bc8ca0995fcd 651 MB 8 months ago qwen2:0.5b 6f48b936a09f 352 MB 8 months ago (base) [root@aitest ~]# netstat -tuln | grep 11434 tcp6 0 0 :::11434 :::* LISTEN (base) [root@aitest ~]# curl http://172.22.1.39:11434/v1/embeddings \ > -H "Content-Type: application/json" \ > -d '{ > "model": "quentinz/bge-large-zh-v1.5:latest ", > "input": ["why is the sky blue?", "why is the grass green?"] > }' 404 page not found( ``` ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-22 13:20:45 -05:00
Author
Owner

@goactiongo commented on GitHub (Mar 21, 2025):

Thanks.

<!-- gh-comment-id:2742087248 --> @goactiongo commented on GitHub (Mar 21, 2025): Thanks.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#32254