Skip to content

Cannot start #433

@6801318d8d

Description

@6801318d8d

I have a Windows environment

I followed the instructions but when I connect to `http://127.0.0.1:8080/' it times out.

Here is my .env:

# By default listen on https://localhost
# To change this:
# * uncomment SEARXNG_HOSTNAME, and replace <host> by the SearXNG hostname
# * uncomment LETSENCRYPT_EMAIL, and replace <email> by your email (require to create a Let's Encrypt certificate)

SEARXNG_HOSTNAME=localhost
LETSENCRYPT_EMAIL=XXXX@gmail.com

Here is my settings.yml:

# see https://docs.searxng.org/admin/settings/settings.html#settings-use-default-settings
use_default_settings: false 
server:
  port: 8888
  bind_address: "127.0.0.1"
  # base_url is defined in the SEARXNG_BASE_URL environment variable, see .env and docker-compose.yml
  secret_key: "XXXXXXXX"  # change this!
  limiter: false  # enable this when running the instance for a public usage on the internet
  image_proxy: true
redis:
  url: redis://redis:6379/0

Here are the logs:

searxng | 2025-09-29 09:50:39.528 | SearXNG 2025.9.29-77fd3ee53
searxng | 2025-09-29 09:50:40.092 | [INFO] Starting granian (main PID: 1)
searxng | 2025-09-29 09:50:40.095 | [INFO] Listening at: http://:::8080
searxng | 2025-09-29 09:50:40.097 | [INFO] Spawning worker-1 with PID: 13
searxng | 2025-09-29 09:50:40.155 | [INFO] Started worker-1
searxng | 2025-09-29 09:50:40.155 | [INFO] Started worker-1 runtime-1
searxng | 2025-09-29 09:50:40.731 | /usr/local/searxng/searx/valkeydb.py:41: DeprecationWarning: setting redis.url is deprecated, use valkey.url
searxng | 2025-09-29 09:50:40.731 |   warnings.warn("setting redis.url is deprecated, use valkey.url", DeprecationWarning)
caddy   | 2025-09-29 09:50:38.626 | {"level":"info","ts":1759132238.6265152,"msg":"maxprocs: Leaving GOMAXPROCS=12: CPU quota undefined"}
caddy   | 2025-09-29 09:50:38.626 | {"level":"info","ts":1759132238.6266215,"msg":"GOMEMLIMIT is updated","package":"github.com/KimMachineGun/automemlimit/memlimit","GOMEMLIMIT":30152927232,"previous":9223372036854775807}
caddy   | 2025-09-29 09:50:38.628 | {"level":"info","ts":1759132238.6286435,"msg":"using config from file","file":"/etc/caddy/Caddyfile"}
caddy   | 2025-09-29 09:50:38.629 | {"level":"info","ts":1759132238.6297674,"msg":"adapted config to JSON","adapter":"caddyfile"}
caddy   | 2025-09-29 09:50:38.629 | {"level":"warn","ts":1759132238.6297925,"msg":"Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies","adapter":"caddyfile","file":"/etc/caddy/Caddyfile","line":68}
caddy   | 2025-09-29 09:50:38.630 | {"level":"warn","ts":1759132238.6302938,"logger":"admin","msg":"admin endpoint disabled"}
caddy   | 2025-09-29 09:50:38.630 | {"level":"info","ts":1759132238.6304424,"logger":"http.auto_https","msg":"server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS","server_name":"srv0","https_port":443}
caddy   | 2025-09-29 09:50:38.630 | {"level":"info","ts":1759132238.6304662,"logger":"http.auto_https","msg":"enabling automatic HTTP->HTTPS redirects","server_name":"srv0"}
caddy   | 2025-09-29 09:50:38.630 | {"level":"info","ts":1759132238.630545,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc00053a580"}
caddy   | 2025-09-29 09:50:38.715 | {"level":"warn","ts":1759132238.715293,"logger":"http","msg":"HTTP/2 skipped because it requires TLS","network":"tcp","addr":":80"}
caddy   | 2025-09-29 09:50:38.715 | {"level":"warn","ts":1759132238.7153213,"logger":"http","msg":"HTTP/3 skipped because it requires TLS","network":"tcp","addr":":80"}
caddy   | 2025-09-29 09:50:38.715 | {"level":"info","ts":1759132238.7153249,"logger":"http.log","msg":"server running","name":"remaining_auto_https_redirects","protocols":["h1","h2","h3"]}
caddy   | 2025-09-29 09:50:38.747 | {"level":"info","ts":1759132238.7475762,"logger":"http","msg":"enabling HTTP/3 listener","addr":":443"}
caddy   | 2025-09-29 09:50:38.780 | {"level":"info","ts":1759132238.7802715,"msg":"failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 7168 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details."}
caddy   | 2025-09-29 09:50:38.780 | {"level":"info","ts":1759132238.7804337,"logger":"http.log","msg":"server running","name":"srv0","protocols":["h1","h2","h3"]}
caddy   | 2025-09-29 09:50:38.780 | {"level":"info","ts":1759132238.7804704,"logger":"http","msg":"enabling automatic TLS certificate management","domains":["localhost"]}
caddy   | 2025-09-29 09:50:38.780 | {"level":"info","ts":1759132238.7807603,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
caddy   | 2025-09-29 09:50:38.780 | {"level":"info","ts":1759132238.780788,"msg":"serving initial configuration"}
caddy   | 2025-09-29 09:50:38.788 | {"level":"info","ts":1759132238.7878523,"logger":"tls","msg":"storage cleaning happened too recently; skipping for now","storage":"FileStorage:/data/caddy","instance":"a07473d0-0c27-4d5c-8864-6caed6bbb9bd","try_again":1759218638.7878504,"try_again_in":86399.99999965}
caddy   | 2025-09-29 09:50:38.788 | {"level":"info","ts":1759132238.7879004,"logger":"tls.obtain","msg":"acquiring lock","identifier":"localhost"}
caddy   | 2025-09-29 09:50:38.788 | {"level":"info","ts":1759132238.787929,"logger":"tls","msg":"finished cleaning storage units"}
caddy   | 2025-09-29 09:50:38.789 | {"level":"info","ts":1759132238.7892208,"logger":"tls.obtain","msg":"lock acquired","identifier":"localhost"}
caddy   | 2025-09-29 09:50:38.789 | {"level":"info","ts":1759132238.7892928,"logger":"tls.obtain","msg":"obtaining certificate","identifier":"localhost"}
caddy   | 2025-09-29 09:50:38.789 | {"level":"error","ts":1759132238.7895577,"logger":"tls.obtain","msg":"will retry","error":"[localhost] Obtain: subject 'localhost' does not qualify for a public certificate","attempt":1,"retrying_in":60,"elapsed":0.000320737,"max_duration":2592000}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions