[GH-ISSUE #3523] 获取ollama服务器中的module时,无法打开且使用 #27931

Open
opened 2026-04-22 05:35:35 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @li-hhhh on GitHub (Apr 7, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3523

httpx.HTTPStatusError: Server error '503 Service Unavailable' for url 'http://localhost:11434/api/chat'
image

Originally created by @li-hhhh on GitHub (Apr 7, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3523 httpx.HTTPStatusError: Server error '503 Service Unavailable' for url 'http://localhost:11434/api/chat' ![image](https://github.com/ollama/ollama/assets/144886190/15854d88-1536-4fc1-a184-a647d71a9e23)
Author
Owner

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

用curl http://localhost:11434 或者用浏览器访问看看服务起来没有?

用ollama run model_name:参数看看是否ollama本身是否可用

Please provide more information for troubleshooting.

Use curl http://localhost:11434 or browser to open the url to see the service running or not.

Or, ollama run model_name:parameter to see ollama server running or not.

<!-- gh-comment-id:2041375294 --> @OPDEV001 commented on GitHub (Apr 7, 2024): 用curl http://localhost:11434 或者用浏览器访问看看服务起来没有? 用ollama run model_name:参数看看是否ollama本身是否可用 Please provide more information for troubleshooting. Use curl http://localhost:11434 or browser to open the url to see the service running or not. Or, ollama run model_name:parameter to see ollama server running or not.
Author
Owner

@li-hhhh commented on GitHub (Apr 7, 2024):

用curl http://localhost:11434 或者用浏览器访问看看服务起来没有?

用ollama run model_name:参数看看是否ollama本身是否可用

请提供更多信息以进行故障排除。

使用 curl http://localhost:11434 或浏览器打开 url 以查看服务是否正在运行。

或者,ollama 运行 model_name:parameter 以查看 ollama 服务器是否正在运行。

服务器在运行,并且ollama run model_name也是可用的。代码如下:
image
我发现在这段代码执行时发生了这问题,目前还未解决。也重启了ollama服务器,依旧无效。不知道是否有其他的解决方法,谢谢啦

<!-- gh-comment-id:2041470751 --> @li-hhhh commented on GitHub (Apr 7, 2024): > 用curl http://localhost:11434 或者用浏览器访问看看服务起来没有? > > 用ollama run model_name:参数看看是否ollama本身是否可用 > > 请提供更多信息以进行故障排除。 > > 使用 curl http://localhost:11434 或浏览器打开 url 以查看服务是否正在运行。 > > 或者,ollama 运行 model_name:parameter 以查看 ollama 服务器是否正在运行。 服务器在运行,并且ollama run model_name也是可用的。代码如下: ![image](https://github.com/ollama/ollama/assets/144886190/384577e0-7658-4863-b90a-ce9b6e5c5713) 我发现在这段代码执行时发生了这问题,目前还未解决。也重启了ollama服务器,依旧无效。不知道是否有其他的解决方法,谢谢啦
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#27931