Giter VIP home page Giter VIP logo

Comments (5)

fmaclen avatar fmaclen commented on September 6, 2024

cannot load the Hollama UI anymore locally and remotely

Is Hollama giving you an error or it simply can't connect to your Ollama server?

Are you self-hosting Hollama with Docker?
Is it on the same linux server as Ollama or some other device in your local network?

Unless the Hollama UI and Ollama are running on the same device, you'll need to set the OLLAMA_ORIGINS environment variable before starting the Ollama server to allow Hollama to communicate with Ollama. Details here.

But even if all of that is set correctly, I noticed some browser extensions (i.e. ad-blockers) preventing Hollama from connecting to Ollama.

from hollama.

tihom77 avatar tihom77 commented on September 6, 2024

Hi,
No, I cannot open the localhost:1473 at same computer locally. It is hosted with Docker on Ubuntu. I did follow the instruction and set the OLLAMA_ORIGINS. All works when the access to outside world is enabled. When disable it and access to Hollama ui stops. Strange is that I am trying with Open WebUI and works with this config. But I like more Hollama and would like to use it. Thanks

from hollama.

fmaclen avatar fmaclen commented on September 6, 2024

I cannot open the localhost:1473 at same computer locally

Can you double check the port you are using? It should be http://localhost:4173
Also, just to be sure, run docker ps -a to check if the Hollama container is indeed running.

I did follow the instruction and set the OLLAMA_ORIGINS

If you are running Ollama in the same device with Docker you shouldn't need to set anything in OLLAMA_ORIGINS

I did follow the instruction and set the OLLAMA_ORIGINS. All works when the access to outside world is enabled. When disable it and access to Hollama ui stops.

Not sure what you mean by "disable access to the outside world". What are you disabling exactly?

from hollama.

tihom77 avatar tihom77 commented on September 6, 2024

Thanks a lot. It is fixed now. Was a network config error from my site. The only problem I have now is when I open it on a mobile browser. Cannot be used at all.
Appreciate your support.

from hollama.

fmaclen avatar fmaclen commented on September 6, 2024

Thanks a lot. It is fixed now

👍

The only problem I have now is when I open it on a mobile browser. Cannot be used at all.

I'm not sure what your setup is like but I imagine your mobile phone is on a different IP address, so you'd need to add it to OLLAMA_ORIGINS. It's also possible your mobile browser might be blocking Hollama's attempts to connect to Ollama.

In my tests, running Hollama and Ollama on the same local IP and visiting Hollama from an iPhone using Safari works fine (aside from the UI being broken).

from hollama.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.