Skip to content

[BUG] Ollama, connection refused #587

@createchange

Description

@createchange

Bug Description

Hello,

Similar to others, I experienced issues with registration. Following registration, I was able to restart the docker container to get logged in.

I configured an Ollama server/model for the LLM component, following which I was able successfully chat.

Image

(maybe a bit verbose?)

However, upon attempting uploading both a document, and a YouTube video, I received very similar errors (though the traceback is too big to actually compare). See the logs below. Note that the errors only surface via the Docker logs, but not in the web app itself.

Deployment Type

  • SurfSense Cloud (hosted version)
  • Self-hosted version

Steps to Reproduce

Serve ollama: OLLAMA_ORIGINS="*" OLLAMA_HOST="0.0.0.0" ollama serve
Deploy via Docker (compose or otherwise - same outcome)
Create account
Configure LLM
Upload document

Expected Behavior

Document uploaded

Actual Behavior

Silent error via UI, unexpected error as chat works with Ollama endpoint

Screenshots/Videos

Please see logs attached:
docker.log

Environment Information

  • Browser: Zen 1.17.12b
  • Operating System: MacOS 26.1
  • SurfSense Version: Docker latest tag

Additional Environment Details (for Self-hosted only)

Bone-stock Docker deploy. I attempted with both standalone docker command, as well as docker compose (removing the volume).

Checklist

  • I have searched existing issues to ensure this is not a duplicate
  • I have provided all the required information above
  • I have added appropriate labels (bug, deployment type)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions