harbor icon indicating copy to clipboard operation
harbor copied to clipboard

Searxng and Perplexica are not working properly

Open nullnuller opened this issue 4 months ago • 1 comments

All config are default, nothing changed after git clone and habor installation steps. I am using ollama instance running outside of docker (not the harbor ollama), which can be accessed by webui when used for chat.

(base) harbor$ harbor doctor
19:48:52 [INFO] Running Harbor Doctor...
19:48:52 [INFO] ✔ Docker is installed and running
19:48:52 [INFO] ✔ Docker Compose (v2) is installed
19:48:52 [INFO] ✔ .env file exists and is readable
19:48:52 [INFO] ✔ default profile exists and is readable
19:48:52 [INFO] ✔ Harbor workspace directory exists
19:48:52 [INFO] ✔ CLI is linked
19:48:52 [WARN] ✘ NVIDIA Container Toolkit is not installed. NVIDIA GPU support may not work.
19:48:52 [INFO] Harbor Doctor checks completed successfully.

harbor info

Harbor CLI version: 0.2.11
==========================
19:48:47 [INFO] Harbor active services:
boost
ollama
perplexica
perplexica-be
searxng
stt
tts
webui
==========================
Client: Docker Engine - Community
 Version:    27.3.1
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.17.1
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.29.7
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 13
  Running: 8
  Paused: 0
  Stopped: 5
 Images: 56
 Server Version: 27.3.1
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7f7fdf5fed64eb6a7caf99b3e12efcf9d60e311c
 runc version: v1.1.14-0-g2c9f560
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.8.0-41-generic
 Operating System: Ubuntu 24.04.1 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 56
 Total Memory: 251.8GiB
 Name: 
 ID:
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled

Searxng seem to return some results but they don't get passed to any LLM I try. image

searxng log

(base) nulled@mail:~/Downloads/LLM_Applications/harbor$ harbor logs searxng
harbor.searxng  |   File "/usr/lib/python3.12/site-packages/httpx/_client.py", line 1617, in send
harbor.searxng  |     response = await self._send_handling_auth(
harbor.searxng  |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
harbor.searxng  |   File "/usr/lib/python3.12/site-packages/httpx/_client.py", line 1645, in _send_handling_auth
harbor.searxng  |     response = await self._send_handling_redirects(
harbor.searxng  |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
harbor.searxng  |   File "/usr/lib/python3.12/site-packages/httpx/_client.py", line 1682, in _send_handling_redirects
harbor.searxng  |     response = await self._send_single_request(request)
harbor.searxng  |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
harbor.searxng  |   File "/usr/lib/python3.12/site-packages/httpx/_client.py", line 1719, in _send_single_request
harbor.searxng  |     response = await transport.handle_async_request(request)
harbor.searxng  |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
harbor.searxng  |   File "/usr/lib/python3.12/site-packages/httpx/_transports/default.py", line 352, in handle_async_request
harbor.searxng  |     with map_httpcore_exceptions():
harbor.searxng  |          ^^^^^^^^^^^^^^^^^^^^^^^^^
harbor.searxng  |   File "/usr/lib/python3.12/contextlib.py", line 158, in __exit__
harbor.searxng  |     self.gen.throw(value)
harbor.searxng  |   File "/usr/lib/python3.12/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions
harbor.searxng  |     raise mapped_exc(message) from exc
harbor.searxng  | httpx.ConnectTimeout

Perplexica keeps looking for an answer, never ends.

image

harbor.perplexica  | yarn run v1.22.22
harbor.perplexica  | $ next start
harbor.perplexica  |    ▲ Next.js 14.1.4
harbor.perplexica  |    - Local:        http://localhost:3000
harbor.perplexica  | 
harbor.perplexica  |  ✓ Ready in 1223ms

nullnuller avatar Oct 14 '24 09:10 nullnuller