Skip to content

ERROR:searx.botdetection: X-Forwarded-For nor X-Real-IP header is set! #858

@eleaner

Description

@eleaner

Describe the bug
I believe searxng rejects the queries and perplexica simply hangs

To Reproduce
Steps to reproduce the behavior:

  1. clone repo
  2. spy toml file
  3. run

Expected behavior
I would like to receive results

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
docker compose logs -f

app-1  |    ▲ Next.js 15.2.2
app-1  |    - Local:        http://d7858f918990:3000
app-1  |    - Network:      http://d7858f918990:3000
app-1  | 
app-1  |  ✓ Starting...
app-1  |  ✓ Ready in 110ms
searxng-1  | SearXNG 2025.8.29-b8085d2
searxng-1  | [INFO] Starting granian (main PID: 1)
searxng-1  | [INFO] Listening at: http://:::8080
searxng-1  | [INFO] Spawning worker-1 with PID: 11
searxng-1  | [INFO] Started worker-1
searxng-1  | [INFO] Started worker-1 runtime-1
searxng-1  | 2025-08-29 23:21:42,788 ERROR:searx.botdetection: X-Forwarded-For nor X-Real-IP header is set!
app-1      | [ResponseAborted: ]
app-1      |  ⨯ unhandledRejection:  [ResponseAborted: ]

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