Skip to content

🐛 Settings not operative + no search results #705

@SHU-red

Description

@SHU-red

Description

Im sorry if i did not get something basic correctly, but i have no idea why my instance has these basic problems with accessing search engines and using the config.lua

I did set up the docker-variant in several different versions, below the current one being as near as the installation instruction, created the 3 files and even made them accessible with chown an chmod 777 due to the problems i have

I can open the running instance but:

  • Settings in the UI do not get stored and do not change the config.lua
  • Settings in the config.lua do not get shown in the UI settings
  • On searching there is a very long loading delay until the error screen comes up
  • No search results are found and the container logs throw different dns and timeout errors

Screenshots

Image Image

Do you want to work on this issue?

None

Additional information

---
version: '3.9'
services:
  app:
    # Comment the line below if you don't want to use the `hybrid/latest` image.
    image: neonmmd/websurfx:latest
    # Uncomment the line below if you want to use the `no cache` image.
    # image: neonmmd/websurfx:nocache
    # Uncomment the line below if you want to use the `memory` image.
    # image: neonmmd/websurfx:memory
    # Uncomment the line below if you want to use the `redis` image.
    # image: neonmmd/websurfx:redis
    ports:
      - 8004:8080
    # Uncomment the following lines if you are using the `hybrid/latest` or `redis` image.
    depends_on:
      - redis
    links:
      - redis
    volumes:
      - /mnt/tank/dvol/websurfx:/etc/xdg/websurfx
    privileged: true
  # Uncomment the following lines if you are using the `hybrid/latest` or `redis` image.
  redis:
    image: redis:latest
[2025-09-11T16:47:11Z INFO  websurfx::cache::cacher] Using a hybrid cache

[2025-09-11T16:47:11Z INFO  websurfx] started server on port 8080 and IP 0.0.0.0

[2025-09-11T16:47:11Z INFO  websurfx] Open http://0.0.0.0:8080/ in your browser

[2025-09-11T16:47:11Z INFO  actix_server::builder] starting 8 workers

[2025-09-11T16:47:11Z INFO  actix_server::server] Actix runtime found; starting in Actix runtime

[2025-09-11T16:47:17Z INFO  actix_web::middleware::logger] 192.168.178.20 "GET /settings HTTP/1.1" 200 5070 "http://192.168.178.57:8004/" "Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0" 0.000070

[2025-09-11T16:47:17Z INFO  actix_web::middleware::logger] 192.168.178.20 "GET / HTTP/1.1" 200 1457 "http://192.168.178.57:8004/settings" "Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0" 0.000100

[2025-09-11T16:47:18Z INFO  actix_web::middleware::logger] 192.168.178.20 "GET / HTTP/1.1" 200 1457 "http://192.168.178.57:8004/" "Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0" 0.000098

[2025-09-11T16:47:19Z INFO  actix_web::middleware::logger] 192.168.178.20 "GET /settings HTTP/1.1" 200 5070 "http://192.168.178.57:8004/" "Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0" 0.000178

[2025-09-11T16:47:30Z INFO  actix_web::middleware::logger] 192.168.178.20 "GET / HTTP/1.1" 200 1457 "http://192.168.178.57:8004/settings" "Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0" 0.000042

[2025-09-11T16:47:39Z ERROR websurfx::results::aggregator] Engine Error: Error occurred while requesting data from upstream search engine

    ├╴at src/models/engine_models.rs:78:14

    │

    ╰─▶ error sending request for url (https://sidesteamroll.com/go/1785967): error trying to connect: dns error: failed to lookup address information: Name or service not known

        ╰╴at src/models/engine_models.rs:78:14

[2025-09-11T16:47:41Z ERROR websurfx::results::aggregator] Engine Error: Error occurred while requesting data from upstream search engine

    ├╴at src/models/engine_models.rs:78:14

    │

    ╰─▶ error sending request for url (https://sidesteamroll.com/go/1785967): error trying to connect: dns error: failed to lookup address information: Name or service not known

        ╰╴at src/models/engine_models.rs:78:14

[2025-09-11T16:47:41Z ERROR websurfx::results::aggregator] Engine Error: Error occurred while requesting data from upstream search engine

    ├╴at src/models/engine_models.rs:78:14

    │

    ╰─▶ error sending request for url (https://sidesteamroll.com/go/1785967): error trying to connect: dns error: failed to lookup address information: Name or service not known

        ╰╴at src/models/engine_models.rs:78:14

[2025-09-11T16:47:41Z INFO  actix_web::middleware::logger] 192.168.178.20 "GET /search?q=test HTTP/1.1" 200 3078 "http://192.168.178.57:8004/" "Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0" 8.983000

[2025-09-11T16:47:41Z INFO  actix_web::middleware::logger] 192.168.178.20 "GET /images/info.svg HTTP/1.1" 200 532 "http://192.168.178.57:8004/search?q=test" "Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0" 0.000565

[2025-09-11T17:05:47Z INFO  actix_web::middleware::logger] 192.168.178.20 "GET /search?q=wetter&safesearch=0 HTTP/1.1" 200 3325 "http://192.168.178.57:8004/search?q=test" "Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0" 7.776102

[2025-09-11T17:05:51Z INFO  actix_web::middleware::logger] 192.168.178.20 "GET /search?q=wetter%20hallerndorf&safesearch=0 HTTP/1.1" 200 3349 "http://192.168.178.57:8004/search?q=test" "Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0" 8.883301

[2025-09-11T17:05:54Z INFO  actix_web::middleware::logger] 192.168.178.20 "GET /search?q=test&page=1 HTTP/1.1" 200 3321 "http://192.168.178.57:8004/search?q=test" "Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0" 6.755679

[2025-09-11T17:05:57Z INFO  actix_web::middleware::logger] 192.168.178.20 "GET /search?q=test&page=1 HTTP/1.1" 200 3321 "http://192.168.178.57:8004/search?q=test" "Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0" 9.776528

[2025-09-11T17:05:57Z INFO  actix_web::middleware::logger] 192.168.178.20 "GET /search?q=test&page=1 HTTP/1.1" 200 3321 "http://192.168.178.57:8004/search?q=test" "Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0" 9.940494
admin@truenas[/mnt/tank/dvol/websurfx]$ cat config.lua
-- ### General ###
logging = true -- an option to enable or disable logs.
debug = false -- an option to enable or disable debug mode.
threads = 8 -- the amount of threads that the app will use to run (the value should be greater than 0).

-- ### Server ###
port = "8080" -- port on which server should be launched
binding_ip = "0.0.0.0" --ip address on the which server should be launched.
production_use = false -- whether to use production mode or not (in other words this option should be used if it is to be used to host it on the server to provide a service to a large number of users (more than one))
-- if production_use is set to true
-- There will be a random delay before sending the request to the search engines, this is to prevent DDoSing the upstream search engines from a large number of simultaneous requests.
request_timeout = 30 -- timeout for the search requests sent to the upstream search engines to be fetched (value in seconds).
rate_limiter = {
        number_of_requests = 20, -- The number of requests that are allowed within a provided time limit.
        time_limit = 3, -- The time limit in which the number of requests that should be accepted.
}

-- ### Search ###
-- Filter results based on different levels. The levels provided are:
-- {{
-- 0 - None
-- 1 - Low
-- 2 - Moderate
-- 3 - High
-- 4 - Aggressive
-- }}
safe_search = 2

-- ### Website ###
-- The different colorschemes provided are:
-- {{
-- catppuccin-mocha
-- dark-chocolate
-- dracula
-- gruvbox-dark
-- monokai
-- nord
-- oceanic-next
-- one-dark
-- solarized-dark
-- solarized-light
-- tokyo-night
-- tomorrow-night
-- }}
colorscheme = "dracula" -- the colorscheme name that should be used for the website theme
theme = "simple" -- the theme name that should be used for the website

-- ### Caching ###
redis_url = "redis://redis:6379" -- redis connection url address on which the client should connect on.

-- ### Search Engines ###
upstream_search_engines = {
        DuckDuckGo = true,
        Searx = true,
} -- select the upstream search engines from which the results should be fetched.
admin@truenas[/mnt/tank/dvol/websurfx]$ ls -la
total 15
drwxr-xr-x  2 1000 1000    5 Sep 11 18:46 .
drwxr-xr-x 16 root root   16 Sep 11 18:29 ..
-rwxrwxrwx  1 1000 1000    0 Sep 11 18:32 allowlist.txt
-rwxrwxrwx  1 1000 1000    0 Sep 11 18:31 blocklist.txt
-rwxrwxrwx  1 1000 1000 2063 Sep 11 18:46 config.lua

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions