ItzCrazyKns / Perplexica

Perplexica is an AI-powered search engine. It is an Open source alternative to Perplexity AI
MIT License
13.72k stars 1.31k forks source link

Search Engine "Gentoo" missing. #257

Closed Methwold closed 2 months ago

Methwold commented 2 months ago

Describe the bug I'm able to get to the page to enter search terms but when I enter one I get the message "Failed to connect to the server. Please try again later."

To Reproduce

  1. Start Ollama
  2. Start perplexica container
  3. Go to localhost:3000
  4. Enter search term and select the arrow key.

Expected behavior It returns the information for the search term.

Screenshots

Log file:

2024-07-09 15:59:32 SearXNG version 2024.7.7+ef103ba80 2024-07-09 15:59:32 Use existing /etc/searxng/uwsgi.ini 2024-07-09 15:59:32 Use existing /etc/searxng/settings.yml 2024-07-09 15:59:32 Listen on 0.0.0.0:8080 2024-07-09 15:59:32 [uWSGI] getting INI configuration from /etc/searxng/uwsgi.ini 2024-07-09 15:59:32 [uwsgi-static] added mapping for /static => /usr/local/searxng/searx/static 2024-07-09 15:59:32 Starting uWSGI 2.0.23 (64bit) on [Tue Jul 9 22:59:32 2024] 2024-07-09 15:59:32 compiled with version: 13.2.1 20231014 on 30 November 2023 14:34:33 2024-07-09 15:59:32 os: Linux-5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 2024-07-09 15:59:32 nodename: f21243e8e4ab 2024-07-09 15:59:32 machine: x86_64 2024-07-09 15:59:32 clock source: unix 2024-07-09 15:59:32 pcre jit disabled 2024-07-09 15:59:32 detected number of CPU cores: 12 2024-07-09 15:59:32 current working directory: /usr/local/searxng 2024-07-09 15:59:32 detected binary path: /usr/sbin/uwsgi 2024-07-09 15:59:32 chdir() to /usr/local/searxng/searx/ 2024-07-09 15:59:32 your memory page size is 4096 bytes 2024-07-09 15:59:32 detected max file descriptor number: 1048576 2024-07-09 15:59:32 building mime-types dictionary from file /etc/mime.types...1390 entry found 2024-07-09 15:59:32 lock engine: pthread robust mutexes 2024-07-09 15:59:32 thunder lock: disabled (you can enable it with --thunder-lock) 2024-07-09 15:59:32 uwsgi socket 0 bound to TCP address 0.0.0.0:8080 fd 3 2024-07-09 15:59:32 Python version: 3.11.9 (main, Apr 14 2024, 13:40:00) [GCC 13.2.1 20231014] 2024-07-09 15:59:32 Python main interpreter initialized at 0x7fdf8f2d5718 2024-07-09 15:59:32 python threads support enabled 2024-07-09 15:59:32 your server socket listen backlog is limited to 100 connections 2024-07-09 15:59:32 your mercy for graceful operations on workers is 60 seconds 2024-07-09 15:59:32 mapped 1568736 bytes (1531 KB) for 48 cores 2024-07-09 15:59:32 Operational MODE: preforking+threaded 2024-07-09 15:59:32 added /usr/local/searxng/ to pythonpath. 2024-07-09 15:59:32 spawned uWSGI master process (pid: 7) 2024-07-09 15:59:32 spawned uWSGI worker 1 (pid: 10, cores: 4) 2024-07-09 15:59:32 spawned uWSGI worker 2 (pid: 11, cores: 4) 2024-07-09 15:59:32 spawned uWSGI worker 3 (pid: 13, cores: 4) 2024-07-09 15:59:32 spawned uWSGI worker 4 (pid: 16, cores: 4) 2024-07-09 15:59:32 spawned 4 offload threads for uWSGI worker 1 2024-07-09 15:59:32 spawned 4 offload threads for uWSGI worker 2 2024-07-09 15:59:32 spawned uWSGI worker 5 (pid: 22, cores: 4) 2024-07-09 15:59:32 spawned uWSGI worker 6 (pid: 27, cores: 4) 2024-07-09 15:59:32 spawned 4 offload threads for uWSGI worker 3 2024-07-09 15:59:32 spawned 4 offload threads for uWSGI worker 4 2024-07-09 15:59:32 spawned uWSGI worker 7 (pid: 34, cores: 4) 2024-07-09 15:59:32 spawned uWSGI worker 8 (pid: 38, cores: 4) 2024-07-09 15:59:32 spawned 4 offload threads for uWSGI worker 5 2024-07-09 15:59:32 spawned 4 offload threads for uWSGI worker 6 2024-07-09 15:59:32 spawned uWSGI worker 9 (pid: 45, cores: 4) 2024-07-09 15:59:32 spawned 4 offload threads for uWSGI worker 7 2024-07-09 15:59:32 spawned 4 offload threads for uWSGI worker 8 2024-07-09 20:06:52 SearXNG version 2024.7.7+ef103ba80 2024-07-09 20:06:52 Use existing /etc/searxng/uwsgi.ini 2024-07-09 20:06:52 Use existing /etc/searxng/settings.yml 2024-07-09 20:06:52 Listen on 0.0.0.0:8080 2024-07-09 15:59:32 spawned uWSGI worker 10 (pid: 51, cores: 4) 2024-07-09 15:59:32 spawned 4 offload threads for uWSGI worker 9 2024-07-09 15:59:32 spawned uWSGI worker 11 (pid: 55, cores: 4) 2024-07-09 15:59:32 spawned uWSGI worker 12 (pid: 57, cores: 4) 2024-07-09 15:59:32 spawned 4 offload threads for uWSGI worker 11 2024-07-09 15:59:32 spawned 4 offload threads for uWSGI worker 10 2024-07-09 15:59:32 spawned 4 offload threads for uWSGI worker 12 2024-07-09 15:59:33 2024-07-09 22:59:33,794 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 15:59:33 Traceback (most recent call last): 2024-07-09 15:59:33 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 15:59:33 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 15:59:33 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 15:59:33 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 15:59:33 spec.loader.exec_module(module) 2024-07-09 15:59:33 File "", line 936, in exec_module 2024-07-09 15:59:33 File "", line 1073, in get_code 2024-07-09 15:59:33 File "", line 1130, in get_data 2024-07-09 15:59:33 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 15:59:33 2024-07-09 22:59:33,794 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 15:59:33 Traceback (most recent call last): 2024-07-09 15:59:33 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 15:59:33 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 15:59:33 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 15:59:33 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 15:59:33 spec.loader.exec_module(module) 2024-07-09 15:59:33 File "", line 936, in exec_module 2024-07-09 15:59:33 File "", line 1073, in get_code 2024-07-09 15:59:33 File "", line 1130, in get_data 2024-07-09 15:59:33 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 15:59:33 2024-07-09 22:59:33,795 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 15:59:33 Traceback (most recent call last): 2024-07-09 15:59:33 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 15:59:33 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 15:59:33 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 15:59:33 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 15:59:33 spec.loader.exec_module(module) 2024-07-09 15:59:33 File "", line 936, in exec_module 2024-07-09 15:59:33 File "", line 1073, in get_code 2024-07-09 15:59:33 File "", line 1130, in get_data 2024-07-09 15:59:33 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 15:59:33 2024-07-09 22:59:33,801 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 15:59:33 Traceback (most recent call last): 2024-07-09 15:59:33 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 15:59:33 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 15:59:33 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 15:59:33 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 15:59:33 spec.loader.exec_module(module) 2024-07-09 15:59:33 File "", line 936, in exec_module 2024-07-09 15:59:33 File "", line 1073, in get_code 2024-07-09 15:59:33 File "", line 1130, in get_data 2024-07-09 15:59:33 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 15:59:33 2024-07-09 22:59:33,804 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 15:59:33 Traceback (most recent call last): 2024-07-09 15:59:33 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 15:59:33 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 15:59:33 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 15:59:33 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 15:59:33 spec.loader.exec_module(module) 2024-07-09 15:59:33 File "", line 936, in exec_module 2024-07-09 15:59:33 File "", line 1073, in get_code 2024-07-09 15:59:33 File "", line 1130, in get_data 2024-07-09 15:59:33 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 15:59:33 2024-07-09 22:59:33,806 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 15:59:33 Traceback (most recent call last): 2024-07-09 15:59:33 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 15:59:33 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 15:59:33 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 15:59:33 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 15:59:33 spec.loader.exec_module(module) 2024-07-09 15:59:33 File "", line 936, in exec_module 2024-07-09 15:59:33 File "", line 1073, in get_code 2024-07-09 15:59:33 File "", line 1130, in get_data 2024-07-09 15:59:33 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 15:59:33 2024-07-09 22:59:33,818 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 15:59:33 Traceback (most recent call last): 2024-07-09 15:59:33 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 15:59:33 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 15:59:33 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 15:59:33 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 15:59:33 spec.loader.exec_module(module) 2024-07-09 15:59:33 File "", line 936, in exec_module 2024-07-09 15:59:33 File "", line 1073, in get_code 2024-07-09 15:59:33 File "", line 1130, in get_data 2024-07-09 15:59:33 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 15:59:33 2024-07-09 22:59:33,826 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 15:59:33 Traceback (most recent call last): 2024-07-09 15:59:33 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 15:59:33 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 15:59:33 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 15:59:33 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 15:59:33 spec.loader.exec_module(module) 2024-07-09 15:59:33 File "", line 936, in exec_module 2024-07-09 15:59:33 File "", line 1073, in get_code 2024-07-09 15:59:33 File "", line 1130, in get_data 2024-07-09 15:59:33 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 15:59:33 2024-07-09 22:59:33,829 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 15:59:33 Traceback (most recent call last): 2024-07-09 15:59:33 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 15:59:33 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 15:59:33 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 15:59:33 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 15:59:33 spec.loader.exec_module(module) 2024-07-09 15:59:33 File "", line 936, in exec_module 2024-07-09 15:59:33 File "", line 1073, in get_code 2024-07-09 15:59:33 File "", line 1130, in get_data 2024-07-09 15:59:33 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 15:59:33 2024-07-09 22:59:33,843 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 15:59:33 Traceback (most recent call last): 2024-07-09 15:59:33 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 15:59:33 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 15:59:33 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 15:59:33 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 15:59:33 spec.loader.exec_module(module) 2024-07-09 15:59:33 File "", line 936, in exec_module 2024-07-09 15:59:33 File "", line 1073, in get_code 2024-07-09 15:59:33 File "", line 1130, in get_data 2024-07-09 15:59:33 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 15:59:33 2024-07-09 22:59:33,844 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 15:59:33 Traceback (most recent call last): 2024-07-09 15:59:33 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 15:59:33 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 15:59:33 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 15:59:33 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 15:59:33 spec.loader.exec_module(module) 2024-07-09 15:59:33 File "", line 936, in exec_module 2024-07-09 15:59:33 File "", line 1073, in get_code 2024-07-09 15:59:33 File "", line 1130, in get_data 2024-07-09 15:59:33 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 15:59:33 2024-07-09 22:59:33,830 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 15:59:33 Traceback (most recent call last): 2024-07-09 15:59:33 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 15:59:33 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 15:59:33 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 15:59:33 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 15:59:33 spec.loader.exec_module(module) 2024-07-09 15:59:33 File "", line 936, in exec_module 2024-07-09 15:59:33 File "", line 1073, in get_code 2024-07-09 15:59:33 File "", line 1130, in get_data 2024-07-09 15:59:33 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 15:59:33 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x7fdf8f2d5718 pid: 22 (default app) 2024-07-09 15:59:33 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x7fdf8f2d5718 pid: 34 (default app) 2024-07-09 15:59:33 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x7fdf8f2d5718 pid: 11 (default app) 2024-07-09 15:59:33 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x7fdf8f2d5718 pid: 38 (default app) 2024-07-09 15:59:33 WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x7fdf8f2d5718 pid: 51 (default app) 2024-07-09 15:59:34 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fdf8f2d5718 pid: 10 (default app) 2024-07-09 15:59:34 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fdf8f2d5718 pid: 13 (default app) 2024-07-09 15:59:34 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fdf8f2d5718 pid: 16 (default app) 2024-07-09 15:59:34 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fdf8f2d5718 pid: 27 (default app) 2024-07-09 15:59:34 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fdf8f2d5718 pid: 45 (default app) 2024-07-09 15:59:34 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fdf8f2d5718 pid: 55 (default app) 2024-07-09 15:59:34 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fdf8f2d5718 pid: 57 (default app) 2024-07-09 20:06:52 [uWSGI] getting INI configuration from /etc/searxng/uwsgi.ini 2024-07-09 20:06:52 [uwsgi-static] added mapping for /static => /usr/local/searxng/searx/static 2024-07-09 20:06:52 Starting uWSGI 2.0.23 (64bit) on [Wed Jul 10 03:06:52 2024] 2024-07-09 20:06:52 compiled with version: 13.2.1 20231014 on 30 November 2023 14:34:33 2024-07-09 20:06:52 os: Linux-5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 2024-07-09 20:06:52 nodename: f21243e8e4ab 2024-07-09 20:06:52 machine: x86_64 2024-07-09 20:06:52 clock source: unix 2024-07-09 20:06:52 pcre jit disabled 2024-07-09 20:06:52 detected number of CPU cores: 12 2024-07-09 20:06:52 current working directory: /usr/local/searxng 2024-07-09 20:06:52 detected binary path: /usr/sbin/uwsgi 2024-07-09 20:06:52 chdir() to /usr/local/searxng/searx/ 2024-07-09 20:06:52 your memory page size is 4096 bytes 2024-07-09 20:06:52 detected max file descriptor number: 1048576 2024-07-09 20:06:52 building mime-types dictionary from file /etc/mime.types...1390 entry found 2024-07-09 20:06:52 lock engine: pthread robust mutexes 2024-07-09 20:06:52 thunder lock: disabled (you can enable it with --thunder-lock) 2024-07-09 20:06:52 uwsgi socket 0 bound to TCP address 0.0.0.0:8080 fd 3 2024-07-09 20:06:52 Python version: 3.11.9 (main, Apr 14 2024, 13:40:00) [GCC 13.2.1 20231014] 2024-07-09 20:06:52 Python main interpreter initialized at 0x7fd334025718 2024-07-09 20:06:52 python threads support enabled 2024-07-09 20:06:52 your server socket listen backlog is limited to 100 connections 2024-07-09 20:06:52 your mercy for graceful operations on workers is 60 seconds 2024-07-09 20:06:52 mapped 1568736 bytes (1531 KB) for 48 cores 2024-07-09 20:06:52 Operational MODE: preforking+threaded 2024-07-09 20:06:52 added /usr/local/searxng/ to pythonpath. 2024-07-09 20:06:52 spawned uWSGI master process (pid: 7) 2024-07-09 20:06:52 spawned uWSGI worker 1 (pid: 10, cores: 4) 2024-07-09 20:06:52 spawned uWSGI worker 2 (pid: 12, cores: 4) 2024-07-09 20:06:52 spawned 4 offload threads for uWSGI worker 1 2024-07-09 20:06:52 spawned uWSGI worker 3 (pid: 16, cores: 4) 2024-07-09 20:06:52 spawned uWSGI worker 4 (pid: 21, cores: 4) 2024-07-09 20:06:52 spawned 4 offload threads for uWSGI worker 2 2024-07-09 20:06:52 spawned uWSGI worker 5 (pid: 25, cores: 4) 2024-07-09 20:06:52 spawned 4 offload threads for uWSGI worker 3 2024-07-09 20:06:52 spawned 4 offload threads for uWSGI worker 4 2024-07-09 20:06:52 spawned uWSGI worker 6 (pid: 30, cores: 4) 2024-07-09 20:06:52 spawned uWSGI worker 7 (pid: 34, cores: 4) 2024-07-09 20:06:52 spawned 4 offload threads for uWSGI worker 5 2024-07-09 20:06:52 spawned uWSGI worker 8 (pid: 39, cores: 4) 2024-07-09 20:06:52 spawned 4 offload threads for uWSGI worker 6 2024-07-09 20:06:52 spawned 4 offload threads for uWSGI worker 7 2024-07-09 20:06:52 spawned uWSGI worker 9 (pid: 46, cores: 4) 2024-07-09 20:06:52 spawned uWSGI worker 10 (pid: 48, cores: 4) 2024-07-09 20:06:52 spawned 4 offload threads for uWSGI worker 9 2024-07-09 20:06:52 spawned uWSGI worker 11 (pid: 52, cores: 4) 2024-07-09 20:06:52 spawned uWSGI worker 12 (pid: 54, cores: 4) 2024-07-09 20:06:52 spawned 4 offload threads for uWSGI worker 11 2024-07-09 20:06:52 spawned 4 offload threads for uWSGI worker 10 2024-07-09 20:06:52 spawned 4 offload threads for uWSGI worker 8 2024-07-09 20:06:52 spawned 4 offload threads for uWSGI worker 12 2024-07-09 20:06:54 2024-07-10 03:06:54,237 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 20:06:54 Traceback (most recent call last): 2024-07-09 20:06:54 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 20:06:54 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 20:06:54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 20:06:54 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 20:06:54 spec.loader.exec_module(module) 2024-07-09 20:06:54 File "", line 936, in exec_module 2024-07-09 20:06:54 File "", line 1073, in get_code 2024-07-09 20:06:54 File "", line 1130, in get_data 2024-07-09 20:06:54 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 20:06:54 2024-07-10 03:06:54,237 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 20:06:54 Traceback (most recent call last): 2024-07-09 20:06:54 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 20:06:54 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 20:06:54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 20:06:54 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 20:06:54 spec.loader.exec_module(module) 2024-07-09 20:06:54 File "", line 936, in exec_module 2024-07-09 20:06:54 File "", line 1073, in get_code 2024-07-09 20:06:54 File "", line 1130, in get_data 2024-07-09 20:06:54 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 20:06:54 2024-07-10 03:06:54,237 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 20:06:54 Traceback (most recent call last): 2024-07-09 20:06:54 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 20:06:54 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 20:06:54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 20:06:54 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 20:06:54 spec.loader.exec_module(module) 2024-07-09 20:06:54 File "", line 936, in exec_module 2024-07-09 20:06:54 File "", line 1073, in get_code 2024-07-09 20:06:54 File "", line 1130, in get_data 2024-07-09 20:06:54 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 20:06:54 2024-07-10 03:06:54,237 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 20:06:54 Traceback (most recent call last): 2024-07-09 20:06:54 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 20:06:54 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 20:06:54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 20:06:54 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 20:06:54 spec.loader.exec_module(module) 2024-07-09 20:06:54 File "", line 936, in exec_module 2024-07-09 20:06:54 File "", line 1073, in get_code 2024-07-09 20:06:54 File "", line 1130, in get_data 2024-07-09 20:06:54 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 20:06:54 2024-07-10 03:06:54,237 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 20:06:54 Traceback (most recent call last): 2024-07-09 20:06:54 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 20:06:54 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 20:06:54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 20:06:54 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 20:06:54 spec.loader.exec_module(module) 2024-07-09 20:06:54 File "", line 936, in exec_module 2024-07-09 20:06:54 File "", line 1073, in get_code 2024-07-09 20:06:54 File "", line 1130, in get_data 2024-07-09 20:06:54 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 20:06:54 2024-07-10 03:06:54,237 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 20:06:54 Traceback (most recent call last): 2024-07-09 20:06:54 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 20:06:54 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 20:06:54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 20:06:54 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 20:06:54 spec.loader.exec_module(module) 2024-07-09 20:06:54 File "", line 936, in exec_module 2024-07-09 20:06:54 File "", line 1073, in get_code 2024-07-09 20:06:54 File "", line 1130, in get_data 2024-07-09 20:06:54 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 20:06:54 2024-07-10 03:06:54,237 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 20:06:54 Traceback (most recent call last): 2024-07-09 20:06:54 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 20:06:54 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 20:06:54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 20:06:54 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 20:06:54 spec.loader.exec_module(module) 2024-07-09 20:06:54 File "", line 936, in exec_module 2024-07-09 20:06:54 File "", line 1073, in get_code 2024-07-09 20:06:54 File "", line 1130, in get_data 2024-07-09 20:06:54 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 20:06:54 2024-07-10 03:06:54,237 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 20:06:54 Traceback (most recent call last): 2024-07-09 20:06:54 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 20:06:54 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 20:06:54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 20:06:54 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 20:06:54 spec.loader.exec_module(module) 2024-07-09 20:06:54 File "", line 936, in exec_module 2024-07-09 20:06:54 File "", line 1073, in get_code 2024-07-09 20:06:54 File "", line 1130, in get_data 2024-07-09 20:06:54 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 20:06:54 2024-07-10 03:06:54,237 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 20:06:54 Traceback (most recent call last): 2024-07-09 20:06:54 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 20:06:54 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 20:06:54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 20:06:54 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 20:06:54 spec.loader.exec_module(module) 2024-07-09 20:06:54 File "", line 936, in exec_module 2024-07-09 20:06:54 File "", line 1073, in get_code 2024-07-09 20:06:54 File "", line 1130, in get_data 2024-07-09 20:06:54 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 20:06:54 2024-07-10 03:06:54,237 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 20:06:54 Traceback (most recent call last): 2024-07-09 20:06:54 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 20:06:54 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 20:06:54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 20:06:54 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 20:06:54 spec.loader.exec_module(module) 2024-07-09 20:06:54 File "", line 936, in exec_module 2024-07-09 20:06:54 File "", line 1073, in get_code 2024-07-09 20:06:54 File "", line 1130, in get_data 2024-07-09 20:06:54 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 20:06:54 2024-07-10 03:06:54,237 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 20:06:54 Traceback (most recent call last): 2024-07-09 20:06:54 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 20:06:54 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 20:06:54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 20:06:54 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 20:06:54 spec.loader.exec_module(module) 2024-07-09 20:06:54 File "", line 936, in exec_module 2024-07-09 20:06:54 File "", line 1073, in get_code 2024-07-09 20:06:54 File "", line 1130, in get_data 2024-07-09 20:06:54 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 20:06:54 2024-07-10 03:06:54,237 ERROR:searx.engines: Cannot load engine "gentoo" 2024-07-09 20:06:54 Traceback (most recent call last): 2024-07-09 20:06:54 File "/usr/local/searxng/searx/engines/init.py", line 122, in load_engine 2024-07-09 20:06:54 engine = load_module(module_name + '.py', ENGINE_DIR) 2024-07-09 20:06:54 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 2024-07-09 20:06:54 File "/usr/local/searxng/searx/utils.py", line 437, in load_module 2024-07-09 20:06:54 spec.loader.exec_module(module) 2024-07-09 20:06:54 File "", line 936, in exec_module 2024-07-09 20:06:54 File "", line 1073, in get_code 2024-07-09 20:06:54 File "", line 1130, in get_data 2024-07-09 20:06:54 FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/searxng/searx/engines/gentoo.py' 2024-07-09 20:06:54 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fd334025718 pid: 21 (default app) 2024-07-09 20:06:54 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fd334025718 pid: 12 (default app) 2024-07-09 20:06:54 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fd334025718 pid: 48 (default app) 2024-07-09 20:06:54 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fd334025718 pid: 39 (default app) 2024-07-09 20:06:54 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fd334025718 pid: 52 (default app) 2024-07-09 20:06:54 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fd334025718 pid: 25 (default app) 2024-07-09 20:06:54 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fd334025718 pid: 10 (default app) 2024-07-09 20:06:54 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fd334025718 pid: 34 (default app) 2024-07-09 20:06:54 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fd334025718 pid: 54 (default app) 2024-07-09 20:06:54 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fd334025718 pid: 30 (default app) 2024-07-09 20:06:54 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fd334025718 pid: 16 (default app) 2024-07-09 20:06:54 WSGI app 0 (mountpoint='') ready in 2 seconds on interpreter 0x7fd334025718 pid: 46 (default app)

Additional context Add any other context about the problem here.

Methwold commented 2 months ago

According to issue #252 the missing Gentoo file is not a problem. I see now that it appears to try to access Openai but I'm only trying to use a local LLM. My config.toml is as follows:

[GENERAL] PORT = 3001 # Port to run the server on SIMILARITY_MEASURE = "cosine" # "cosine" or "dot"

[API_KEYS] OPENAI = "" # OpenAI API key - sk-1234567890abcdef1234567890abcdef GROQ = "" # Groq API key - gsk_1234567890abcdef1234567890abcdef

[API_ENDPOINTS] SEARXNG = "http://localhost:32768" # SearxNG API URL OLLAMA = "http://host.docker.internal:11434" # Ollama API URL - http://host.docker.internal:11434

The Backend logfile

2024-07-10 03:22:20 perplexica-backend-1 | node:internal/process/promises:391 2024-07-10 03:22:20 perplexica-backend-1 | triggerUncaughtException(err, true / fromPromise /); 2024-07-10 03:22:20 perplexica-backend-1 | ^ 2024-07-10 03:22:20 perplexica-backend-1 | 2024-07-10 03:22:20 perplexica-backend-1 | TypeError: Invalid URL 2024-07-10 03:22:20 perplexica-backend-1 | at new URL (node:internal/url:814:29) 2024-07-10 03:22:20 perplexica-backend-1 | at OpenAI.buildURL (/home/perplexica/node_modules/@langchain/openai/node_modules/openai/core.js:318:15) 2024-07-10 03:22:20 perplexica-backend-1 | at OpenAI.buildRequest (/home/perplexica/node_modules/@langchain/openai/node_modules/openai/core.js:199:26) 2024-07-10 03:22:20 perplexica-backend-1 | at OpenAI.makeRequest (/home/perplexica/node_modules/@langchain/openai/node_modules/openai/core.js:274:44) 2024-07-10 03:22:20 perplexica-backend-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2024-07-10 03:22:20 perplexica-backend-1 | at async /home/perplexica/node_modules/@langchain/openai/dist/chat_models.cjs:684:29 2024-07-10 03:22:20 perplexica-backend-1 | at async RetryOperation._fn (/home/perplexica/node_modules/p-retry/index.js:50:12) { 2024-07-10 03:22:20 perplexica-backend-1 | code: 'ERR_INVALID_URL', 2024-07-10 03:22:20 perplexica-backend-1 | input: 'null/chat/completions' 2024-07-10 03:22:20 perplexica-backend-1 | } 2024-07-10 03:22:20 perplexica-backend-1 | 2024-07-10 03:22:20 perplexica-backend-1 | Node.js v22.4.1 2024-07-10 03:22:20 perplexica-backend-1 | error Command failed with exit code 1. 2024-07-10 03:22:20 perplexica-backend-1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. 2024-07-10 03:22:20 perplexica-backend-1 | node:internal/process/promises:391 2024-07-10 03:22:20 perplexica-backend-1 | triggerUncaughtException(err, true / fromPromise /); 2024-07-10 03:22:20 perplexica-backend-1 | ^ 2024-07-10 03:22:20 perplexica-backend-1 | 2024-07-10 03:22:20 perplexica-backend-1 | TypeError: Invalid URL 2024-07-10 03:22:20 perplexica-backend-1 | at new URL (node:internal/url:814:29) 2024-07-10 03:22:20 perplexica-backend-1 | at OpenAI.buildURL (/home/perplexica/node_modules/@langchain/openai/node_modules/openai/core.js:318:15) 2024-07-10 03:22:20 perplexica-backend-1 | at OpenAI.buildRequest (/home/perplexica/node_modules/@langchain/openai/node_modules/openai/core.js:199:26) 2024-07-10 03:22:20 perplexica-backend-1 | at OpenAI.makeRequest (/home/perplexica/node_modules/@langchain/openai/node_modules/openai/core.js:274:44) 2024-07-10 03:22:20 perplexica-backend-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2024-07-10 03:22:20 perplexica-backend-1 | at async /home/perplexica/node_modules/@langchain/openai/dist/chat_models.cjs:684:29 2024-07-10 03:22:20 perplexica-backend-1 | at async RetryOperation._fn (/home/perplexica/node_modules/p-retry/index.js:50:12) { 2024-07-10 03:22:20 perplexica-backend-1 | code: 'ERR_INVALID_URL', 2024-07-10 03:22:20 perplexica-backend-1 | input: 'null/chat/completions' 2024-07-10 03:22:20 perplexica-backend-1 | } 2024-07-10 03:22:20 perplexica-backend-1 | 2024-07-10 03:22:20 perplexica-backend-1 | Node.js v22.4.1 2024-07-10 03:22:20 perplexica-backend-1 | error Command failed with exit code 1. 2024-07-10 03:22:20 perplexica-backend-1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. 2024-07-10 03:22:21 perplexica-backend-1 | yarn run v1.22.22 2024-07-10 03:22:21 perplexica-backend-1 | $ npm run db:push && node dist/app.js 2024-07-10 03:22:21 perplexica-backend-1 | 2024-07-10 03:22:21 perplexica-backend-1 | > perplexica-backend@1.7.1 db:push 2024-07-10 03:22:21 perplexica-backend-1 | > drizzle-kit push sqlite 2024-07-10 03:22:21 perplexica-backend-1 | 2024-07-10 03:22:21 perplexica-backend-1 | drizzle-kit: v0.22.7 2024-07-10 03:22:21 perplexica-backend-1 | drizzle-orm: v0.31.2 2024-07-10 03:22:21 perplexica-backend-1 | 2024-07-10 03:22:21 perplexica-backend-1 | No config path provided, using default path 2024-07-10 03:22:21 perplexica-backend-1 | Reading config file '/home/perplexica/drizzle.config.ts' 2024-07-10 03:22:22 perplexica-backend-1 | [⣷] Pulling schema from database... [✓] Pulling schema from database... 2024-07-10 03:22:22 perplexica-backend-1 | 2024-07-10 03:22:22 perplexica-backend-1 | [i] No changes detected 2024-07-10 03:22:22 perplexica-backend-1 | info: WebSocket server started on port 3001 2024-07-10 03:22:22 perplexica-backend-1 | (node:62) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. 2024-07-10 03:22:22 perplexica-backend-1 | (Use node --trace-deprecation ... to show where the warning was created) 2024-07-10 03:22:22 perplexica-backend-1 | info: Server is running on port 3001

ItzCrazyKns commented 2 months ago

According to issue #252 the missing Gentoo file is not a problem. I see now that it appears to try to access Openai but I'm only trying to use a local LLM. My config.toml is as follows:

[GENERAL] PORT = 3001 # Port to run the server on SIMILARITY_MEASURE = "cosine" # "cosine" or "dot"

[API_KEYS] OPENAI = "" # OpenAI API key - sk-1234567890abcdef1234567890abcdef GROQ = "" # Groq API key - gsk_1234567890abcdef1234567890abcdef

[API_ENDPOINTS] SEARXNG = "http://localhost:32768" # SearxNG API URL OLLAMA = "http://host.docker.internal:11434" # Ollama API URL - http://host.docker.internal:11434

The Backend logfile

2024-07-10 03:22:20 perplexica-backend-1 | node:internal/process/promises:391 2024-07-10 03:22:20 perplexica-backend-1 | triggerUncaughtException(err, true / fromPromise _/); 2024-07-10 03:22:20 perplexica-backend-1 | ^ 2024-07-10 03:22:20 perplexica-backend-1 | 2024-07-10 03:22:20 perplexica-backend-1 | TypeError: Invalid URL 2024-07-10 03:22:20 perplexica-backend-1 | at new URL (node:internal/url:814:29) 2024-07-10 03:22:20 perplexica-backend-1 | at OpenAI.buildURL (/home/perplexica/node_modules/@langchain/openai/node_modules/openai/core.js:318:15) 2024-07-10 03:22:20 perplexica-backend-1 | at OpenAI.buildRequest (/home/perplexica/node_modules/@langchain/openai/node_modules/openai/core.js:199:26) 2024-07-10 03:22:20 perplexica-backend-1 | at OpenAI.makeRequest (/home/perplexica/node_modules/@langchain/openai/node_modules/openai/core.js:274:44) 2024-07-10 03:22:20 perplexica-backend-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2024-07-10 03:22:20 perplexica-backend-1 | at async /home/perplexica/node_modules/@langchain/openai/dist/chat_models.cjs:684:29 2024-07-10 03:22:20 perplexica-backend-1 | at async RetryOperation._fn (/home/perplexica/node_modules/p-retry/index.js:50:12) { 2024-07-10 03:22:20 perplexica-backend-1 | code: 'ERR_INVALIDURL', 2024-07-10 03:22:20 perplexica-backend-1 | input: 'null/chat/completions' 2024-07-10 03:22:20 perplexica-backend-1 | } 2024-07-10 03:22:20 perplexica-backend-1 | 2024-07-10 03:22:20 perplexica-backend-1 | Node.js v22.4.1 2024-07-10 03:22:20 perplexica-backend-1 | error Command failed with exit code 1. 2024-07-10 03:22:20 perplexica-backend-1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. 2024-07-10 03:22:20 perplexica-backend-1 | node:internal/process/promises:391 2024-07-10 03:22:20 perplexica-backend-1 | triggerUncaughtException(err, true / fromPromise /); 2024-07-10 03:22:20 perplexica-backend-1 | ^ 2024-07-10 03:22:20 perplexica-backend-1 | 2024-07-10 03:22:20 perplexica-backend-1 | TypeError: Invalid URL 2024-07-10 03:22:20 perplexica-backend-1 | at new URL (node:internal/url:814:29) 2024-07-10 03:22:20 perplexica-backend-1 | at OpenAI.buildURL (/home/perplexica/node_modules/@langchain/openai/node_modules/openai/core.js:318:15) 2024-07-10 03:22:20 perplexica-backend-1 | at OpenAI.buildRequest (/home/perplexica/node_modules/@langchain/openai/node_modules/openai/core.js:199:26) 2024-07-10 03:22:20 perplexica-backend-1 | at OpenAI.makeRequest (/home/perplexica/node_modules/@langchain/openai/node_modules/openai/core.js:274:44) 2024-07-10 03:22:20 perplexica-backend-1 | at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2024-07-10 03:22:20 perplexica-backend-1 | at async /home/perplexica/node_modules/@langchain/openai/dist/chat_models.cjs:684:29 2024-07-10 03:22:20 perplexica-backend-1 | at async RetryOperation._fn (/home/perplexica/node_modules/p-retry/index.js:50:12) { 2024-07-10 03:22:20 perplexica-backend-1 | code: 'ERR_INVALID_URL', 2024-07-10 03:22:20 perplexica-backend-1 | input: 'null/chat/completions' 2024-07-10 03:22:20 perplexica-backend-1 | } 2024-07-10 03:22:20 perplexica-backend-1 | 2024-07-10 03:22:20 perplexica-backend-1 | Node.js v22.4.1 2024-07-10 03:22:20 perplexica-backend-1 | error Command failed with exit code 1. 2024-07-10 03:22:20 perplexica-backend-1 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. 2024-07-10 03:22:21 perplexica-backend-1 | yarn run v1.22.22 2024-07-10 03:22:21 perplexica-backend-1 | $ npm run db:push && node dist/app.js 2024-07-10 03:22:21 perplexica-backend-1 | 2024-07-10 03:22:21 perplexica-backend-1 | > perplexica-backend@1.7.1 db:push 2024-07-10 03:22:21 perplexica-backend-1 | > drizzle-kit push sqlite 2024-07-10 03:22:21 perplexica-backend-1 | 2024-07-10 03:22:21 perplexica-backend-1 | drizzle-kit: v0.22.7 2024-07-10 03:22:21 perplexica-backend-1 | drizzle-orm: v0.31.2 2024-07-10 03:22:21 perplexica-backend-1 | 2024-07-10 03:22:21 perplexica-backend-1 | No config path provided, using default path 2024-07-10 03:22:21 perplexica-backend-1 | Reading config file '/home/perplexica/drizzle.config.ts' 2024-07-10 03:22:22 perplexica-backend-1 | [⣷] Pulling schema from database... [✓] Pulling schema from database... 2024-07-10 03:22:22 perplexica-backend-1 | 2024-07-10 03:22:22 perplexica-backend-1 | [i] No changes detected 2024-07-10 03:22:22 perplexica-backend-1 | info: WebSocket server started on port 3001 2024-07-10 03:22:22 perplexica-backend-1 | (node:62) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. 2024-07-10 03:22:22 perplexica-backend-1 | (Use node --trace-deprecation ... to show where the warning was created) 2024-07-10 03:22:22 perplexica-backend-1 | info: Server is running on port 3001

That isn't even a problem, open the page and press CTRL + Shift + Delete to clear the localStorage values and try to reconnect. If that doesn't works try updating to the latest version, it has a fix for it. Feel free to re-open the issue if you face problems.