You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, I struggled to get connected to the web app to OLLAMA outside of localhost.
I get an error 500 every time I load the website: GET https://ollama/api/tags 500 (Internal Server Error)
I think this might have something to do with OLLAMA_ORIGINS, but the docs on this are not helpful.
By any chance, do you have tips to get connected to OLLAMA from your project?
Thanks!
The text was updated successfully, but these errors were encountered:
First off, sorry for the late response!
May I ask where the UI is hosted?
I just pushed some changes in #95, could you try updating and then change the .env from NEXT_PUBLIC_OLLAMA_URL to OLLAMA_URL? I also added a Docker guide in the readme.
Ah, I see.
It won't work on a hosted instance, since the server api routes resolves 127.0.0.1 as the IP of hosted server’s own loopback interface, not your local machine.
I think to make it work, you'd have to probably host your Ollama server somewhere over HTTPS. For instance using Cloudflare Tunnel or Ngrok
Hey there,
Recently, I struggled to get connected to the web app to OLLAMA outside of localhost.
I get an error 500 every time I load the website:
GET https://ollama/api/tags 500 (Internal Server Error)
I think this might have something to do with OLLAMA_ORIGINS, but the docs on this are not helpful.
By any chance, do you have tips to get connected to OLLAMA from your project?
Thanks!
The text was updated successfully, but these errors were encountered: