[GH-ISSUE #4125] HTTPStatusError: Client error '404 Not Found' for url 'http://127.0.0.1:11434/api/chat' #28321

Closed
opened 2026-04-22 06:23:26 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @rites1095 on GitHub (May 3, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4125

What is the issue?

i am ussing weaviate db with ollama . everything is working ifne but ate the time generating response it is giving error "HTTPStatusError: Client error '404 Not Found' for url 'http://127.0.0.1:11434/api/chat'"

OS

Windows

GPU

Nvidia

CPU

Intel

Ollama version

0.1.7

Originally created by @rites1095 on GitHub (May 3, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4125 ### What is the issue? i am ussing weaviate db with ollama . everything is working ifne but ate the time generating response it is giving error "HTTPStatusError: Client error '404 Not Found' for url 'http://127.0.0.1:11434/api/chat'" ### OS Windows ### GPU Nvidia ### CPU Intel ### Ollama version 0.1.7
GiteaMirror added the bug label 2026-04-22 06:23:26 -05:00
Author
Owner

@jmorganca commented on GitHub (May 3, 2024):

Hi @rites1095 the /api/chat endpoint is available in later versions of Ollama than 0.1.7. To upgrade simply download here: https://ollama.com/download

Hope this helps!

<!-- gh-comment-id:2092970876 --> @jmorganca commented on GitHub (May 3, 2024): Hi @rites1095 the `/api/chat` endpoint is available in later versions of Ollama than 0.1.7. To upgrade simply download here: https://ollama.com/download Hope this helps!
Author
Owner

@rites1095 commented on GitHub (May 3, 2024):

I have just installed ollama==0.1.9 . but same error it is showing pls help

On Fri, May 3, 2024 at 6:30 PM Jeffrey Morgan @.***>
wrote:

Hi @rites1095 https://github.com/rites1095 the /api/chat endpoint is
available in later versions of Ollama than 0.1.7. To upgrade simply
download here: https://ollama.com/download

Hope this helps!


Reply to this email directly, view it on GitHub
https://github.com/ollama/ollama/issues/4125#issuecomment-2092970876,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BH4G5XVZYJDKD2CQ745OMLLZAODAPAVCNFSM6AAAAABHFPIXUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJSHE3TAOBXGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

<!-- gh-comment-id:2093027193 --> @rites1095 commented on GitHub (May 3, 2024): I have just installed ollama==0.1.9 . but same error it is showing pls help On Fri, May 3, 2024 at 6:30 PM Jeffrey Morgan ***@***.***> wrote: > Hi @rites1095 <https://github.com/rites1095> the /api/chat endpoint is > available in later versions of Ollama than 0.1.7. To upgrade simply > download here: https://ollama.com/download > > Hope this helps! > > — > Reply to this email directly, view it on GitHub > <https://github.com/ollama/ollama/issues/4125#issuecomment-2092970876>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/BH4G5XVZYJDKD2CQ745OMLLZAODAPAVCNFSM6AAAAABHFPIXUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJSHE3TAOBXGY> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@huhaopeng commented on GitHub (May 6, 2024):

I have the same problem too,curl http://localhost:11434/api/version get {"version":"0.1.33"},but '404 Not Found' for url 'http://127.0.0.1:11434/api/chat'"

I asked Llama model this issue,it replied that
ollama serve does not directly support Windows systems. It is designed to run on Linux systems and can be
installed on Windows using a compatibility layer like Wine. However, the recommended way to use ollama serve is on
a Linux system for optimal performance and security.

<!-- gh-comment-id:2095447267 --> @huhaopeng commented on GitHub (May 6, 2024): I have the same problem too,curl http://localhost:11434/api/version get {"version":"0.1.33"},but '404 Not Found' for url 'http://127.0.0.1:11434/api/chat'" I asked Llama model this issue,it replied that ollama serve does not directly support Windows systems. It is designed to run on Linux systems and can be installed on Windows using a compatibility layer like Wine. However, the recommended way to use ollama serve is on a Linux system for optimal performance and security.
Author
Owner

@rites1095 commented on GitHub (May 8, 2024):

Hi ,
Till now I am facing same issue.
On running ollama it is giving requesttimeout error . Do not know why it is
taking so long.

On Mon, May 6, 2024 at 1:59 PM 胡号朋 @.***> wrote:

I have the same problem too,curl http://localhost:11434/api/version get
{"version":"0.1.33"},but '404 Not Found' for url '
http://127.0.0.1:11434/api/chat'"


Reply to this email directly, view it on GitHub
https://github.com/ollama/ollama/issues/4125#issuecomment-2095447267,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BH4G5XVOC33D736PM3BXQVTZA45NDAVCNFSM6AAAAABHFPIXUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGQ2DOMRWG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

<!-- gh-comment-id:2099797905 --> @rites1095 commented on GitHub (May 8, 2024): Hi , Till now I am facing same issue. On running ollama it is giving requesttimeout error . Do not know why it is taking so long. On Mon, May 6, 2024 at 1:59 PM 胡号朋 ***@***.***> wrote: > I have the same problem too,curl http://localhost:11434/api/version get > {"version":"0.1.33"},but '404 Not Found' for url ' > http://127.0.0.1:11434/api/chat'" > > — > Reply to this email directly, view it on GitHub > <https://github.com/ollama/ollama/issues/4125#issuecomment-2095447267>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/BH4G5XVOC33D736PM3BXQVTZA45NDAVCNFSM6AAAAABHFPIXUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGQ2DOMRWG4> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@oss001 commented on GitHub (Jun 17, 2024):

Same issue here. Ubuntu 24.04. Docker installation. Everything works famously, but the /api/chat endpoint is not found.

'http://192.168.1.251:11434/api/version' results with 'version | "0.1.44"'
'http://192.168.1.251:11434/api/chat' results with '404 page not found'

Not sure what I am missing here, can't seem to work this one out...

<!-- gh-comment-id:2174012437 --> @oss001 commented on GitHub (Jun 17, 2024): Same issue here. Ubuntu 24.04. Docker installation. Everything works famously, but the /api/chat endpoint is not found. 'http://192.168.1.251:11434/api/version' results with 'version | "0.1.44"' 'http://192.168.1.251:11434/api/chat' results with '404 page not found' Not sure what I am missing here, can't seem to work this one out...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#28321