[GH-ISSUE #9498] 无法打开ollama api 接口 #31947

Closed
opened 2026-04-22 12:46:21 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @15875066577 on GitHub (Mar 4, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/9498

What is the issue?

我想在本地部署了ollama +deepseek-r1:32b模型,推理对话很流畅。
但是当我试图在vscode调用他们的时候,终端显示无法访问页面

Relevant log output

time=2025-03-04T22:20:21.151+08:00 level=INFO source=updater.go:92 msg="check update error 404 - {\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/releases/releases#get-a"

OS

Windows

GPU

AMD

CPU

Intel

Ollama version

0.5.9-3-g2629a7a

Originally created by @15875066577 on GitHub (Mar 4, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/9498 ### What is the issue? 我想在本地部署了ollama +deepseek-r1:32b模型,推理对话很流畅。 但是当我试图在vscode调用他们的时候,终端显示无法访问页面 ### Relevant log output ```shell time=2025-03-04T22:20:21.151+08:00 level=INFO source=updater.go:92 msg="check update error 404 - {\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/releases/releases#get-a" ``` ### OS Windows ### GPU AMD ### CPU Intel ### Ollama version 0.5.9-3-g2629a7a
GiteaMirror added the bug label 2026-04-22 12:46:21 -05:00
Author
Owner

@rick-github commented on GitHub (Mar 4, 2025):

This log just shows that an update check failed. It is unlikely to be related to vscode not being able to connect to the ollama API.
Adding server logs to this post may help in debugging. What error does vscode return?

<!-- gh-comment-id:2697973942 --> @rick-github commented on GitHub (Mar 4, 2025): This log just shows that an update check failed. It is unlikely to be related to vscode not being able to connect to the ollama API. Adding server logs to this post may help in debugging. What error does vscode return?
Author
Owner

@xuzexin-hz commented on GitHub (Mar 5, 2025):

Either your model name is wrong or the ollama URL is wrong, because I also got 404 when I encountered the above situation.
Maybe it can help you

<!-- gh-comment-id:2700339853 --> @xuzexin-hz commented on GitHub (Mar 5, 2025): Either your model name is wrong or the ollama URL is wrong, because I also got 404 when I encountered the above situation. Maybe it can help you
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#31947