[GH-ISSUE #1584] is ollama server down? #26634

Closed
opened 2026-04-22 03:01:36 -05:00 by GiteaMirror · 7 comments
Owner

Originally created by @ralyodio on GitHub (Dec 18, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1584

I've beeing getting "Server connection error" the past few hours with ollama-webui

Originally created by @ralyodio on GitHub (Dec 18, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1584 I've beeing getting "Server connection error" the past few hours with ollama-webui
Author
Owner

@justinh-rahb commented on GitHub (Dec 18, 2023):

It's got nothing to do with this project.

<!-- gh-comment-id:1861605747 --> @justinh-rahb commented on GitHub (Dec 18, 2023): It's got nothing to do with this project.
Author
Owner

@igorschlum commented on GitHub (Dec 18, 2023):

@ralyodio thank you for sharing ollama-webui. I played with it and it's a nice interface for Ollama on the browser.
I went in the settings and changed /ollama/api to /ollama/api2 and I got the "Server connection error" message. Therefore, I think that this message is related to the settings of your computer rather than the ollama server.
If you agree on this and resolved the issue, you can close it so we can stay under 300 open issues.

<!-- gh-comment-id:1861757723 --> @igorschlum commented on GitHub (Dec 18, 2023): @ralyodio thank you for sharing ollama-webui. I played with it and it's a nice interface for Ollama on the browser. I went in the settings and changed /ollama/api to /ollama/api2 and I got the "Server connection error" message. Therefore, I think that this message is related to the settings of your computer rather than the ollama server. If you agree on this and resolved the issue, you can close it so we can stay under 300 open issues.
Author
Owner

@rgaidot commented on GitHub (Dec 18, 2023):

the endpoint /ollama/api2 doesn't exist, why and where use this endpoint?

<!-- gh-comment-id:1861848287 --> @rgaidot commented on GitHub (Dec 18, 2023): the endpoint `/ollama/api2 `doesn't exist, why and where use this endpoint?
Author
Owner

@ralyodio commented on GitHub (Dec 19, 2023):

i am running nginx proxy instead of it and mapped /ollama/api to localhost:11434/ollama/api but that didn't work either

<!-- gh-comment-id:1861917691 --> @ralyodio commented on GitHub (Dec 19, 2023): i am running nginx proxy instead of it and mapped /ollama/api to localhost:11434/ollama/api but that didn't work either
Author
Owner

@rgaidot commented on GitHub (Dec 19, 2023):

maybe you should check nginx to set X-Forwarded-<*>, X-Remote-Addr, proxy_set_header, etc... on nginx

<!-- gh-comment-id:1862869106 --> @rgaidot commented on GitHub (Dec 19, 2023): maybe you should check nginx to set X-Forwarded-<*>, X-Remote-Addr, proxy_set_header, etc... on nginx
Author
Owner

@ralyodio commented on GitHub (Dec 19, 2023):

I got it working by changing the fallback port to my proxied port

<!-- gh-comment-id:1862949869 --> @ralyodio commented on GitHub (Dec 19, 2023): I got it working by changing the fallback port to my proxied port
Author
Owner

@igorschlum commented on GitHub (Dec 21, 2023):

Hii @rgaidot I put /ollama/api2 to show the that the message "Server connection error" is not in Ollama website server, but a configuration problem in the computer hosting Ollama.

<!-- gh-comment-id:1866113376 --> @igorschlum commented on GitHub (Dec 21, 2023): Hii @rgaidot I put /ollama/api2 to show the that the message "Server connection error" is not in Ollama website server, but a configuration problem in the computer hosting Ollama.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#26634