[GH-ISSUE #867] ollama API not responding #46929

Closed
opened 2026-04-28 02:10:30 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @abulka on GitHub (Oct 21, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/867

ollama isn't reponding to

curl http://localhost:11434/api/show --json '{"name": "codellama:7b-instruct"}'
404 page not found

and I didn't configure ollama to start on a particular port, just a default install.

I have the models:

% ollama list
NAME                    	SIZE  	MODIFIED     
codellama:7b-instruct   	3.8 GB	7 weeks ago 	
llama2:latest           	3.8 GB	2 months ago	
llama2-uncensored:latest	3.8 GB	2 months ago

Is there a way of checking what port ollama is running on to verify this?

This API issue is stopping me using oterm:
https://github.com/ggozad/oterm/issues/2

Originally created by @abulka on GitHub (Oct 21, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/867 ollama isn't reponding to ``` curl http://localhost:11434/api/show --json '{"name": "codellama:7b-instruct"}' 404 page not found ``` and I didn't configure ollama to start on a particular port, just a default install. I have the models: ``` % ollama list NAME SIZE MODIFIED codellama:7b-instruct 3.8 GB 7 weeks ago llama2:latest 3.8 GB 2 months ago llama2-uncensored:latest 3.8 GB 2 months ago ``` Is there a way of checking what port ollama is running on to verify this? This API issue is stopping me using `oterm`: https://github.com/ggozad/oterm/issues/2
Author
Owner

@jmorganca commented on GitHub (Oct 21, 2023):

Hi @abulka, I think you may be on an old version of Ollama. Would it be possible to download the latest version? Will close this issue, but if this is still a problem after updating please don't hesitate to re-open the issue.

<!-- gh-comment-id:1773577999 --> @jmorganca commented on GitHub (Oct 21, 2023): Hi @abulka, I think you may be on an old version of Ollama. Would it be possible to download the [latest version](https://ollama.ai/download)? Will close this issue, but if this is still a problem after updating please don't hesitate to re-open the issue.
Author
Owner

@abulka commented on GitHub (Oct 21, 2023):

Yep, latest ollama now responds correctly to API calls. Thanks!

<!-- gh-comment-id:1773583756 --> @abulka commented on GitHub (Oct 21, 2023): Yep, latest `ollama` now responds correctly to API calls. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#46929