searxng / searxng-docker

The docker-compose files for setting up a SearXNG instance with docker.
GNU Affero General Public License v3.0
1.34k stars 315 forks source link

Nothing rendered #50

Closed ZackeryBayle closed 1 year ago

ZackeryBayle commented 2 years ago

This is my first setup. I am getting nothing rendered to the page. the only error I have from the console is Uncaught TypeError: Cannot read properties of undefined (reading 'encrypt')

Linux, Ubuntu LTS 20.XX current Docker install current searxng install

please let me know if their is any other info I can provide.

mrpaulblack commented 2 years ago

Hi @ZackeryBayle , Did you install SearXNG from https://github.com/searxng/searxng-docker ? Did you make any changes to the default settings there? Is your instance avail. publicly and do you have a domain name pointing to it, or did you host it without a domain name?

erliughiwehf commented 2 years ago

Same problem. Installed on Ubuntu 22.10, via https://github.com/searxng/searxng-docker. domain pointing to it. I can get to the search page, but as soon as I press the search button, I get a black page. No change to anything besides the .env, in which I set the domain it's listening on, and a letsencrypt email. Don't know where to look for errors in the console unfortunately, new to docker.

Actually, it may have been dark mode masking the problem, trying again on another comp with a default chrome install I'm getting a HTTP 429 error. So that may be cloudflare (my domain provider) rate limiting me. Will post with updates. Gotta make dinner first. A bit more detail: I set this up on search.mydomain.com, and I don't aget a 429 there, only after I hit the search button and the URL is search.mydomain.com/search. do I get the 429. Interestingly, it doesn't seem like I have rate limiting enabled in CF, so maybe the VPS provider is who I need to talk to.

dalf commented 2 years ago

@erliughiwehf > this is a different issue. set limiter: false in searxng/settings.yml. It disables the bot protection that should be fine if this is a private instance.

mrpaulblack commented 2 years ago

Yeah so to build on top of dalfs comment: If you see a white page with a HTTP 429 its most likely the built in limtier plguin in SearXNG. If you use cloudflare with the orange cloud icon next to the DNS entry (so you route your site traffic trough cloudflare as WAF) we recommend you to disable it -> So that the icon is grayed out and it says disabled DNS only.

If you dont want to disable routing trough cloudflare you can disable the limiter as per dalfs comment. Cloudflare already blocks bad actors and so on so you dont really need the SearXNG limiter plugin in that case...

@erliughiwehf Does this solve your problem?

ZackeryBayle commented 2 years ago

Hi @ZackeryBayle , Did you install SearXNG from https://github.com/searxng/searxng-docker ? Did you make any changes to the default settings there? Is your instance avail. publicly and do you have a domain name pointing to it, or did you host it without a domain name?

Hello @mrpaulblack, I install it from the source using apt get docker.io. I changed some basic settings that I have rolled back now. such as method: "GET" but I have removed all the changes to use the default. This is a public instance using the domain search.zbsites.com

include commented 2 years ago

+1 here. Installed from searxng-docker. Duplicate issue here https://github.com/searxng/searxng/issues/1399

return42 commented 2 years ago

Can you all please try a new installation .. these days we merged https://github.com/searxng/searxng/pull/1458 from @mrpaulblack .. this patch will help us to see if "blank page" is caused by the limiter (just to narrow down) .. thanks!


Similar issues (routed to here):

ZackeryBayle commented 2 years ago

@return42 I did a fresh install. Everything rendered, untill I edited the settings.yml adding method: "GET" Now its broken again. I removed the method and its still broken.

search.zbsites.com

return42 commented 2 years ago

I did a fresh install.

Thanks for give it a new try ..

I removed the method and its still broken.

Did you restart your SearXNG service (container)?

untill I edited the settings.yml

I assume there was an typo .. most often the indentation is not correct, please check the indentation twice ..

Alternatively you can post us your modified settings.yml and we can check it .. BTW: which editor do you use .. some editors change encoding, the line ending or add a byte order mark.

ZackeryBayle commented 2 years ago

@return42 I did restart the service put it down to add the method: " GET" I checked it with an online YAML syntax checker so I reverted it by removing the line with the added method including any empty spaces. It still won't render again.

return42 commented 2 years ago

It still won't render again.

Then the issue might not related to SearXNG .. activate debug and have a look at the logs.

Other questions:

gmc091 commented 2 years ago

This is my first setup. I am getting nothing rendered to the page. the only error I have from the console is Uncaught TypeError: Cannot read properties of undefined (reading 'encrypt')

Linux, Ubuntu LTS 20.XX current Docker install current searxng install

please let me know if their is any other info I can provide.

Hi! Try watching this video it explains how to install it: https://www.youtube.com/watch?v=ifT6npY39Dw&t=957s&ab_channel=NetworkChuck

vegomaticjuicer commented 2 years ago

Same issue - trying to use just local ip. Adding anything to the host entry in the .env file results in no response from the server. Keeping the host name commented # will result in activity. Hitting the ip address in the browser, I can see the response on the server, but no page is rendered, just blank.

Multiple installs including the most recent after apt purge of docker, Ubuntu 20.04.4 LTS server btw.

{"level":"info","ts":1657558423.2464044,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"10.0.0.113","remote_port":"10544","proto":"HTTP/1.1","method":"GET","host":"10.0.0.10","uri":"/favicon.ico","headers":{"Accept-Encoding":["gzip, deflate"],"Referer":["http://10.0.0.10/"],"Accept":["image/avif,image/webp,*/*"],"Dnt":["1"],"Connection":["keep-alive"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0"],"Accept-Language":["en-US,en;q=0.5"]}},"user_id":"","duration":0.00000776,"size":0,"status":0,"resp_headers":{"Server":["Caddy"]}}

bytefana commented 2 years ago

I am having the same issue. Running on localhost. Server is getting the request from browser, but blank page is rendered Installed using steps as shown from Network Chuck (without the public ip and domain)

Zubayer204 commented 2 years ago

Hi, I have also used network chuck's methods and facing the same issue. But once I removed the method: "GET" from the settings.yml file, it seems to start working! Dunno what's the problem. Maybe there's a bug with the method: "GET" setting.

bytefana commented 2 years ago

unfortunately, I am still having blank page rendered with or without method: "GET" in the settings.yml file

return42 commented 2 years ago

At all having this issue;

the cause of the problem that some (few) have is unclear and without more information we can not provide any assistance ...

please have a look at the SearXNG logs (activate debug) / give feedback to what have been asked in https://github.com/searxng/searxng-docker/issues/50

loky-lp commented 2 years ago

Had the same issue. I tried to setup all on a Raspberry Pi 4 running Ubuntu server 20.04 LTS

I followed all the instructions from the repo except from editing the .env file, i'm planning to using this instance for my family.

I tried both with and without the method: "GET" inside the settings file. I've also tried adding cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 to uwsgi.ini as the log suggested but i still got a blank page.

These are the logs that i got after running sudo docker-compose up inside /usr/local/searxgn-docker folder (as you can see i tried connecting a couple times)

Logs ``` Starting caddy ... done Starting searxng ... done Starting redis ... done Attaching to caddy, redis, searxng redis | 1:C 13 Jul 2022 22:59:40.187 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis | 1:C 13 Jul 2022 22:59:40.187 # Redis version=7.0.3, bits=64, commit=00000000, modified=0, pid=1, just started redis | 1:C 13 Jul 2022 22:59:40.187 # Configuration loaded caddy | {"level":"info","ts":1657753179.688945,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"} caddy | {"level":"warn","ts":1657753179.692562,"logger":"caddyfile","msg":"Unnecessary header_up X-Forwarded-Proto: the reverse proxy's default behavior is to pass headers to the upstream"} caddy | {"level":"warn","ts":1657753179.6955643,"msg":"Caddyfile input is not formatted; run the 'caddy fmt' command to fix inconsistencies","adapter":"caddyfile","file":"/etc/caddy/Caddyfile","line":2} caddy | {"level":"warn","ts":1657753179.697599,"logger":"admin","msg":"admin endpoint disabled"} caddy | {"level":"warn","ts":1657753179.6982288,"logger":"http","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80} caddy | {"level":"info","ts":1657753179.6982749,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0x4000337880"} redis | 1:M 13 Jul 2022 22:59:40.189 * monotonic clock: POSIX clock_gettime redis | 1:M 13 Jul 2022 22:59:40.191 * Running mode=standalone, port=6379. redis | 1:M 13 Jul 2022 22:59:40.191 # Server initialized redis | 1:M 13 Jul 2022 22:59:40.191 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. caddy | {"level":"info","ts":1657753179.7015936,"logger":"tls","msg":"cleaning storage unit","description":"FileStorage:/data/caddy"} caddy | {"level":"info","ts":1657753179.70174,"logger":"tls","msg":"finished cleaning storage units"} redis | 1:M 13 Jul 2022 22:59:40.195 * Ready to accept connections caddy | {"level":"info","ts":1657753179.702833,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"} caddy | {"level":"info","ts":1657753179.7029057,"msg":"serving initial configuration"} searxng | SearXNG version 2022.07.10-b6d59dec searxng | Use existing /etc/searxng/uwsgi.ini searxng | Use existing /etc/searxng/settings.yml searxng | Listen on 0.0.0.0:8080 searxng | [uWSGI] getting INI configuration from /etc/searxng/uwsgi.ini searxng | [uwsgi-static] added mapping for /static => /usr/local/searxng/searx/static searxng | *** Starting uWSGI 2.0.20 (64bit) on [Wed Jul 13 22:59:41 2022] *** searxng | compiled with version: 11.2.1 20220219 on 21 December 2021 13:20:05 searxng | os: Linux-5.4.0-1065-raspi searxng/searxng#75-Ubuntu SMP PREEMPT Fri Jun 3 14:24:57 UTC 2022 searxng | nodename: 7599e69697f1 searxng | machine: aarch64 searxng | clock source: unix searxng | pcre jit disabled searxng | detected number of CPU cores: 4 searxng | current working directory: /usr/local/searxng searxng | detected binary path: /usr/sbin/uwsgi searxng | chdir() to /usr/local/searxng/searx/ searxng | your memory page size is 4096 bytes searxng | detected max file descriptor number: 1048576 searxng | building mime-types dictionary from file /etc/mime.types...1323 entry found searxng | lock engine: pthread robust mutexes searxng | thunder lock: disabled (you can enable it with --thunder-lock) searxng | *** Cache "searxcache" initialized: 11MB (key: 2136 bytes, keys: 4272000 bytes, data: 8192000 bytes, bitmap: 250 bytes) preallocated *** searxng | *** Cache "searxcache" initialized: 11MB (key: 2136 bytes, keys: 4272000 bytes, data: 8192000 bytes, bitmap: 250 bytes) preallocated *** searxng | *** Cache "searxcache" initialized: 11MB (key: 2136 bytes, keys: 4272000 bytes, data: 8192000 bytes, bitmap: 250 bytes) preallocated *** searxng | *** Cache "searxcache" initialized: 11MB (key: 2136 bytes, keys: 4272000 bytes, data: 8192000 bytes, bitmap: 250 bytes) preallocated *** searxng | uwsgi socket 0 bound to TCP address 0.0.0.0:8080 fd 7 searxng | Python version: 3.10.4 (main, Apr 30 2022, 16:49:16) [GCC 11.2.1 20220219] searxng | Python main interpreter initialized at 0xffff9cd7cb20 searxng | python threads support enabled searxng | your server socket listen backlog is limited to 100 connections searxng | your mercy for graceful operations on workers is 60 seconds searxng | mapped 603360 bytes (589 KB) for 16 cores searxng | *** Operational MODE: preforking+threaded *** searxng | added /usr/local/searxng/ to pythonpath. searxng | spawned uWSGI master process (pid: 7) searxng | spawned uWSGI worker 1 (pid: 10, cores: 4) searxng | spawned uWSGI worker 2 (pid: 11, cores: 4) searxng | spawned 4 offload threads for uWSGI worker 1 searxng | spawned uWSGI worker 3 (pid: 16, cores: 4) searxng | spawned uWSGI worker 4 (pid: 18, cores: 4) searxng | cache sweeper thread enabled searxng | spawned 4 offload threads for uWSGI worker 2 searxng | spawned 4 offload threads for uWSGI worker 3 searxng | spawned 4 offload threads for uWSGI worker 4 searxng | 2022-07-13 22:59:45,086 ERROR:searx.shared: uwsgi.ini configuration error, add this line to your uwsgi.ini searxng | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 searxng | 2022-07-13 22:59:45,144 ERROR:searx.shared: uwsgi.ini configuration error, add this line to your uwsgi.ini searxng | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 searxng | 2022-07-13 22:59:45,306 ERROR:searx.shared: uwsgi.ini configuration error, add this line to your uwsgi.ini searxng | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 searxng | 2022-07-13 22:59:45,340 ERROR:searx.shared: uwsgi.ini configuration error, add this line to your uwsgi.ini searxng | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 searxng | WSGI app 0 (mountpoint='') ready in 7 seconds on interpreter 0xffff9cd7cb20 pid: 11 (default app) searxng | WSGI app 0 (mountpoint='') ready in 7 seconds on interpreter 0xffff9cd7cb20 pid: 18 (default app) searxng | WSGI app 0 (mountpoint='') ready in 7 seconds on interpreter 0xffff9cd7cb20 pid: 10 (default app) searxng | WSGI app 0 (mountpoint='') ready in 8 seconds on interpreter 0xffff9cd7cb20 pid: 16 (default app) caddy | {"level":"info","ts":1657753220.9265058,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"192.168.1.162","remote_port":"53098","proto":"HTTP/1.1","method":"GET","host":"192.168.1.2","uri":"/","headers":{"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"],"Accept-Language":["it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7"],"Dnt":["1"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"],"Cache-Control":["max-age=0"],"Upgrade-Insecure-Requests":["1"],"Accept-Encoding":["gzip, deflate"],"Connection":["keep-alive"]}},"user_id":"","duration":0.000013574,"size":0,"status":0,"resp_headers":{"Server":["Caddy"]}} caddy | {"level":"info","ts":1657753221.0569553,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"192.168.1.162","remote_port":"53098","proto":"HTTP/1.1","method":"GET","host":"192.168.1.2","uri":"/favicon.ico","headers":{"Accept-Language":["it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7"],"Accept":["image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8"],"Referer":["http://192.168.1.2/"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"],"Dnt":["1"],"Accept-Encoding":["gzip, deflate"],"Connection":["keep-alive"]}},"user_id":"","duration":0.000009834,"size":0,"status":0,"resp_headers":{"Server":["Caddy"]}} caddy | {"level":"info","ts":1657753226.3027136,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"192.168.1.162","remote_port":"53098","proto":"HTTP/1.1","method":"GET","host":"192.168.1.2","uri":"/","headers":{"Cache-Control":["max-age=0"],"Accept-Encoding":["gzip, deflate"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"],"Accept-Language":["it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7"],"Connection":["keep-alive"],"Dnt":["1"],"Upgrade-Insecure-Requests":["1"]}},"user_id":"","duration":0.000009963,"size":0,"status":0,"resp_headers":{"Server":["Caddy"]}} caddy | {"level":"info","ts":1657753226.405351,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"192.168.1.162","remote_port":"53098","proto":"HTTP/1.1","method":"GET","host":"192.168.1.2","uri":"/favicon.ico","headers":{"Connection":["keep-alive"],"Referer":["http://192.168.1.2/"],"Accept-Language":["it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"],"Dnt":["1"],"Accept":["image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8"],"Accept-Encoding":["gzip, deflate"]}},"user_id":"","duration":0.000008203,"size":0,"status":0,"resp_headers":{"Server":["Caddy"]}} ^CGracefully stopping... (press Ctrl+C again to force) Stopping caddy ... done Stopping redis ... done Stopping searxng ... done ```

192.168.1.2 it's the address of the raspberry and 192.168.1.162 is the address of the client

return42 commented 2 years ago

@LoKy-dev thanks for your comment. I am sorry, in this log we see only the caddy logging, what we need is the log of the SearXNG process (see my https://github.com/searxng/searxng-docker/issues/50)

bytefana commented 2 years ago
root_searx@searx:/usr/local/searxng-docker$ sudo docker-compose up
Creating network "searxng-docker_searxng" with the default driver
Creating caddy   ... done
Creating redis   ... done
Creating searxng ... done
Attaching to caddy, searxng, redis
caddy      | {"level":"info","ts":1657777138.3038585,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"}
caddy      | {"level":"warn","ts":1657777138.3068898,"logger":"caddyfile","msg":"Unnecessary header_up X-Forwarded-Proto: the reverse proxy's default behavior is to pass headers to the upstream"}
caddy      | {"level":"warn","ts":1657777138.309033,"msg":"Caddyfile input is not formatted; run the 'caddy fmt' command to fix inconsistencies","adapter":"caddyfile","file":"/etc/caddy/Caddyfile","line":2}
caddy      | {"level":"warn","ts":1657777138.3106833,"logger":"admin","msg":"admin endpoint disabled"}
caddy      | {"level":"warn","ts":1657777138.3114839,"logger":"http","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80}
caddy      | {"level":"info","ts":1657777138.3144124,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"}
caddy      | {"level":"info","ts":1657777138.3150744,"msg":"serving initial configuration"}
caddy      | {"level":"info","ts":1657777138.3160713,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc0001ae850"}
caddy      | {"level":"info","ts":1657777138.316728,"logger":"tls","msg":"cleaning storage unit","description":"FileStorage:/data/caddy"}
caddy      | {"level":"info","ts":1657777138.3174412,"logger":"tls","msg":"finished cleaning storage units"}
redis      | 1:C 14 Jul 2022 05:39:00.183 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis      | 1:C 14 Jul 2022 05:39:00.190 # Redis version=7.0.2, bits=64, commit=00000000, modified=0, pid=1, just started
redis      | 1:C 14 Jul 2022 05:39:00.190 # Configuration loaded
redis      | 1:M 14 Jul 2022 05:39:00.191 * monotonic clock: POSIX clock_gettime
redis      | 1:M 14 Jul 2022 05:39:00.203 * Running mode=standalone, port=6379.
redis      | 1:M 14 Jul 2022 05:39:00.205 # Server initialized
redis      | 1:M 14 Jul 2022 05:39:00.210 * Ready to accept connections
searxng    | SearXNG version 2022.07.10-b6d59dec
searxng    | Use existing /etc/searxng/uwsgi.ini
searxng    | Use existing /etc/searxng/settings.yml
searxng    | Listen on 0.0.0.0:8080
searxng    | [uWSGI] getting INI configuration from /etc/searxng/uwsgi.ini
searxng    | [uwsgi-static] added mapping for /static => /usr/local/searxng/searx/static
searxng    | *** Starting uWSGI 2.0.20 (64bit) on [Thu Jul 14 05:39:00 2022] ***
searxng    | compiled with version: 11.2.1 20220219 on 21 December 2021 13:20:05
searxng    | os: Linux-5.15.0-40-generic searxng/searxng#43-Ubuntu SMP Wed Jun 15 12:54:21 UTC 2022
searxng    | nodename: f45285d4c2cd
searxng    | machine: x86_64
searxng    | clock source: unix
searxng    | pcre jit disabled
searxng    | detected number of CPU cores: 1
searxng    | current working directory: /usr/local/searxng
searxng    | detected binary path: /usr/sbin/uwsgi
searxng    | chdir() to /usr/local/searxng/searx/
searxng    | your memory page size is 4096 bytes
searxng    | detected max file descriptor number: 1048576
searxng    | building mime-types dictionary from file /etc/mime.types...1323 entry found
searxng    | lock engine: pthread robust mutexes
searxng    | thunder lock: disabled (you can enable it with --thunder-lock)
searxng    | *** Cache "searxngcache" initialized: 11MB (key: 2136 bytes, keys: 4272000 bytes, data: 8192000 bytes, bitmap: 250 bytes) preallocated ***
searxng    | uwsgi socket 0 bound to TCP address 0.0.0.0:8080 fd 4
searxng    | Python version: 3.10.4 (main, Apr 30 2022, 16:49:16) [GCC 11.2.1 20220219]
searxng    | Python main interpreter initialized at 0x7f976ce89b50
searxng    | python threads support enabled
searxng    | your server socket listen backlog is limited to 100 connections
searxng    | your mercy for graceful operations on workers is 60 seconds
searxng    | mapped 241344 bytes (235 KB) for 4 cores
searxng    | *** Operational MODE: threaded ***
searxng    | added /usr/local/searxng/ to pythonpath.
searxng    | spawned uWSGI master process (pid: 7)
searxng    | spawned uWSGI worker 1 (pid: 10, cores: 4)
searxng    | cache sweeper thread enabled
searxng    | spawned 1 offload threads for uWSGI worker 1
searxng    | INFO    searx                         : merge the default settings ( /usr/local/searxng/searx/settings.yml ) and the user setttings ( /etc/searxng/settings.yml )
searxng    | INFO    searx                         : max_request_timeout=None
searxng    | INFO    searx                         : version: 2022.07.10-b6d59dec
searxng    | ERROR   searx.shared                  : uwsgi.ini configuration error, add this line to your uwsgi.ini
searxng    | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1
searxng    | DEBUG   searx.webapp                  : static directory is /usr/local/searxng/searx/static
searxng    | DEBUG   searx.webapp                  : templates directory is /usr/local/searxng/searx/templates
searxng    | DEBUG   searx.locales                 : locales_initialize: /usr/local/searxng/searx/translations
searxng    | DEBUG   searx.plugins                 : searx.plugins.ahmia_filter: loaded
searxng    | DEBUG   searx.plugins                 : searx.plugins.hash_plugin: loaded
searxng    | DEBUG   searx.plugins                 : searx.plugins.hostname_replace: loaded
searxng    | DEBUG   searx.plugins                 : searx.plugins.limiter: loaded
searxng    | DEBUG   searx.plugins.limiter         : init limiter DB
searxng    | INFO    searx.shared.redis            : connected redis DB --> default
searxng    | DEBUG   searx.plugins                 : searx.plugins.oa_doi_rewrite: loaded
searxng    | DEBUG   searx.plugins                 : searx.plugins.search_on_category_select: loaded
searxng    | DEBUG   searx.plugins                 : searx.plugins.self_info: loaded
searxng    | DEBUG   searx.plugins                 : searx.plugins.tracker_url_remover: loaded
searxng    | DEBUG   searx.plugins                 : searx.plugins.vim_hotkeys: loaded
searxng    | DEBUG   searx.engines.dailymotion     : Initialized
searxng    | INFO    searx                         : Send SIGUSR1 signal to pid 10 to start the checker
searxng    | INFO    searx                         : debug mode: checker is disabled
searxng    | WSGI app 0 (mountpoint='') ready in 3 seconds on interpreter 0x7f976ce89b50 pid: 10 (default app)
searxng    | DEBUG   searx.network.soundcloud      : HTTP Request: GET https://soundcloud.com "HTTP/2 200 OK" (text/html)
searxng    | DEBUG   searx.network.soundcloud      : HTTP Request: GET https://a-v2.sndcdn.com/assets/50-a870eded.js "HTTP/2 200 OK" (application/javascript)
searxng    | DEBUG   searx.engines.soundcloud      : Initialized
searxng    | DEBUG   searx.network.z-library       : HTTP Request: GET https://z-lib.org "HTTP/2 200 OK" (text/html; charset=UTF-8)
searxng    | DEBUG   searx.engines.z-library       : using base_url: https://my1lib.org
searxng    | DEBUG   searx.engines.z-library       : Initialized
searxng    | DEBUG   searx.network.wolframalpha    : HTTP Request: GET https://www.wolframalpha.com/input/api/v1/code?ts=9999999999999999999 "HTTP/1.1 200 OK"
searxng    | DEBUG   charset_normalizer            : Encoding detection: ascii is most likely the one.
searxng    | DEBUG   searx.engines.wolframalpha    : Initialized
searxng    | DEBUG   searx.network.wikidata        : HTTP Request: GET https://query.wikidata.org/sparql?query=%0ASELECT+%3Fitem+%3Fname%0AWHERE+%7B%0A++++%7B%0A++++++SELECT+%3Fitem%0A++++++WHERE+%7B+%3Fitem+wdt%3AP279%2A+wd%3AQ12132+%7D%0A++++%7D+UNION+%7B%0A++++++VALUES+%3Fitem+%7B+wd%3AP571+wd%3AP576+wd%3AP580+wd%3AP582+wd%3AP569+wd%3AP570+wd%3AP619+wd%3AP620+wd%3AP27+wd%3AP495+wd%3AP17+wd%3AP159+wd%3AP36+wd%3AP35+wd%3AP6+wd%3AP122+wd%3AP37+wd%3AP1082+wd%3AP2046+wd%3AP281+wd%3AP38+wd%3AP2048+wd%3AP400+wd%3AP50+wd%3AP170+wd%3AP57+wd%3AP175+wd%3AP178+wd%3AP162+wd%3AP176+wd%3AP58+wd%3AP272+wd%3AP264+wd%3AP123+wd%3AP449+wd%3AP750+wd%3AP86+wd%3AP577+wd%3AP136+wd%3AP364+wd%3AP212+wd%3AP957+wd%3AP275+wd%3AP277+wd%3AP348+wd%3AP840+wd%3AP1098+wd%3AP282+wd%3AP1018+wd%3AP218+wd%3AP169+wd%3AP112+wd%3AP1454+wd%3AP137+wd%3AP1029+wd%3AP225+wd%3AP274+wd%3AP1346+wd%3AP1120+wd%3AP498+wd%3AP856+wd%3AP1324+wd%3AP1581+%7D%0A++++%7D%0A++++OPTIONAL+%7B+%3Fitem+rdfs%3Alabel+%3Fname.+%7D%0A%7D%0A "HTTP/2 200 OK" (application/sparql-results+json;charset=utf-8)
searxng    | DEBUG   searx.engines.wikidata        : request time 0:00:02.652000
searxng    | DEBUG   searx.engines.wikidata        : Initialized
caddy      | {"level":"info","ts":1657777156.107311,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"192.168.1.10","remote_port":"55447","proto":"HTTP/1.1","method":"GET","host":"192.168.1.6","uri":"/","headers":{"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"],"Cache-Control":["max-age=0"],"Upgrade-Insecure-Requests":["1"],"Accept-Language":["en-US,en;q=0.9"],"Connection":["keep-alive"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"],"Accept-Encoding":["gzip, deflate"]}},"user_id":"","duration":0.000012517,"size":0,"status":0,"resp_headers":{"Server":["Caddy"]}}
caddy      | {"level":"info","ts":1657777156.187429,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"192.168.1.10","remote_port":"55447","proto":"HTTP/1.1","method":"GET","host":"192.168.1.6","uri":"/favicon.ico","headers":{"Accept-Language":["en-US,en;q=0.9"],"Connection":["keep-alive"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"],"Accept":["image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8"],"Referer":["http://192.168.1.6/"],"Accept-Encoding":["gzip, deflate"]}},"user_id":"","duration":0.000012338,"size":0,"status":0,"resp_headers":{"Server":["Caddy"]}}
caddy      | {"level":"info","ts":1657777165.177603,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"192.168.1.10","remote_port":"55447","proto":"HTTP/1.1","method":"GET","host":"192.168.1.6","uri":"/","headers":{"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"],"Cache-Control":["max-age=0"],"Upgrade-Insecure-Requests":["1"],"Connection":["keep-alive"],"Accept-Encoding":["gzip, deflate"],"Accept-Language":["en-US,en;q=0.9"]}},"user_id":"","duration":0.000430469,"size":0,"status":0,"resp_headers":{"Server":["Caddy"]}}
caddy      | {"level":"info","ts":1657777165.2073667,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"192.168.1.10","remote_port":"55447","proto":"HTTP/1.1","method":"GET","host":"192.168.1.6","uri":"/favicon.ico","headers":{"Connection":["keep-alive"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"],"Accept":["image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8"],"Referer":["http://192.168.1.6/"],"Accept-Encoding":["gzip, deflate"],"Accept-Language":["en-US,en;q=0.9"]}},"user_id":"","duration":0.000013709,"size":0,"status":0,"resp_headers":{"Server":["Caddy"]}}
caddy      | {"level":"info","ts":1657777167.2632756,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"192.168.1.10","remote_port":"55447","proto":"HTTP/1.1","method":"GET","host":"192.168.1.6","uri":"/","headers":{"Cache-Control":["max-age=0"],"Connection":["keep-alive"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"],"Accept-Encoding":["gzip, deflate"],"Accept-Language":["en-US,en;q=0.9"]}},"user_id":"","duration":0.000013709,"size":0,"status":0,"resp_headers":{"Server":["Caddy"]}}
caddy      | {"level":"info","ts":1657777167.3074322,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"192.168.1.10","remote_port":"55447","proto":"HTTP/1.1","method":"GET","host":"192.168.1.6","uri":"/favicon.ico","headers":{"Accept-Encoding":["gzip, deflate"],"Accept-Language":["en-US,en;q=0.9"],"Connection":["keep-alive"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"],"Accept":["image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8"],"Referer":["http://192.168.1.6/"]}},"user_id":"","duration":0.000012696,"size":0,"status":0,"resp_headers":{"Server":["Caddy"]}}
^CGracefully stopping... (press Ctrl+C again to force)
Stopping redis   ... done
Stopping searxng ... done
Stopping caddy   ... done
return42 commented 2 years ago

@dalf @mrpaulblack if one of you have time for, could you have a look at the log from https://github.com/searxng/searxng-docker/issues/50

If I am not wrong, there is request (logged by caddy) but this request is not going to the SearXNG app .. may be there is an issue with the uwsgi? You are more familiar with the docker container than me, maybe you have a advice for us.

HeroBaskan commented 2 years ago

Running On Kali 2022.02 edited and then reversed changes to default in .env didin't edited uwsgi.ini running on root user. perfectly runs in localhost:80 connecting from IP results blank page

Log .. Click to expand ``` ┌──(root㉿kali)-[/usr/local/searxng-docker] └─# sudo docker-compose up Starting searxng ... done Starting caddy ... done Starting redis ... done Attaching to caddy, searxng, redis caddy | {"level":"info","ts":1657799416.0569446,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"} caddy | {"level":"warn","ts":1657799416.0574837,"logger":"caddyfile","msg":"Unnecessary header_up X-Forwarded-Proto: the reverse proxy's default behavior is to pass headers to the upstream"} caddy | {"level":"warn","ts":1657799416.0580857,"msg":"Caddyfile input is not formatted; run the 'caddy fmt' command to fix inconsistencies","adapter":"caddyfile","file":"/etc/caddy/Caddyfile","line":2} caddy | {"level":"warn","ts":1657799416.0584073,"logger":"admin","msg":"admin endpoint disabled"} caddy | {"level":"warn","ts":1657799416.0585341,"logger":"http","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80} caddy | {"level":"info","ts":1657799416.0585892,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000632d90"} caddy | {"level":"info","ts":1657799416.0590112,"logger":"tls","msg":"cleaning storage unit","description":"FileStorage:/data/caddy"} caddy | {"level":"info","ts":1657799416.0590234,"logger":"tls","msg":"finished cleaning storage units"} caddy | {"level":"info","ts":1657799416.059242,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"} caddy | {"level":"info","ts":1657799416.0592515,"msg":"serving initial configuration"} redis | 1:C 14 Jul 2022 11:50:16.316 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis | 1:C 14 Jul 2022 11:50:16.316 # Redis version=7.0.2, bits=64, commit=00000000, modified=0, pid=1, just started redis | 1:C 14 Jul 2022 11:50:16.316 # Configuration loaded redis | 1:M 14 Jul 2022 11:50:16.317 * monotonic clock: POSIX clock_gettime redis | 1:M 14 Jul 2022 11:50:16.317 * Running mode=standalone, port=6379. redis | 1:M 14 Jul 2022 11:50:16.317 # Server initialized redis | 1:M 14 Jul 2022 11:50:16.317 * Ready to accept connections searxng | SearXNG version 2022.07.08-2864a67c searxng | Use existing /etc/searxng/uwsgi.ini searxng | Use existing /etc/searxng/settings.yml searxng | Listen on 0.0.0.0:8080 searxng | [uWSGI] getting INI configuration from /etc/searxng/uwsgi.ini searxng | [uwsgi-static] added mapping for /static => /usr/local/searxng/searx/static searxng | *** Starting uWSGI 2.0.20 (64bit) on [Thu Jul 14 11:50:16 2022] *** searxng | compiled with version: 11.2.1 20220219 on 21 December 2021 13:20:05 searxng | os: Linux-5.16.0-kali7-amd64 searxng/searxng#1 SMP PREEMPT Debian 5.16.18-1kali1 (2022-04-01) searxng | nodename: dc10a4461dd3 searxng | machine: x86_64 searxng | clock source: unix searxng | pcre jit disabled searxng | detected number of CPU cores: 6 searxng | current working directory: /usr/local/searxng searxng | detected binary path: /usr/sbin/uwsgi searxng | chdir() to /usr/local/searxng/searx/ searxng | your memory page size is 4096 bytes searxng | detected max file descriptor number: 1048576 searxng | building mime-types dictionary from file /etc/mime.types...1323 entry found searxng | lock engine: pthread robust mutexes searxng | thunder lock: disabled (you can enable it with --thunder-lock) searxng | *** Cache "searxngcache" initialized: 11MB (key: 2136 bytes, keys: 4272000 bytes, data: 8192000 bytes, bitmap: 250 bytes) preallocated *** searxng | uwsgi socket 0 bound to TCP address 0.0.0.0:8080 fd 4 searxng | Python version: 3.10.4 (main, Apr 30 2022, 16:49:16) [GCC 11.2.1 20220219] searxng | Python main interpreter initialized at 0x7ff7ae3c8b50 searxng | python threads support enabled searxng | your server socket listen backlog is limited to 100 connections searxng | your mercy for graceful operations on workers is 60 seconds searxng | mapped 844704 bytes (824 KB) for 24 cores searxng | *** Operational MODE: preforking+threaded *** searxng | added /usr/local/searxng/ to pythonpath. searxng | spawned uWSGI master process (pid: 7) searxng | spawned uWSGI worker 1 (pid: 10, cores: 4) searxng | spawned uWSGI worker 2 (pid: 11, cores: 4) searxng | spawned uWSGI worker 3 (pid: 14, cores: 4) searxng | spawned uWSGI worker 4 (pid: 20, cores: 4) searxng | spawned 6 offload threads for uWSGI worker 1 searxng | spawned 6 offload threads for uWSGI worker 2 searxng | spawned uWSGI worker 5 (pid: 26, cores: 4) searxng | spawned uWSGI worker 6 (pid: 30, cores: 4) searxng | cache sweeper thread enabled searxng | spawned 6 offload threads for uWSGI worker 4 searxng | spawned 6 offload threads for uWSGI worker 5 searxng | spawned 6 offload threads for uWSGI worker 6 searxng | spawned 6 offload threads for uWSGI worker 3 searxng | INFO searx : merge the default settings ( /usr/local/searxng/searx/settings.yml ) and the user setttings ( /etc/searxng/settings.yml ) searxng | INFO searx : max_request_timeout=None searxng | INFO searx : merge the default settings ( /usr/local/searxng/searx/settings.yml ) and the user setttings ( /etc/searxng/settings.yml ) searxng | INFO searx : max_request_timeout=None searxng | INFO searx : merge the default settings ( /usr/local/searxng/searx/settings.yml ) and the user setttings ( /etc/searxng/settings.yml ) searxng | INFO searx : max_request_timeout=None searxng | INFO searx : merge the default settings ( /usr/local/searxng/searx/settings.yml ) and the user setttings ( /etc/searxng/settings.yml ) searxng | INFO searx : max_request_timeout=None searxng | INFO searx : merge the default settings ( /usr/local/searxng/searx/settings.yml ) and the user setttings ( /etc/searxng/settings.yml ) searxng | INFO searx : max_request_timeout=None searxng | INFO searx : merge the default settings ( /usr/local/searxng/searx/settings.yml ) and the user setttings ( /etc/searxng/settings.yml ) searxng | INFO searx : max_request_timeout=None searxng | INFO searx : version: 2022.07.08-2864a67c searxng | INFO searx : version: 2022.07.08-2864a67c searxng | INFO searx : version: 2022.07.08-2864a67c searxng | INFO searx : version: 2022.07.08-2864a67c searxng | INFO searx : version: 2022.07.08-2864a67c searxng | INFO searx : version: 2022.07.08-2864a67c searxng | ERROR searx.shared : uwsgi.ini configuration error, add this line to your uwsgi.ini searxng | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 searxng | DEBUG searx.webapp : static directory is /usr/local/searxng/searx/static searxng | ERROR searx.shared : uwsgi.ini configuration error, add this line to your uwsgi.ini searxng | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 searxng | DEBUG searx.webapp : templates directory is /usr/local/searxng/searx/templates searxng | DEBUG searx.webapp : static directory is /usr/local/searxng/searx/static searxng | DEBUG searx.webapp : templates directory is /usr/local/searxng/searx/templates searxng | ERROR searx.shared : uwsgi.ini configuration error, add this line to your uwsgi.ini searxng | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 searxng | DEBUG searx.webapp : static directory is /usr/local/searxng/searx/static searxng | ERROR searx.shared : uwsgi.ini configuration error, add this line to your uwsgi.ini searxng | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 searxng | ERROR searx.shared : uwsgi.ini configuration error, add this line to your uwsgi.ini searxng | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 searxng | DEBUG searx.locales : locales_initialize: /usr/local/searxng/searx/translations searxng | DEBUG searx.webapp : templates directory is /usr/local/searxng/searx/templates searxng | DEBUG searx.webapp : static directory is /usr/local/searxng/searx/static searxng | DEBUG searx.webapp : static directory is /usr/local/searxng/searx/static searxng | ERROR searx.shared : uwsgi.ini configuration error, add this line to your uwsgi.ini searxng | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 searxng | DEBUG searx.webapp : templates directory is /usr/local/searxng/searx/templates searxng | DEBUG searx.locales : locales_initialize: /usr/local/searxng/searx/translations searxng | DEBUG searx.webapp : static directory is /usr/local/searxng/searx/static searxng | DEBUG searx.webapp : templates directory is /usr/local/searxng/searx/templates searxng | DEBUG searx.webapp : templates directory is /usr/local/searxng/searx/templates searxng | DEBUG searx.locales : locales_initialize: /usr/local/searxng/searx/translations searxng | DEBUG searx.locales : locales_initialize: /usr/local/searxng/searx/translations searxng | DEBUG searx.locales : locales_initialize: /usr/local/searxng/searx/translations searxng | DEBUG searx.locales : locales_initialize: /usr/local/searxng/searx/translations searxng | DEBUG searx.plugins : searx.plugins.ahmia_filter: loaded searxng | DEBUG searx.plugins : searx.plugins.hash_plugin: loaded searxng | DEBUG searx.plugins : searx.plugins.hostname_replace: loaded searxng | DEBUG searx.plugins : searx.plugins.ahmia_filter: loaded searxng | DEBUG searx.plugins : searx.plugins.hash_plugin: loaded searxng | DEBUG searx.plugins : searx.plugins.hostname_replace: loaded searxng | DEBUG searx.plugins : searx.plugins.ahmia_filter: loaded searxng | DEBUG searx.plugins : searx.plugins.hash_plugin: loaded searxng | DEBUG searx.plugins : searx.plugins.limiter: loaded searxng | DEBUG searx.plugins : searx.plugins.hostname_replace: loaded searxng | DEBUG searx.plugins : searx.plugins.oa_doi_rewrite: loaded searxng | DEBUG searx.plugins : searx.plugins.search_on_category_select: loaded searxng | DEBUG searx.plugins : searx.plugins.self_info: loaded searxng | DEBUG searx.plugins : searx.plugins.tracker_url_remover: loaded searxng | DEBUG searx.plugins : searx.plugins.vim_hotkeys: loaded searxng | DEBUG searx.plugins : searx.plugins.ahmia_filter: loaded searxng | DEBUG searx.plugins : searx.plugins.hash_plugin: loaded searxng | DEBUG searx.plugins : searx.plugins.hostname_replace: loaded searxng | DEBUG searx.plugins : searx.plugins.ahmia_filter: loaded searxng | DEBUG searx.plugins : searx.plugins.hash_plugin: loaded searxng | DEBUG searx.plugins : searx.plugins.hostname_replace: loaded searxng | DEBUG searx.plugins : searx.plugins.limiter: loaded searxng | DEBUG searx.plugins : searx.plugins.oa_doi_rewrite: loaded searxng | DEBUG searx.plugins : searx.plugins.search_on_category_select: loaded searxng | DEBUG searx.plugins : searx.plugins.self_info: loaded searxng | DEBUG searx.plugins : searx.plugins.tracker_url_remover: loaded searxng | DEBUG searx.plugins : searx.plugins.vim_hotkeys: loaded searxng | DEBUG searx.plugins : searx.plugins.ahmia_filter: loaded searxng | DEBUG searx.plugins : searx.plugins.limiter: loaded searxng | DEBUG searx.plugins : searx.plugins.oa_doi_rewrite: loaded searxng | DEBUG searx.plugins : searx.plugins.hash_plugin: loaded searxng | DEBUG searx.plugins : searx.plugins.hostname_replace: loaded searxng | DEBUG searx.plugins : searx.plugins.search_on_category_select: loaded searxng | DEBUG searx.plugins : searx.plugins.limiter: loaded searxng | DEBUG searx.plugins : searx.plugins.oa_doi_rewrite: loaded searxng | DEBUG searx.plugins : searx.plugins.search_on_category_select: loaded searxng | DEBUG searx.plugins : searx.plugins.self_info: loaded searxng | DEBUG searx.plugins : searx.plugins.self_info: loaded searxng | DEBUG searx.plugins : searx.plugins.tracker_url_remover: loaded searxng | DEBUG searx.plugins : searx.plugins.vim_hotkeys: loaded searxng | DEBUG searx.plugins : searx.plugins.tracker_url_remover: loaded searxng | DEBUG searx.plugins : searx.plugins.vim_hotkeys: loaded searxng | DEBUG searx.plugins : searx.plugins.limiter: loaded searxng | DEBUG searx.plugins : searx.plugins.oa_doi_rewrite: loaded searxng | DEBUG searx.plugins : searx.plugins.search_on_category_select: loaded searxng | DEBUG searx.plugins : searx.plugins.self_info: loaded searxng | DEBUG searx.plugins : searx.plugins.tracker_url_remover: loaded searxng | DEBUG searx.plugins : searx.plugins.vim_hotkeys: loaded searxng | DEBUG searx.plugins : searx.plugins.limiter: loaded searxng | DEBUG searx.plugins : searx.plugins.oa_doi_rewrite: loaded searxng | DEBUG searx.plugins : searx.plugins.search_on_category_select: loaded searxng | DEBUG searx.plugins : searx.plugins.self_info: loaded searxng | DEBUG searx.plugins : searx.plugins.tracker_url_remover: loaded searxng | DEBUG searx.plugins : searx.plugins.vim_hotkeys: loaded searxng | DEBUG searx.engines.dailymotion : Initialized searxng | DEBUG searx.engines.dailymotion : Initialized searxng | INFO searx : Send SIGUSR1 signal to pid 14 to start the checker searxng | INFO searx : debug mode: checker is disabled searxng | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x7ff7ae3c8b50 pid: 14 (default app) searxng | INFO searx : Send SIGUSR1 signal to pid 20 to start the checker searxng | INFO searx : debug mode: checker is disabled searxng | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x7ff7ae3c8b50 pid: 20 (default app) searxng | DEBUG searx.engines.dailymotion : Initialized searxng | INFO searx : Send SIGUSR1 signal to pid 10 to start the checker searxng | INFO searx : debug mode: checker is disabled searxng | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x7ff7ae3c8b50 pid: 10 (default app) searxng | DEBUG searx.engines.dailymotion : Initialized searxng | INFO searx : Send SIGUSR1 signal to pid 30 to start the checker searxng | INFO searx : debug mode: checker is disabled searxng | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x7ff7ae3c8b50 pid: 30 (default app) searxng | DEBUG searx.engines.dailymotion : Initialized searxng | INFO searx : Send SIGUSR1 signal to pid 11 to start the checker searxng | INFO searx : debug mode: checker is disabled searxng | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x7ff7ae3c8b50 pid: 11 (default app) searxng | DEBUG searx.engines.dailymotion : Initialized searxng | INFO searx : Send SIGUSR1 signal to pid 26 to start the checker searxng | INFO searx : debug mode: checker is disabled searxng | WSGI app 0 (mountpoint='') ready in 1 seconds on interpreter 0x7ff7ae3c8b50 pid: 26 (default app) searxng | DEBUG searx.network.wikidata : HTTP Request: GET https://query.wikidata.org/sparql?query=%0ASELECT+%3Fitem+%3Fname%0AWHERE+%7B%0A++++%7B%0A++++++SELECT+%3Fitem%0A++++++WHERE+%7B+%3Fitem+wdt%3AP279%2A+wd%3AQ12132+%7D%0A++++%7D+UNION+%7B%0A++++++VALUES+%3Fitem+%7B+wd%3AP571+wd%3AP576+wd%3AP580+wd%3AP582+wd%3AP569+wd%3AP570+wd%3AP619+wd%3AP620+wd%3AP27+wd%3AP495+wd%3AP17+wd%3AP159+wd%3AP36+wd%3AP35+wd%3AP6+wd%3AP122+wd%3AP37+wd%3AP1082+wd%3AP2046+wd%3AP281+wd%3AP38+wd%3AP2048+wd%3AP400+wd%3AP50+wd%3AP170+wd%3AP57+wd%3AP175+wd%3AP178+wd%3AP162+wd%3AP176+wd%3AP58+wd%3AP272+wd%3AP264+wd%3AP123+wd%3AP449+wd%3AP750+wd%3AP86+wd%3AP577+wd%3AP136+wd%3AP364+wd%3AP212+wd%3AP957+wd%3AP275+wd%3AP277+wd%3AP348+wd%3AP840+wd%3AP1098+wd%3AP282+wd%3AP1018+wd%3AP218+wd%3AP169+wd%3AP112+wd%3AP1454+wd%3AP137+wd%3AP1029+wd%3AP225+wd%3AP274+wd%3AP1346+wd%3AP1120+wd%3AP498+wd%3AP856+wd%3AP1324+wd%3AP1581+%7D%0A++++%7D%0A++++OPTIONAL+%7B+%3Fitem+rdfs%3Alabel+%3Fname.+%7D%0A%7D%0A "HTTP/2 200 OK" (application/sparql-results+json;charset=utf-8) searxng | DEBUG searx.network.wikidata : HTTP Request: GET https://query.wikidata.org/sparql?query=%0ASELECT+%3Fitem+%3Fname%0AWHERE+%7B%0A++++%7B%0A++++++SELECT+%3Fitem%0A++++++WHERE+%7B+%3Fitem+wdt%3AP279%2A+wd%3AQ12132+%7D%0A++++%7D+UNION+%7B%0A++++++VALUES+%3Fitem+%7B+wd%3AP571+wd%3AP576+wd%3AP580+wd%3AP582+wd%3AP569+wd%3AP570+wd%3AP619+wd%3AP620+wd%3AP27+wd%3AP495+wd%3AP17+wd%3AP159+wd%3AP36+wd%3AP35+wd%3AP6+wd%3AP122+wd%3AP37+wd%3AP1082+wd%3AP2046+wd%3AP281+wd%3AP38+wd%3AP2048+wd%3AP400+wd%3AP50+wd%3AP170+wd%3AP57+wd%3AP175+wd%3AP178+wd%3AP162+wd%3AP176+wd%3AP58+wd%3AP272+wd%3AP264+wd%3AP123+wd%3AP449+wd%3AP750+wd%3AP86+wd%3AP577+wd%3AP136+wd%3AP364+wd%3AP212+wd%3AP957+wd%3AP275+wd%3AP277+wd%3AP348+wd%3AP840+wd%3AP1098+wd%3AP282+wd%3AP1018+wd%3AP218+wd%3AP169+wd%3AP112+wd%3AP1454+wd%3AP137+wd%3AP1029+wd%3AP225+wd%3AP274+wd%3AP1346+wd%3AP1120+wd%3AP498+wd%3AP856+wd%3AP1324+wd%3AP1581+%7D%0A++++%7D%0A++++OPTIONAL+%7B+%3Fitem+rdfs%3Alabel+%3Fname.+%7D%0A%7D%0A "HTTP/2 200 OK" (application/sparql-results+json;charset=utf-8) searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://soundcloud.com "HTTP/2 200 OK" (text/html) searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://soundcloud.com "HTTP/2 200 OK" (text/html) searxng | DEBUG searx.network.wikidata : HTTP Request: GET https://query.wikidata.org/sparql?query=%0ASELECT+%3Fitem+%3Fname%0AWHERE+%7B%0A++++%7B%0A++++++SELECT+%3Fitem%0A++++++WHERE+%7B+%3Fitem+wdt%3AP279%2A+wd%3AQ12132+%7D%0A++++%7D+UNION+%7B%0A++++++VALUES+%3Fitem+%7B+wd%3AP571+wd%3AP576+wd%3AP580+wd%3AP582+wd%3AP569+wd%3AP570+wd%3AP619+wd%3AP620+wd%3AP27+wd%3AP495+wd%3AP17+wd%3AP159+wd%3AP36+wd%3AP35+wd%3AP6+wd%3AP122+wd%3AP37+wd%3AP1082+wd%3AP2046+wd%3AP281+wd%3AP38+wd%3AP2048+wd%3AP400+wd%3AP50+wd%3AP170+wd%3AP57+wd%3AP175+wd%3AP178+wd%3AP162+wd%3AP176+wd%3AP58+wd%3AP272+wd%3AP264+wd%3AP123+wd%3AP449+wd%3AP750+wd%3AP86+wd%3AP577+wd%3AP136+wd%3AP364+wd%3AP212+wd%3AP957+wd%3AP275+wd%3AP277+wd%3AP348+wd%3AP840+wd%3AP1098+wd%3AP282+wd%3AP1018+wd%3AP218+wd%3AP169+wd%3AP112+wd%3AP1454+wd%3AP137+wd%3AP1029+wd%3AP225+wd%3AP274+wd%3AP1346+wd%3AP1120+wd%3AP498+wd%3AP856+wd%3AP1324+wd%3AP1581+%7D%0A++++%7D%0A++++OPTIONAL+%7B+%3Fitem+rdfs%3Alabel+%3Fname.+%7D%0A%7D%0A "HTTP/2 200 OK" (application/sparql-results+json;charset=utf-8) searxng | DEBUG searx.network.wikidata : HTTP Request: GET https://query.wikidata.org/sparql?query=%0ASELECT+%3Fitem+%3Fname%0AWHERE+%7B%0A++++%7B%0A++++++SELECT+%3Fitem%0A++++++WHERE+%7B+%3Fitem+wdt%3AP279%2A+wd%3AQ12132+%7D%0A++++%7D+UNION+%7B%0A++++++VALUES+%3Fitem+%7B+wd%3AP571+wd%3AP576+wd%3AP580+wd%3AP582+wd%3AP569+wd%3AP570+wd%3AP619+wd%3AP620+wd%3AP27+wd%3AP495+wd%3AP17+wd%3AP159+wd%3AP36+wd%3AP35+wd%3AP6+wd%3AP122+wd%3AP37+wd%3AP1082+wd%3AP2046+wd%3AP281+wd%3AP38+wd%3AP2048+wd%3AP400+wd%3AP50+wd%3AP170+wd%3AP57+wd%3AP175+wd%3AP178+wd%3AP162+wd%3AP176+wd%3AP58+wd%3AP272+wd%3AP264+wd%3AP123+wd%3AP449+wd%3AP750+wd%3AP86+wd%3AP577+wd%3AP136+wd%3AP364+wd%3AP212+wd%3AP957+wd%3AP275+wd%3AP277+wd%3AP348+wd%3AP840+wd%3AP1098+wd%3AP282+wd%3AP1018+wd%3AP218+wd%3AP169+wd%3AP112+wd%3AP1454+wd%3AP137+wd%3AP1029+wd%3AP225+wd%3AP274+wd%3AP1346+wd%3AP1120+wd%3AP498+wd%3AP856+wd%3AP1324+wd%3AP1581+%7D%0A++++%7D%0A++++OPTIONAL+%7B+%3Fitem+rdfs%3Alabel+%3Fname.+%7D%0A%7D%0A "HTTP/2 200 OK" (application/sparql-results+json;charset=utf-8) searxng | DEBUG searx.network.wikidata : HTTP Request: GET https://query.wikidata.org/sparql?query=%0ASELECT+%3Fitem+%3Fname%0AWHERE+%7B%0A++++%7B%0A++++++SELECT+%3Fitem%0A++++++WHERE+%7B+%3Fitem+wdt%3AP279%2A+wd%3AQ12132+%7D%0A++++%7D+UNION+%7B%0A++++++VALUES+%3Fitem+%7B+wd%3AP571+wd%3AP576+wd%3AP580+wd%3AP582+wd%3AP569+wd%3AP570+wd%3AP619+wd%3AP620+wd%3AP27+wd%3AP495+wd%3AP17+wd%3AP159+wd%3AP36+wd%3AP35+wd%3AP6+wd%3AP122+wd%3AP37+wd%3AP1082+wd%3AP2046+wd%3AP281+wd%3AP38+wd%3AP2048+wd%3AP400+wd%3AP50+wd%3AP170+wd%3AP57+wd%3AP175+wd%3AP178+wd%3AP162+wd%3AP176+wd%3AP58+wd%3AP272+wd%3AP264+wd%3AP123+wd%3AP449+wd%3AP750+wd%3AP86+wd%3AP577+wd%3AP136+wd%3AP364+wd%3AP212+wd%3AP957+wd%3AP275+wd%3AP277+wd%3AP348+wd%3AP840+wd%3AP1098+wd%3AP282+wd%3AP1018+wd%3AP218+wd%3AP169+wd%3AP112+wd%3AP1454+wd%3AP137+wd%3AP1029+wd%3AP225+wd%3AP274+wd%3AP1346+wd%3AP1120+wd%3AP498+wd%3AP856+wd%3AP1324+wd%3AP1581+%7D%0A++++%7D%0A++++OPTIONAL+%7B+%3Fitem+rdfs%3Alabel+%3Fname.+%7D%0A%7D%0A "HTTP/2 200 OK" (application/sparql-results+json;charset=utf-8) searxng | DEBUG searx.network.wikidata : HTTP Request: GET https://query.wikidata.org/sparql?query=%0ASELECT+%3Fitem+%3Fname%0AWHERE+%7B%0A++++%7B%0A++++++SELECT+%3Fitem%0A++++++WHERE+%7B+%3Fitem+wdt%3AP279%2A+wd%3AQ12132+%7D%0A++++%7D+UNION+%7B%0A++++++VALUES+%3Fitem+%7B+wd%3AP571+wd%3AP576+wd%3AP580+wd%3AP582+wd%3AP569+wd%3AP570+wd%3AP619+wd%3AP620+wd%3AP27+wd%3AP495+wd%3AP17+wd%3AP159+wd%3AP36+wd%3AP35+wd%3AP6+wd%3AP122+wd%3AP37+wd%3AP1082+wd%3AP2046+wd%3AP281+wd%3AP38+wd%3AP2048+wd%3AP400+wd%3AP50+wd%3AP170+wd%3AP57+wd%3AP175+wd%3AP178+wd%3AP162+wd%3AP176+wd%3AP58+wd%3AP272+wd%3AP264+wd%3AP123+wd%3AP449+wd%3AP750+wd%3AP86+wd%3AP577+wd%3AP136+wd%3AP364+wd%3AP212+wd%3AP957+wd%3AP275+wd%3AP277+wd%3AP348+wd%3AP840+wd%3AP1098+wd%3AP282+wd%3AP1018+wd%3AP218+wd%3AP169+wd%3AP112+wd%3AP1454+wd%3AP137+wd%3AP1029+wd%3AP225+wd%3AP274+wd%3AP1346+wd%3AP1120+wd%3AP498+wd%3AP856+wd%3AP1324+wd%3AP1581+%7D%0A++++%7D%0A++++OPTIONAL+%7B+%3Fitem+rdfs%3Alabel+%3Fname.+%7D%0A%7D%0A "HTTP/2 200 OK" (application/sparql-results+json;charset=utf-8) searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://soundcloud.com "HTTP/2 200 OK" (text/html) searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://a-v2.sndcdn.com/assets/50-a870eded.js "HTTP/2 200 OK" (application/javascript) searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://a-v2.sndcdn.com/assets/50-a870eded.js "HTTP/2 200 OK" (application/javascript) searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://a-v2.sndcdn.com/assets/50-a870eded.js "HTTP/2 200 OK" (application/javascript) searxng | DEBUG searx.engines.soundcloud : Initialized searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://soundcloud.com "HTTP/2 200 OK" (text/html) searxng | DEBUG searx.engines.wikidata : request time 0:00:00.610000 searxng | DEBUG searx.engines.wikidata : request time 0:00:00.561000 searxng | DEBUG searx.engines.wikidata : request time 0:00:00.625000 searxng | DEBUG searx.engines.wikidata : request time 0:00:00.519000 searxng | DEBUG searx.engines.soundcloud : Initialized searxng | DEBUG searx.engines.wikidata : request time 0:00:00.592000 searxng | DEBUG searx.engines.wikidata : Initialized searxng | DEBUG searx.engines.wikidata : Initialized searxng | DEBUG searx.engines.wikidata : request time 0:00:00.599000 searxng | DEBUG searx.engines.wikidata : Initialized searxng | DEBUG searx.engines.wikidata : Initialized searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://a-v2.sndcdn.com/assets/50-a870eded.js "HTTP/2 200 OK" (application/javascript) searxng | DEBUG searx.engines.wikidata : Initialized searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://soundcloud.com "HTTP/2 200 OK" (text/html) searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://soundcloud.com "HTTP/2 200 OK" (text/html) searxng | DEBUG searx.engines.wikidata : Initialized searxng | DEBUG searx.engines.soundcloud : Initialized searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://a-v2.sndcdn.com/assets/50-a870eded.js "HTTP/2 200 OK" (application/javascript) searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://a-v2.sndcdn.com/assets/50-a870eded.js "HTTP/2 200 OK" (application/javascript) searxng | DEBUG searx.engines.soundcloud : Initialized searxng | DEBUG searx.network.wolframalpha : HTTP Request: GET https://www.wolframalpha.com/input/api/v1/code?ts=9999999999999999999 "HTTP/1.1 200 OK" searxng | DEBUG charset_normalizer : Encoding detection: ascii is most likely the one. searxng | DEBUG searx.engines.wolframalpha : Initialized searxng | DEBUG searx.engines.soundcloud : Initialized searxng | DEBUG searx.network.wolframalpha : HTTP Request: GET https://www.wolframalpha.com/input/api/v1/code?ts=9999999999999999999 "HTTP/1.1 200 OK" searxng | DEBUG charset_normalizer : Encoding detection: ascii is most likely the one. searxng | DEBUG searx.engines.wolframalpha : Initialized searxng | DEBUG searx.engines.soundcloud : Initialized searxng | DEBUG searx.network.wolframalpha : HTTP Request: GET https://www.wolframalpha.com/input/api/v1/code?ts=9999999999999999999 "HTTP/1.1 200 OK" searxng | DEBUG charset_normalizer : Encoding detection: ascii is most likely the one. searxng | DEBUG searx.engines.wolframalpha : Initialized searxng | DEBUG searx.network.wolframalpha : HTTP Request: GET https://www.wolframalpha.com/input/api/v1/code?ts=9999999999999999999 "HTTP/1.1 200 OK" searxng | DEBUG charset_normalizer : Encoding detection: ascii is most likely the one. searxng | DEBUG searx.engines.wolframalpha : Initialized searxng | DEBUG searx.network.wolframalpha : HTTP Request: GET https://www.wolframalpha.com/input/api/v1/code?ts=9999999999999999999 "HTTP/1.1 200 OK" searxng | DEBUG charset_normalizer : Encoding detection: ascii is most likely the one. searxng | DEBUG searx.engines.wolframalpha : Initialized searxng | DEBUG searx.network.wolframalpha : HTTP Request: GET https://www.wolframalpha.com/input/api/v1/code?ts=9999999999999999999 "HTTP/1.1 200 OK" searxng | DEBUG charset_normalizer : Encoding detection: ascii is most likely the one. searxng | DEBUG searx.engines.wolframalpha : Initialized searxng | ERROR searx.engines.z-library : Fail to initialize searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 101, in connect_tcp searxng | stream: anyio.abc.ByteStream = await anyio.connect_tcp( searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 213, in connect_tcp searxng | async with create_task_group() as tg: searxng | File "/usr/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 662, in __aexit__ searxng | raise exceptions[0] searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 164, in try_connect searxng | stream = await asynclib.connect_tcp(remote_host, remote_port, local_address) searxng | File "/usr/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1691, in connect_tcp searxng | await get_running_loop().create_connection( searxng | File "uvloop/loop.pyx", line 2014, in create_connection searxng | File "uvloop/loop.pyx", line 2001, in uvloop.loop.Loop.create_connection searxng | asyncio.exceptions.CancelledError searxng | searxng | During handling of the above exception, another exception occurred: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpcore/_exceptions.py", line 8, in map_exceptions searxng | yield searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 100, in connect_tcp searxng | with anyio.fail_after(timeout): searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_tasks.py", line 118, in __exit__ searxng | raise TimeoutError searxng | TimeoutError searxng | searxng | During handling of the above exception, another exception occurred: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions searxng | yield searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 308, in handle_async_request searxng | resp = await self._pool.handle_async_request(req) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 253, in handle_async_request searxng | raise exc searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 237, in handle_async_request searxng | response = await connection.handle_async_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 86, in handle_async_request searxng | raise exc searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 63, in handle_async_request searxng | stream = await self._connect(request) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 111, in _connect searxng | stream = await self._network_backend.connect_tcp(**kwargs) searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/auto.py", line 23, in connect_tcp searxng | return await self._backend.connect_tcp( searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 99, in connect_tcp searxng | with map_exceptions(exc_map): searxng | File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__ searxng | self.gen.throw(typ, value, traceback) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_exceptions.py", line 12, in map_exceptions searxng | raise to_exc(exc) searxng | httpcore.ConnectTimeout searxng | searxng | The above exception was the direct cause of the following exception: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/local/searxng/searx/search/processors/abstract.py", line 75, in initialize searxng | self.engine.init(get_engine_from_settings(self.engine_name)) searxng | File "/usr/local/searxng/searx/engines/zlibrary.py", line 39, in init searxng | resp = http_get('https://z-lib.org', timeout=5.0) searxng | File "/usr/local/searxng/searx/network/__init__.py", line 111, in get searxng | return request('get', url, **kwargs) searxng | File "/usr/local/searxng/searx/network/__init__.py", line 88, in request searxng | response = future.result(timeout) searxng | File "/usr/lib/python3.10/concurrent/futures/_base.py", line 446, in result searxng | return self.__get_result() searxng | File "/usr/lib/python3.10/concurrent/futures/_base.py", line 391, in __get_result searxng | raise self._exception searxng | File "/usr/local/searxng/searx/network/network.py", line 268, in request searxng | return await self.call_client(False, method, url, **kwargs) searxng | File "/usr/local/searxng/searx/network/network.py", line 264, in call_client searxng | raise e searxng | File "/usr/local/searxng/searx/network/network.py", line 249, in call_client searxng | response = await client.request(method, url, **kwargs) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1513, in request searxng | return await self.send(request, auth=auth, follow_redirects=follow_redirects) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1600, in send searxng | response = await self._send_handling_auth( searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1628, in _send_handling_auth searxng | response = await self._send_handling_redirects( searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1665, in _send_handling_redirects searxng | response = await self._send_single_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1702, in _send_single_request searxng | response = await transport.handle_async_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 307, in handle_async_request searxng | with map_httpcore_exceptions(): searxng | File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__ searxng | self.gen.throw(typ, value, traceback) searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions searxng | raise mapped_exc(message) from exc searxng | httpx.ConnectTimeout searxng | ERROR searx.engines.z-library : Fail to initialize searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 101, in connect_tcp searxng | stream: anyio.abc.ByteStream = await anyio.connect_tcp( searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 213, in connect_tcp searxng | async with create_task_group() as tg: searxng | File "/usr/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 662, in __aexit__ searxng | raise exceptions[0] searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 164, in try_connect searxng | stream = await asynclib.connect_tcp(remote_host, remote_port, local_address) searxng | File "/usr/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1691, in connect_tcp searxng | await get_running_loop().create_connection( searxng | File "uvloop/loop.pyx", line 2014, in create_connection searxng | File "uvloop/loop.pyx", line 2001, in uvloop.loop.Loop.create_connection searxng | asyncio.exceptions.CancelledError searxng | searxng | During handling of the above exception, another exception occurred: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpcore/_exceptions.py", line 8, in map_exceptions searxng | yield searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 100, in connect_tcp searxng | with anyio.fail_after(timeout): searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_tasks.py", line 118, in __exit__ searxng | raise TimeoutError searxng | TimeoutError searxng | searxng | During handling of the above exception, another exception occurred: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions searxng | yield searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 308, in handle_async_request searxng | resp = await self._pool.handle_async_request(req) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 253, in handle_async_request searxng | raise exc searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 237, in handle_async_request searxng | response = await connection.handle_async_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 86, in handle_async_request searxng | raise exc searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 63, in handle_async_request searxng | stream = await self._connect(request) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 111, in _connect searxng | stream = await self._network_backend.connect_tcp(**kwargs) searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/auto.py", line 23, in connect_tcp searxng | return await self._backend.connect_tcp( searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 99, in connect_tcp searxng | with map_exceptions(exc_map): searxng | File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__ searxng | self.gen.throw(typ, value, traceback) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_exceptions.py", line 12, in map_exceptions searxng | raise to_exc(exc) searxng | httpcore.ConnectTimeout searxng | searxng | The above exception was the direct cause of the following exception: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/local/searxng/searx/search/processors/abstract.py", line 75, in initialize searxng | self.engine.init(get_engine_from_settings(self.engine_name)) searxng | File "/usr/local/searxng/searx/engines/zlibrary.py", line 39, in init searxng | resp = http_get('https://z-lib.org', timeout=5.0) searxng | File "/usr/local/searxng/searx/network/__init__.py", line 111, in get searxng | return request('get', url, **kwargs) searxng | File "/usr/local/searxng/searx/network/__init__.py", line 88, in request searxng | response = future.result(timeout) searxng | File "/usr/lib/python3.10/concurrent/futures/_base.py", line 446, in result searxng | return self.__get_result() searxng | File "/usr/lib/python3.10/concurrent/futures/_base.py", line 391, in __get_result searxng | raise self._exception searxng | File "/usr/local/searxng/searx/network/network.py", line 268, in request searxng | return await self.call_client(False, method, url, **kwargs) searxng | File "/usr/local/searxng/searx/network/network.py", line 264, in call_client searxng | raise e searxng | File "/usr/local/searxng/searx/network/network.py", line 249, in call_client searxng | response = await client.request(method, url, **kwargs) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1513, in request searxng | return await self.send(request, auth=auth, follow_redirects=follow_redirects) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1600, in send searxng | response = await self._send_handling_auth( searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1628, in _send_handling_auth searxng | response = await self._send_handling_redirects( searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1665, in _send_handling_redirects searxng | response = await self._send_single_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1702, in _send_single_request searxng | response = await transport.handle_async_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 307, in handle_async_request searxng | with map_httpcore_exceptions(): searxng | File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__ searxng | self.gen.throw(typ, value, traceback) searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions searxng | raise mapped_exc(message) from exc searxng | httpx.ConnectTimeout searxng | ERROR searx.engines.z-library : Fail to initialize searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 101, in connect_tcp searxng | stream: anyio.abc.ByteStream = await anyio.connect_tcp( searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 213, in connect_tcp searxng | async with create_task_group() as tg: searxng | File "/usr/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 662, in __aexit__ searxng | raise exceptions[0] searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 164, in try_connect searxng | stream = await asynclib.connect_tcp(remote_host, remote_port, local_address) searxng | File "/usr/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1691, in connect_tcp searxng | await get_running_loop().create_connection( searxng | File "uvloop/loop.pyx", line 2014, in create_connection searxng | File "uvloop/loop.pyx", line 2001, in uvloop.loop.Loop.create_connection searxng | asyncio.exceptions.CancelledError searxng | searxng | During handling of the above exception, another exception occurred: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpcore/_exceptions.py", line 8, in map_exceptions searxng | yield searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 100, in connect_tcp searxng | with anyio.fail_after(timeout): searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_tasks.py", line 118, in __exit__ searxng | raise TimeoutError searxng | TimeoutError searxng | searxng | During handling of the above exception, another exception occurred: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions searxng | yield searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 308, in handle_async_request searxng | resp = await self._pool.handle_async_request(req) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 253, in handle_async_request searxng | raise exc searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 237, in handle_async_request searxng | response = await connection.handle_async_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 86, in handle_async_request searxng | raise exc searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 63, in handle_async_request searxng | stream = await self._connect(request) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 111, in _connect searxng | stream = await self._network_backend.connect_tcp(**kwargs) searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/auto.py", line 23, in connect_tcp searxng | return await self._backend.connect_tcp( searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 99, in connect_tcp searxng | with map_exceptions(exc_map): searxng | File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__ searxng | self.gen.throw(typ, value, traceback) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_exceptions.py", line 12, in map_exceptions searxng | raise to_exc(exc) searxng | httpcore.ConnectTimeout searxng | searxng | The above exception was the direct cause of the following exception: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/local/searxng/searx/search/processors/abstract.py", line 75, in initialize searxng | self.engine.init(get_engine_from_settings(self.engine_name)) searxng | File "/usr/local/searxng/searx/engines/zlibrary.py", line 39, in init searxng | resp = http_get('https://z-lib.org', timeout=5.0) searxng | File "/usr/local/searxng/searx/network/__init__.py", line 111, in get searxng | return request('get', url, **kwargs) searxng | File "/usr/local/searxng/searx/network/__init__.py", line 88, in request searxng | response = future.result(timeout) searxng | File "/usr/lib/python3.10/concurrent/futures/_base.py", line 446, in result searxng | return self.__get_result() searxng | File "/usr/lib/python3.10/concurrent/futures/_base.py", line 391, in __get_result searxng | raise self._exception searxng | File "/usr/local/searxng/searx/network/network.py", line 268, in request searxng | return await self.call_client(False, method, url, **kwargs) searxng | File "/usr/local/searxng/searx/network/network.py", line 264, in call_client searxng | raise e searxng | File "/usr/local/searxng/searx/network/network.py", line 249, in call_client searxng | response = await client.request(method, url, **kwargs) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1513, in request searxng | return await self.send(request, auth=auth, follow_redirects=follow_redirects) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1600, in send searxng | response = await self._send_handling_auth( searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1628, in _send_handling_auth searxng | response = await self._send_handling_redirects( searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1665, in _send_handling_redirects searxng | response = await self._send_single_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1702, in _send_single_request searxng | response = await transport.handle_async_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 307, in handle_async_request searxng | with map_httpcore_exceptions(): searxng | File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__ searxng | self.gen.throw(typ, value, traceback) searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions searxng | raise mapped_exc(message) from exc searxng | httpx.ConnectTimeout searxng | ERROR searx.engines.z-library : Fail to initialize searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 101, in connect_tcp searxng | stream: anyio.abc.ByteStream = await anyio.connect_tcp( searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 213, in connect_tcp searxng | async with create_task_group() as tg: searxng | File "/usr/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 662, in __aexit__ searxng | raise exceptions[0] searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 164, in try_connect searxng | stream = await asynclib.connect_tcp(remote_host, remote_port, local_address) searxng | File "/usr/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1691, in connect_tcp searxng | await get_running_loop().create_connection( searxng | File "uvloop/loop.pyx", line 2014, in create_connection searxng | File "uvloop/loop.pyx", line 2001, in uvloop.loop.Loop.create_connection searxng | asyncio.exceptions.CancelledError searxng | searxng | During handling of the above exception, another exception occurred: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpcore/_exceptions.py", line 8, in map_exceptions searxng | yield searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 100, in connect_tcp searxng | with anyio.fail_after(timeout): searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_tasks.py", line 118, in __exit__ searxng | raise TimeoutError searxng | TimeoutError searxng | searxng | During handling of the above exception, another exception occurred: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions searxng | yield searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 308, in handle_async_request searxng | resp = await self._pool.handle_async_request(req) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 253, in handle_async_request searxng | raise exc searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 237, in handle_async_request searxng | response = await connection.handle_async_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 86, in handle_async_request searxng | raise exc searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 63, in handle_async_request searxng | stream = await self._connect(request) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 111, in _connect searxng | stream = await self._network_backend.connect_tcp(**kwargs) searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/auto.py", line 23, in connect_tcp searxng | return await self._backend.connect_tcp( searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 99, in connect_tcp searxng | with map_exceptions(exc_map): searxng | File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__ searxng | self.gen.throw(typ, value, traceback) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_exceptions.py", line 12, in map_exceptions searxng | raise to_exc(exc) searxng | httpcore.ConnectTimeout searxng | searxng | The above exception was the direct cause of the following exception: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/local/searxng/searx/search/processors/abstract.py", line 75, in initialize searxng | self.engine.init(get_engine_from_settings(self.engine_name)) searxng | File "/usr/local/searxng/searx/engines/zlibrary.py", line 39, in init searxng | resp = http_get('https://z-lib.org', timeout=5.0) searxng | File "/usr/local/searxng/searx/network/__init__.py", line 111, in get searxng | return request('get', url, **kwargs) searxng | File "/usr/local/searxng/searx/network/__init__.py", line 88, in request searxng | response = future.result(timeout) searxng | File "/usr/lib/python3.10/concurrent/futures/_base.py", line 446, in result searxng | return self.__get_result() searxng | File "/usr/lib/python3.10/concurrent/futures/_base.py", line 391, in __get_result searxng | raise self._exception searxng | File "/usr/local/searxng/searx/network/network.py", line 268, in request searxng | return await self.call_client(False, method, url, **kwargs) searxng | File "/usr/local/searxng/searx/network/network.py", line 264, in call_client searxng | raise e searxng | File "/usr/local/searxng/searx/network/network.py", line 249, in call_client searxng | response = await client.request(method, url, **kwargs) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1513, in request searxng | return await self.send(request, auth=auth, follow_redirects=follow_redirects) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1600, in send searxng | response = await self._send_handling_auth( searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1628, in _send_handling_auth searxng | response = await self._send_handling_redirects( searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1665, in _send_handling_redirects searxng | response = await self._send_single_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1702, in _send_single_request searxng | response = await transport.handle_async_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 307, in handle_async_request searxng | with map_httpcore_exceptions(): searxng | File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__ searxng | self.gen.throw(typ, value, traceback) searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions searxng | raise mapped_exc(message) from exc searxng | httpx.ConnectTimeout searxng | ERROR searx.engines.z-library : Fail to initialize searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 101, in connect_tcp searxng | stream: anyio.abc.ByteStream = await anyio.connect_tcp( searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 213, in connect_tcp searxng | async with create_task_group() as tg: searxng | File "/usr/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 662, in __aexit__ searxng | raise exceptions[0] searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 164, in try_connect searxng | stream = await asynclib.connect_tcp(remote_host, remote_port, local_address) searxng | File "/usr/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1691, in connect_tcp searxng | await get_running_loop().create_connection( searxng | File "uvloop/loop.pyx", line 2014, in create_connection searxng | File "uvloop/loop.pyx", line 2001, in uvloop.loop.Loop.create_connection searxng | asyncio.exceptions.CancelledError searxng | searxng | During handling of the above exception, another exception occurred: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpcore/_exceptions.py", line 8, in map_exceptions searxng | yield searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 100, in connect_tcp searxng | with anyio.fail_after(timeout): searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_tasks.py", line 118, in __exit__ searxng | raise TimeoutError searxng | TimeoutError searxng | searxng | During handling of the above exception, another exception occurred: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions searxng | yield searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 308, in handle_async_request searxng | resp = await self._pool.handle_async_request(req) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 253, in handle_async_request searxng | raise exc searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 237, in handle_async_request searxng | response = await connection.handle_async_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 86, in handle_async_request searxng | raise exc searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 63, in handle_async_request searxng | stream = await self._connect(request) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 111, in _connect searxng | stream = await self._network_backend.connect_tcp(**kwargs) searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/auto.py", line 23, in connect_tcp searxng | return await self._backend.connect_tcp( searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 99, in connect_tcp searxng | with map_exceptions(exc_map): searxng | File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__ searxng | self.gen.throw(typ, value, traceback) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_exceptions.py", line 12, in map_exceptions searxng | raise to_exc(exc) searxng | httpcore.ConnectTimeout searxng | searxng | The above exception was the direct cause of the following exception: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/local/searxng/searx/search/processors/abstract.py", line 75, in initialize searxng | self.engine.init(get_engine_from_settings(self.engine_name)) searxng | File "/usr/local/searxng/searx/engines/zlibrary.py", line 39, in init searxng | resp = http_get('https://z-lib.org', timeout=5.0) searxng | File "/usr/local/searxng/searx/network/__init__.py", line 111, in get searxng | return request('get', url, **kwargs) searxng | File "/usr/local/searxng/searx/network/__init__.py", line 88, in request searxng | response = future.result(timeout) searxng | File "/usr/lib/python3.10/concurrent/futures/_base.py", line 446, in result searxng | return self.__get_result() searxng | File "/usr/lib/python3.10/concurrent/futures/_base.py", line 391, in __get_result searxng | raise self._exception searxng | File "/usr/local/searxng/searx/network/network.py", line 268, in request searxng | return await self.call_client(False, method, url, **kwargs) searxng | File "/usr/local/searxng/searx/network/network.py", line 264, in call_client searxng | raise e searxng | File "/usr/local/searxng/searx/network/network.py", line 249, in call_client searxng | response = await client.request(method, url, **kwargs) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1513, in request searxng | return await self.send(request, auth=auth, follow_redirects=follow_redirects) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1600, in send searxng | response = await self._send_handling_auth( searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1628, in _send_handling_auth searxng | response = await self._send_handling_redirects( searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1665, in _send_handling_redirects searxng | response = await self._send_single_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1702, in _send_single_request searxng | response = await transport.handle_async_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 307, in handle_async_request searxng | with map_httpcore_exceptions(): searxng | File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__ searxng | self.gen.throw(typ, value, traceback) searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions searxng | raise mapped_exc(message) from exc searxng | httpx.ConnectTimeout searxng | ERROR searx.engines.z-library : Fail to initialize searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 101, in connect_tcp searxng | stream: anyio.abc.ByteStream = await anyio.connect_tcp( searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 213, in connect_tcp searxng | async with create_task_group() as tg: searxng | File "/usr/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 662, in __aexit__ searxng | raise exceptions[0] searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_sockets.py", line 164, in try_connect searxng | stream = await asynclib.connect_tcp(remote_host, remote_port, local_address) searxng | File "/usr/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1691, in connect_tcp searxng | await get_running_loop().create_connection( searxng | File "uvloop/loop.pyx", line 2014, in create_connection searxng | File "uvloop/loop.pyx", line 2001, in uvloop.loop.Loop.create_connection searxng | asyncio.exceptions.CancelledError searxng | searxng | During handling of the above exception, another exception occurred: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpcore/_exceptions.py", line 8, in map_exceptions searxng | yield searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 100, in connect_tcp searxng | with anyio.fail_after(timeout): searxng | File "/usr/lib/python3.10/site-packages/anyio/_core/_tasks.py", line 118, in __exit__ searxng | raise TimeoutError searxng | TimeoutError searxng | searxng | During handling of the above exception, another exception occurred: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 60, in map_httpcore_exceptions searxng | yield searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 308, in handle_async_request searxng | resp = await self._pool.handle_async_request(req) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 253, in handle_async_request searxng | raise exc searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection_pool.py", line 237, in handle_async_request searxng | response = await connection.handle_async_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 86, in handle_async_request searxng | raise exc searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 63, in handle_async_request searxng | stream = await self._connect(request) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_async/connection.py", line 111, in _connect searxng | stream = await self._network_backend.connect_tcp(**kwargs) searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/auto.py", line 23, in connect_tcp searxng | return await self._backend.connect_tcp( searxng | File "/usr/lib/python3.10/site-packages/httpcore/backends/asyncio.py", line 99, in connect_tcp searxng | with map_exceptions(exc_map): searxng | File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__ searxng | self.gen.throw(typ, value, traceback) searxng | File "/usr/lib/python3.10/site-packages/httpcore/_exceptions.py", line 12, in map_exceptions searxng | raise to_exc(exc) searxng | httpcore.ConnectTimeout searxng | searxng | The above exception was the direct cause of the following exception: searxng | searxng | Traceback (most recent call last): searxng | File "/usr/local/searxng/searx/search/processors/abstract.py", line 75, in initialize searxng | self.engine.init(get_engine_from_settings(self.engine_name)) searxng | File "/usr/local/searxng/searx/engines/zlibrary.py", line 39, in init searxng | resp = http_get('https://z-lib.org', timeout=5.0) searxng | File "/usr/local/searxng/searx/network/__init__.py", line 111, in get searxng | return request('get', url, **kwargs) searxng | File "/usr/local/searxng/searx/network/__init__.py", line 88, in request searxng | response = future.result(timeout) searxng | File "/usr/lib/python3.10/concurrent/futures/_base.py", line 446, in result searxng | return self.__get_result() searxng | File "/usr/lib/python3.10/concurrent/futures/_base.py", line 391, in __get_result searxng | raise self._exception searxng | File "/usr/local/searxng/searx/network/network.py", line 268, in request searxng | return await self.call_client(False, method, url, **kwargs) searxng | File "/usr/local/searxng/searx/network/network.py", line 264, in call_client searxng | raise e searxng | File "/usr/local/searxng/searx/network/network.py", line 249, in call_client searxng | response = await client.request(method, url, **kwargs) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1513, in request searxng | return await self.send(request, auth=auth, follow_redirects=follow_redirects) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1600, in send searxng | response = await self._send_handling_auth( searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1628, in _send_handling_auth searxng | response = await self._send_handling_redirects( searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1665, in _send_handling_redirects searxng | response = await self._send_single_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpx/_client.py", line 1702, in _send_single_request searxng | response = await transport.handle_async_request(request) searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 307, in handle_async_request searxng | with map_httpcore_exceptions(): searxng | File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__ searxng | self.gen.throw(typ, value, traceback) searxng | File "/usr/lib/python3.10/site-packages/httpx/_transports/default.py", line 77, in map_httpcore_exceptions searxng | raise mapped_exc(message) from exc searxng | httpx.ConnectTimeout caddy | {"level":"info","ts":1657799439.442604,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"192.168.1.40","remote_port":"53552","proto":"HTTP/1.1","method":"GET","host":"192.168.1.43","uri":"/","headers":{"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"],"Cookie":[],"Upgrade-Insecure-Requests":["1"],"Accept-Encoding":["gzip, deflate"],"Accept-Language":["tr-TR,tr;q=0.9,en-US;q=0.8,en;q=0.7"],"Connection":["keep-alive"],"Cache-Control":["max-age=0"]}},"user_id":"","duration":0.000002545,"size":0,"status":0,"resp_headers":{"Server":["Caddy"]}} caddy | {"level":"info","ts":1657799439.4987576,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"192.168.1.40","remote_port":"53552","proto":"HTTP/1.1","method":"GET","host":"192.168.1.43","uri":"/favicon.ico","headers":{"Cookie":[],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"],"Connection":["keep-alive"],"Accept":["image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8"],"Referer":["http://192.168.1.43/"],"Accept-Encoding":["gzip, deflate"],"Accept-Language":["tr-TR,tr;q=0.9,en-US;q=0.8,en;q=0.7"]}},"user_id":"","duration":0.00000561,"size":0,"status":0,"resp_headers":{"Server":["Caddy"]}} ^CGracefully stopping... (press Ctrl+C again to force) Stopping searxng ... done Stopping redis ... done Stopping caddy ... done ```
setting.yml .. Click to expand ```yaml # see https://docs.searxng.org/admin/engines/settings.html#use-default-settings use_default_settings: true server: # base_url is defined in the SEARXNG_BASE_URL environment variable, see .env and docker-compose.yml secret_key: "***************************************************************************************" # change this! limiter: false # can be disabled for a private instance image_proxy: true port: "80" method: "GET" ui: static_use_hash: true redis: url: redis://redis:6379/0 general: debug: true instance_name: "Test" contact_url: false enable_metrics: true search: safe_search: 0 autocomplete: "duckduckgo" ```

noticed i have a lot of python errors.

return42 commented 2 years ago

noticed i have a lot of python errors.

@HeroBaskan your issue is different to what others reported here / your SearXNG engines can't connect to internet (httpx.ConnectTimeout from searx/network)

Your issue is more related to this one https://github.com/searxng/searxng-docker/issues/29#issuecomment-1179749634 reported at searxng-docker.

bytefana commented 2 years ago

Hi guys, I am not sure if im doing it right, but changing the ports in docker-compose.yml seems to work for me: under the searxng: portion, change `ports:

return42 commented 2 years ago

@bafana-bafana I am not an docker expert, but when you use port 80 from the outside you need to map port 80 to port 8080 (the default BIND_ADDRESS of the container).

https://github.com/searxng/searxng/blob/b6d59decda2be89a9b96e29b7a12538ba4af2c5c/dockerfiles/docker-entrypoint.sh#L26-L27

Compare with searxng-docker/compose.yaml

HeroBaskan commented 2 years ago

noticed i have a lot of python errors.

@HeroBaskan your issue is different to what others reported here / your SearXNG engines can't connect to internet (httpx.ConnectTimeout from searx/network)

Your issue is more related to this one searxng/searxng-docker#29 (comment) reported at searxng-docker.

thanks for response. In the meantime i bought a domain name and a cloud server to try it from scratch. Everything worked fine (website was opening and was able to search) till i edited settings.yml file. Then i replaced the settings.yml (text) file with default settings.yml file from https://github.com/searxng/searxng-docker/blob/f2f9e2ad086c68443c3457a82cf2e368aaa4bc99/searxng/settings.yml added secret key aswell but site was unreachable

logs:

``` Starting searxng ... done Starting redis ... done Starting caddy ... done Attaching to caddy, redis, searxng caddy | {"level":"info","ts":1657811150.539091,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"} caddy | {"level":"warn","ts":1657811150.5518212,"logger":"caddyfile","msg":"Unnecessary header_up X-Forwarded-Proto: the reverse proxy's default behavior is to pass headers to the upstream"} caddy | {"level":"warn","ts":1657811150.5536394,"msg":"Caddyfile input is not formatted; run the 'caddy fmt' command to fix inconsistencies","adapter":"caddyfile","file":"/etc/caddy/Caddyfile","line":2} caddy | {"level":"warn","ts":1657811150.5550125,"logger":"admin","msg":"admin endpoint disabled"} caddy | {"level":"warn","ts":1657811150.5553257,"logger":"http","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80} caddy | {"level":"info","ts":1657811150.562704,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"} caddy | {"level":"info","ts":1657811150.562739,"msg":"serving initial configuration"} caddy | {"level":"info","ts":1657811150.563005,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc0003f6150"} caddy | {"level":"info","ts":1657811150.5630667,"logger":"tls","msg":"cleaning storage unit","description":"FileStorage:/data/caddy"} caddy | {"level":"info","ts":1657811150.5640454,"logger":"tls","msg":"finished cleaning storage units"} redis | 1:C 14 Jul 2022 15:05:51.372 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis | 1:C 14 Jul 2022 15:05:51.372 # Redis version=7.0.3, bits=64, commit=00000000, modified=0, pid=1, just started redis | 1:C 14 Jul 2022 15:05:51.372 # Configuration loaded redis | 1:M 14 Jul 2022 15:05:51.373 * monotonic clock: POSIX clock_gettime redis | 1:M 14 Jul 2022 15:05:51.374 * Running mode=standalone, port=6379. redis | 1:M 14 Jul 2022 15:05:51.375 # Server initialized redis | 1:M 14 Jul 2022 15:05:51.375 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. redis | 1:M 14 Jul 2022 15:05:51.375 * Ready to accept connections searxng | SearXNG version 2022.07.10-b6d59dec searxng | Use existing /etc/searxng/uwsgi.ini searxng | Use existing /etc/searxng/settings.yml searxng | Listen on 0.0.0.0:8080 searxng | [uWSGI] getting INI configuration from /etc/searxng/uwsgi.ini searxng | [uwsgi-static] added mapping for /static => /usr/local/searxng/searx/static searxng | *** Starting uWSGI 2.0.20 (64bit) on [Thu Jul 14 15:05:52 2022] *** searxng | compiled with version: 11.2.1 20220219 on 21 December 2021 13:20:05 searxng | os: Linux-5.4.0-121-generic searxng/searxng#137-Ubuntu SMP Wed Jun 15 13:33:07 UTC 2022 searxng | nodename: cb104ceed51e searxng | machine: x86_64 searxng | clock source: unix searxng | pcre jit disabled searxng | detected number of CPU cores: 1 searxng | current working directory: /usr/local/searxng searxng | detected binary path: /usr/sbin/uwsgi searxng | chdir() to /usr/local/searxng/searx/ searxng | your memory page size is 4096 bytes searxng | detected max file descriptor number: 1048576 searxng | building mime-types dictionary from file /etc/mime.types...1323 entry found searxng | lock engine: pthread robust mutexes searxng | thunder lock: disabled (you can enable it with --thunder-lock) searxng | *** Cache "searxngcache" initialized: 11MB (key: 2136 bytes, keys: 4272000 bytes, data: 8192000 bytes, bitmap: 250 bytes) preallocated *** searxng | *** Cache "searxcache" initialized: 11MB (key: 2136 bytes, keys: 4272000 bytes, data: 8192000 bytes, bitmap: 250 bytes) preallocated *** searxng | uwsgi socket 0 bound to TCP address 0.0.0.0:8080 fd 5 searxng | Python version: 3.10.4 (main, Apr 30 2022, 16:49:16) [GCC 11.2.1 20220219] searxng | Python main interpreter initialized at 0x7fe5ef5acb50 searxng | python threads support enabled searxng | your server socket listen backlog is limited to 100 connections searxng | your mercy for graceful operations on workers is 60 seconds searxng | mapped 241344 bytes (235 KB) for 4 cores searxng | *** Operational MODE: threaded *** searxng | added /usr/local/searxng/ to pythonpath. searxng | spawned uWSGI master process (pid: 7) searxng | spawned uWSGI worker 1 (pid: 10, cores: 4) searxng | cache sweeper thread enabled searxng | spawned 1 offload threads for uWSGI worker 1 searxng | 2022-07-14 15:05:54,126 ERROR:searx.shared: uwsgi.ini configuration error, add this line to your uwsgi.ini searxng | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 searxng | WSGI app 0 (mountpoint='') ready in 3 seconds on interpreter 0x7fe5ef5acb50 pid: 10 (default app) ^CGracefully stopping... (press Ctrl+C again to force) Stopping searxng ... done Stopping caddy ... done Stopping redis ... done ```
pireef commented 2 years ago

I am also getting the same error, I get a 200 response from the server but the HTML is blank. But I also see connection refused and SSL protocol errors. Here's the log with debugging on:

Click to expand ``` brett@ubuntu-srv:/usr/local/searxng-docker/searxng$ docker-compose up Creating network "searxng-docker_searxng" with the default driver Creating searxng ... done Creating caddy ... done Creating redis ... done Attaching to caddy, redis, searxng caddy | {"level":"info","ts":1658104210.1486528,"msg":"using provided configuration","config_file":"/etc/caddy/Caddyfile","config_adapter":"caddyfile"} redis | 1:C 18 Jul 2022 00:30:10.965 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo redis | 1:C 18 Jul 2022 00:30:10.965 # Redis version=7.0.3, bits=64, commit=00000000, modified=0, pid=1, just started redis | 1:C 18 Jul 2022 00:30:10.965 # Configuration loaded redis | 1:M 18 Jul 2022 00:30:10.966 * monotonic clock: POSIX clock_gettime redis | 1:M 18 Jul 2022 00:30:10.969 * Running mode=standalone, port=6379. redis | 1:M 18 Jul 2022 00:30:10.969 # Server initialized redis | 1:M 18 Jul 2022 00:30:10.969 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. redis | 1:M 18 Jul 2022 00:30:10.971 * Ready to accept connections caddy | {"level":"warn","ts":1658104210.1527398,"logger":"caddyfile","msg":"Unnecessary header_up X-Forwarded-Proto: the reverse proxy's default behavior is to pass headers to the upstream"} caddy | {"level":"warn","ts":1658104210.156928,"msg":"Caddyfile input is not formatted; run the 'caddy fmt' command to fix inconsistencies","adapter":"caddyfile","file":"/etc/caddy/Caddyfile","line":2} caddy | {"level":"warn","ts":1658104210.1594455,"logger":"admin","msg":"admin endpoint disabled"} caddy | {"level":"warn","ts":1658104210.1603217,"logger":"http","msg":"server is listening only on the HTTP port, so no automatic HTTPS will be applied to this server","server_name":"srv0","http_port":80} caddy | {"level":"info","ts":1658104210.1605082,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000386ee0"} caddy | {"level":"info","ts":1658104210.1650016,"msg":"autosaved config (load with --resume flag)","file":"/config/caddy/autosave.json"} caddy | {"level":"info","ts":1658104210.1650782,"msg":"serving initial configuration"} caddy | {"level":"info","ts":1658104210.1650133,"logger":"tls","msg":"cleaning storage unit","description":"FileStorage:/data/caddy"} caddy | {"level":"info","ts":1658104210.1652007,"logger":"tls","msg":"finished cleaning storage units"} searxng | SearXNG version 2022.07.15-7bf4e8d1 searxng | Use existing /etc/searxng/uwsgi.ini searxng | Use existing /etc/searxng/settings.yml searxng | Listen on 0.0.0.0:8080 searxng | [uWSGI] getting INI configuration from /etc/searxng/uwsgi.ini searxng | [uwsgi-static] added mapping for /static => /usr/local/searxng/searx/static searxng | *** Starting uWSGI 2.0.20 (64bit) on [Mon Jul 18 00:30:11 2022] *** searxng | compiled with version: 11.2.1 20220219 on 21 December 2021 13:20:05 searxng | os: Linux-5.15.0-41-generic searxng/searxng#44-Ubuntu SMP Wed Jun 22 14:20:53 UTC 2022 searxng | nodename: 4a6f157fc7df searxng | machine: x86_64 searxng | clock source: unix searxng | pcre jit disabled searxng | detected number of CPU cores: 4 searxng | current working directory: /usr/local/searxng searxng | detected binary path: /usr/sbin/uwsgi searxng | chdir() to /usr/local/searxng/searx/ searxng | your memory page size is 4096 bytes searxng | detected max file descriptor number: 1048576 searxng | building mime-types dictionary from file /etc/mime.types...1323 entry found searxng | lock engine: pthread robust mutexes searxng | thunder lock: disabled (you can enable it with --thunder-lock) searxng | *** Cache "searxngcache" initialized: 11MB (key: 2136 bytes, keys: 4272000 bytes, data: 8192000 bytes, bitmap: 250 bytes) preallocated *** searxng | uwsgi socket 0 bound to TCP address 0.0.0.0:8080 fd 4 searxng | Python version: 3.10.4 (main, Apr 30 2022, 16:49:16) [GCC 11.2.1 20220219] searxng | Python main interpreter initialized at 0x7f2048e1fb50 searxng | python threads support enabled searxng | your server socket listen backlog is limited to 100 connections searxng | your mercy for graceful operations on workers is 60 seconds searxng | mapped 603360 bytes (589 KB) for 16 cores searxng | *** Operational MODE: preforking+threaded *** searxng | added /usr/local/searxng/ to pythonpath. searxng | spawned uWSGI master process (pid: 7) searxng | spawned uWSGI worker 1 (pid: 10, cores: 4) searxng | spawned uWSGI worker 2 (pid: 11, cores: 4) searxng | spawned 4 offload threads for uWSGI worker 1 searxng | spawned uWSGI worker 3 (pid: 18, cores: 4) searxng | spawned 4 offload threads for uWSGI worker 2 searxng | spawned uWSGI worker 4 (pid: 21, cores: 4) searxng | cache sweeper thread enabled searxng | spawned 4 offload threads for uWSGI worker 4 searxng | spawned 4 offload threads for uWSGI worker 3 searxng | INFO searx : merge the default settings ( /usr/local/searxng/searx/settings.yml ) and the user setttings ( /etc/searxng/settings.yml ) searxng | INFO searx : max_request_timeout=None searxng | INFO searx : merge the default settings ( /usr/local/searxng/searx/settings.yml ) and the user setttings ( /etc/searxng/settings.yml ) searxng | INFO searx : max_request_timeout=None searxng | INFO searx : merge the default settings ( /usr/local/searxng/searx/settings.yml ) and the user setttings ( /etc/searxng/settings.yml ) searxng | INFO searx : max_request_timeout=None searxng | INFO searx : merge the default settings ( /usr/local/searxng/searx/settings.yml ) and the user setttings ( /etc/searxng/settings.yml ) searxng | INFO searx : max_request_timeout=None searxng | INFO searx : version: 2022.07.15-7bf4e8d1 searxng | INFO searx : version: 2022.07.15-7bf4e8d1 searxng | INFO searx : version: 2022.07.15-7bf4e8d1 searxng | ERROR searx.shared : uwsgi.ini configuration error, add this line to your uwsgi.ini searxng | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 searxng | ERROR searx.shared : uwsgi.ini configuration error, add this line to your uwsgi.ini searxng | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 searxng | ERROR searx.shared : uwsgi.ini configuration error, add this line to your uwsgi.ini searxng | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 searxng | DEBUG searx.webapp : static directory is /usr/local/searxng/searx/static searxng | DEBUG searx.webapp : static directory is /usr/local/searxng/searx/static searxng | DEBUG searx.webapp : static directory is /usr/local/searxng/searx/static searxng | DEBUG searx.webapp : templates directory is /usr/local/searxng/searx/templates searxng | DEBUG searx.webapp : templates directory is /usr/local/searxng/searx/templates searxng | DEBUG searx.webapp : templates directory is /usr/local/searxng/searx/templates searxng | DEBUG searx.locales : locales_initialize: /usr/local/searxng/searx/translations searxng | DEBUG searx.locales : locales_initialize: /usr/local/searxng/searx/translations searxng | DEBUG searx.locales : locales_initialize: /usr/local/searxng/searx/translations searxng | INFO searx : version: 2022.07.15-7bf4e8d1 searxng | ERROR searx.shared : uwsgi.ini configuration error, add this line to your uwsgi.ini searxng | cache2 = name=searxcache,items=2000,blocks=2000,blocksize=4096,bitmap=1 searxng | DEBUG searx.webapp : static directory is /usr/local/searxng/searx/static searxng | DEBUG searx.webapp : templates directory is /usr/local/searxng/searx/templates searxng | DEBUG searx.locales : locales_initialize: /usr/local/searxng/searx/translations searxng | DEBUG searx.plugins : searx.plugins.ahmia_filter: loaded searxng | DEBUG searx.plugins : searx.plugins.ahmia_filter: loaded searxng | DEBUG searx.plugins : searx.plugins.ahmia_filter: loaded searxng | DEBUG searx.plugins : searx.plugins.hash_plugin: loaded searxng | DEBUG searx.plugins : searx.plugins.hash_plugin: loaded searxng | DEBUG searx.plugins : searx.plugins.hostname_replace: loaded searxng | DEBUG searx.plugins : searx.plugins.hash_plugin: loaded searxng | DEBUG searx.plugins : searx.plugins.hostname_replace: loaded searxng | DEBUG searx.plugins : searx.plugins.hostname_replace: loaded searxng | DEBUG searx.plugins : searx.plugins.limiter: loaded searxng | DEBUG searx.plugins : searx.plugins.limiter: loaded searxng | DEBUG searx.plugins.limiter : init limiter DB searxng | DEBUG searx.plugins.limiter : init limiter DB searxng | DEBUG searx.plugins : searx.plugins.limiter: loaded searxng | DEBUG searx.plugins.limiter : init limiter DB searxng | INFO searx.shared.redis : connected redis DB --> default searxng | INFO searx.shared.redis : connected redis DB --> default searxng | DEBUG searx.plugins : searx.plugins.oa_doi_rewrite: loaded searxng | DEBUG searx.plugins : searx.plugins.oa_doi_rewrite: loaded searxng | DEBUG searx.plugins : searx.plugins.search_on_category_select: loaded searxng | INFO searx.shared.redis : connected redis DB --> default searxng | DEBUG searx.plugins : searx.plugins.oa_doi_rewrite: loaded searxng | DEBUG searx.plugins : searx.plugins.search_on_category_select: loaded searxng | DEBUG searx.plugins : searx.plugins.self_info: loaded searxng | DEBUG searx.plugins : searx.plugins.search_on_category_select: loaded searxng | DEBUG searx.plugins : searx.plugins.self_info: loaded searxng | DEBUG searx.plugins : searx.plugins.tracker_url_remover: loaded searxng | DEBUG searx.plugins : searx.plugins.self_info: loaded searxng | DEBUG searx.plugins : searx.plugins.vim_hotkeys: loaded searxng | DEBUG searx.plugins : searx.plugins.tracker_url_remover: loaded searxng | DEBUG searx.plugins : searx.plugins.tracker_url_remover: loaded searxng | DEBUG searx.plugins : searx.plugins.vim_hotkeys: loaded searxng | DEBUG searx.plugins : searx.plugins.vim_hotkeys: loaded searxng | DEBUG searx.plugins : searx.plugins.ahmia_filter: loaded searxng | DEBUG searx.plugins : searx.plugins.hash_plugin: loaded searxng | DEBUG searx.plugins : searx.plugins.hostname_replace: loaded searxng | DEBUG searx.plugins : searx.plugins.limiter: loaded searxng | DEBUG searx.plugins.limiter : init limiter DB searxng | INFO searx.shared.redis : connected redis DB --> default searxng | DEBUG searx.plugins : searx.plugins.oa_doi_rewrite: loaded searxng | DEBUG searx.plugins : searx.plugins.search_on_category_select: loaded searxng | DEBUG searx.plugins : searx.plugins.self_info: loaded searxng | DEBUG searx.plugins : searx.plugins.tracker_url_remover: loaded searxng | DEBUG searx.plugins : searx.plugins.vim_hotkeys: loaded searxng | DEBUG searx.engines.dailymotion : Initialized searxng | DEBUG searx.engines.dailymotion : Initialized searxng | INFO searx : Send SIGUSR1 signal to pid 10 to start the checker searxng | INFO searx : debug mode: checker is disabled searxng | WSGI app 0 (mountpoint='') ready in 3 seconds on interpreter 0x7f2048e1fb50 pid: 10 (default app) searxng | DEBUG searx.engines.dailymotion : Initialized searxng | INFO searx : Send SIGUSR1 signal to pid 18 to start the checker searxng | INFO searx : debug mode: checker is disabled searxng | INFO searx : Send SIGUSR1 signal to pid 21 to start the checker searxng | INFO searx : debug mode: checker is disabled searxng | WSGI app 0 (mountpoint='') ready in 3 seconds on interpreter 0x7f2048e1fb50 pid: 21 (default app) searxng | WSGI app 0 (mountpoint='') ready in 3 seconds on interpreter 0x7f2048e1fb50 pid: 18 (default app) searxng | DEBUG searx.engines.dailymotion : Initialized searxng | INFO searx : Send SIGUSR1 signal to pid 11 to start the checker searxng | INFO searx : debug mode: checker is disabled searxng | WSGI app 0 (mountpoint='') ready in 3 seconds on interpreter 0x7f2048e1fb50 pid: 11 (default app) searxng | DEBUG searx.network.wolframalpha : HTTP Request: GET https://www.wolframalpha.com/input/api/v1/code?ts=9999999999999999999 "HTTP/1.1 200 OK" searxng | DEBUG searx.network.wolframalpha : HTTP Request: GET https://www.wolframalpha.com/input/api/v1/code?ts=9999999999999999999 "HTTP/1.1 200 OK" searxng | DEBUG searx.network.wolframalpha : HTTP Request: GET https://www.wolframalpha.com/input/api/v1/code?ts=9999999999999999999 "HTTP/1.1 200 OK" searxng | DEBUG charset_normalizer : Encoding detection: ascii is most likely the one. searxng | DEBUG charset_normalizer : Encoding detection: ascii is most likely the one. searxng | DEBUG searx.engines.wolframalpha : Initialized searxng | DEBUG searx.engines.wolframalpha : Initialized searxng | DEBUG charset_normalizer : Encoding detection: ascii is most likely the one. searxng | DEBUG searx.engines.wolframalpha : Initialized searxng | DEBUG searx.network.wikidata : HTTP Request: GET https://query.wikidata.org/sparql?query=%0ASELECT+%3Fitem+%3Fname%0AWHERE+%7B%0A++++%7B%0A++++++SELECT+%3Fitem%0A++++++WHERE+%7B+%3Fitem+wdt%3AP279%2A+wd%3AQ12132+%7D%0A++++%7D+UNION+%7B%0A++++++VALUES+%3Fitem+%7B+wd%3AP571+wd%3AP576+wd%3AP580+wd%3AP582+wd%3AP569+wd%3AP570+wd%3AP619+wd%3AP620+wd%3AP27+wd%3AP495+wd%3AP17+wd%3AP159+wd%3AP36+wd%3AP35+wd%3AP6+wd%3AP122+wd%3AP37+wd%3AP1082+wd%3AP2046+wd%3AP281+wd%3AP38+wd%3AP2048+wd%3AP400+wd%3AP50+wd%3AP170+wd%3AP57+wd%3AP175+wd%3AP178+wd%3AP162+wd%3AP176+wd%3AP58+wd%3AP272+wd%3AP264+wd%3AP123+wd%3AP449+wd%3AP750+wd%3AP86+wd%3AP577+wd%3AP136+wd%3AP364+wd%3AP212+wd%3AP957+wd%3AP275+wd%3AP277+wd%3AP348+wd%3AP840+wd%3AP1098+wd%3AP282+wd%3AP1018+wd%3AP218+wd%3AP169+wd%3AP112+wd%3AP1454+wd%3AP137+wd%3AP1029+wd%3AP225+wd%3AP274+wd%3AP1346+wd%3AP1120+wd%3AP498+wd%3AP856+wd%3AP1324+wd%3AP1581+%7D%0A++++%7D%0A++++OPTIONAL+%7B+%3Fitem+rdfs%3Alabel+%3Fname.+%7D%0A%7D%0A "HTTP/2 200 OK" (application/sparql-results+json;charset=utf-8) searxng | DEBUG searx.network.wikidata : HTTP Request: GET https://query.wikidata.org/sparql?query=%0ASELECT+%3Fitem+%3Fname%0AWHERE+%7B%0A++++%7B%0A++++++SELECT+%3Fitem%0A++++++WHERE+%7B+%3Fitem+wdt%3AP279%2A+wd%3AQ12132+%7D%0A++++%7D+UNION+%7B%0A++++++VALUES+%3Fitem+%7B+wd%3AP571+wd%3AP576+wd%3AP580+wd%3AP582+wd%3AP569+wd%3AP570+wd%3AP619+wd%3AP620+wd%3AP27+wd%3AP495+wd%3AP17+wd%3AP159+wd%3AP36+wd%3AP35+wd%3AP6+wd%3AP122+wd%3AP37+wd%3AP1082+wd%3AP2046+wd%3AP281+wd%3AP38+wd%3AP2048+wd%3AP400+wd%3AP50+wd%3AP170+wd%3AP57+wd%3AP175+wd%3AP178+wd%3AP162+wd%3AP176+wd%3AP58+wd%3AP272+wd%3AP264+wd%3AP123+wd%3AP449+wd%3AP750+wd%3AP86+wd%3AP577+wd%3AP136+wd%3AP364+wd%3AP212+wd%3AP957+wd%3AP275+wd%3AP277+wd%3AP348+wd%3AP840+wd%3AP1098+wd%3AP282+wd%3AP1018+wd%3AP218+wd%3AP169+wd%3AP112+wd%3AP1454+wd%3AP137+wd%3AP1029+wd%3AP225+wd%3AP274+wd%3AP1346+wd%3AP1120+wd%3AP498+wd%3AP856+wd%3AP1324+wd%3AP1581+%7D%0A++++%7D%0A++++OPTIONAL+%7B+%3Fitem+rdfs%3Alabel+%3Fname.+%7D%0A%7D%0A "HTTP/2 200 OK" (application/sparql-results+json;charset=utf-8) searxng | DEBUG searx.network.wikidata : HTTP Request: GET https://query.wikidata.org/sparql?query=%0ASELECT+%3Fitem+%3Fname%0AWHERE+%7B%0A++++%7B%0A++++++SELECT+%3Fitem%0A++++++WHERE+%7B+%3Fitem+wdt%3AP279%2A+wd%3AQ12132+%7D%0A++++%7D+UNION+%7B%0A++++++VALUES+%3Fitem+%7B+wd%3AP571+wd%3AP576+wd%3AP580+wd%3AP582+wd%3AP569+wd%3AP570+wd%3AP619+wd%3AP620+wd%3AP27+wd%3AP495+wd%3AP17+wd%3AP159+wd%3AP36+wd%3AP35+wd%3AP6+wd%3AP122+wd%3AP37+wd%3AP1082+wd%3AP2046+wd%3AP281+wd%3AP38+wd%3AP2048+wd%3AP400+wd%3AP50+wd%3AP170+wd%3AP57+wd%3AP175+wd%3AP178+wd%3AP162+wd%3AP176+wd%3AP58+wd%3AP272+wd%3AP264+wd%3AP123+wd%3AP449+wd%3AP750+wd%3AP86+wd%3AP577+wd%3AP136+wd%3AP364+wd%3AP212+wd%3AP957+wd%3AP275+wd%3AP277+wd%3AP348+wd%3AP840+wd%3AP1098+wd%3AP282+wd%3AP1018+wd%3AP218+wd%3AP169+wd%3AP112+wd%3AP1454+wd%3AP137+wd%3AP1029+wd%3AP225+wd%3AP274+wd%3AP1346+wd%3AP1120+wd%3AP498+wd%3AP856+wd%3AP1324+wd%3AP1581+%7D%0A++++%7D%0A++++OPTIONAL+%7B+%3Fitem+rdfs%3Alabel+%3Fname.+%7D%0A%7D%0A "HTTP/2 200 OK" (application/sparql-results+json;charset=utf-8) searxng | DEBUG searx.network.wolframalpha : HTTP Request: GET https://www.wolframalpha.com/input/api/v1/code?ts=9999999999999999999 "HTTP/1.1 200 OK" searxng | DEBUG searx.network.wikidata : HTTP Request: GET https://query.wikidata.org/sparql?query=%0ASELECT+%3Fitem+%3Fname%0AWHERE+%7B%0A++++%7B%0A++++++SELECT+%3Fitem%0A++++++WHERE+%7B+%3Fitem+wdt%3AP279%2A+wd%3AQ12132+%7D%0A++++%7D+UNION+%7B%0A++++++VALUES+%3Fitem+%7B+wd%3AP571+wd%3AP576+wd%3AP580+wd%3AP582+wd%3AP569+wd%3AP570+wd%3AP619+wd%3AP620+wd%3AP27+wd%3AP495+wd%3AP17+wd%3AP159+wd%3AP36+wd%3AP35+wd%3AP6+wd%3AP122+wd%3AP37+wd%3AP1082+wd%3AP2046+wd%3AP281+wd%3AP38+wd%3AP2048+wd%3AP400+wd%3AP50+wd%3AP170+wd%3AP57+wd%3AP175+wd%3AP178+wd%3AP162+wd%3AP176+wd%3AP58+wd%3AP272+wd%3AP264+wd%3AP123+wd%3AP449+wd%3AP750+wd%3AP86+wd%3AP577+wd%3AP136+wd%3AP364+wd%3AP212+wd%3AP957+wd%3AP275+wd%3AP277+wd%3AP348+wd%3AP840+wd%3AP1098+wd%3AP282+wd%3AP1018+wd%3AP218+wd%3AP169+wd%3AP112+wd%3AP1454+wd%3AP137+wd%3AP1029+wd%3AP225+wd%3AP274+wd%3AP1346+wd%3AP1120+wd%3AP498+wd%3AP856+wd%3AP1324+wd%3AP1581+%7D%0A++++%7D%0A++++OPTIONAL+%7B+%3Fitem+rdfs%3Alabel+%3Fname.+%7D%0A%7D%0A "HTTP/2 200 OK" (application/sparql-results+json;charset=utf-8) searxng | DEBUG charset_normalizer : Encoding detection: ascii is most likely the one. searxng | DEBUG searx.engines.wolframalpha : Initialized searxng | DEBUG searx.engines.wikidata : request time 0:00:00.306000 searxng | DEBUG searx.engines.wikidata : request time 0:00:00.523000 searxng | DEBUG searx.engines.wikidata : request time 0:00:00.537000 searxng | DEBUG searx.engines.wikidata : request time 0:00:00.596000 searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://soundcloud.com "HTTP/2 200 OK" (text/html) searxng | DEBUG searx.engines.wikidata : Initialized searxng | DEBUG searx.engines.wikidata : Initialized searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://soundcloud.com "HTTP/2 200 OK" (text/html) searxng | DEBUG searx.engines.wikidata : Initialized searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://soundcloud.com "HTTP/2 200 OK" (text/html) searxng | DEBUG searx.engines.wikidata : Initialized searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://a-v2.sndcdn.com/assets/50-a870eded.js "HTTP/2 200 OK" (application/javascript) searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://soundcloud.com "HTTP/2 200 OK" (text/html) searxng | DEBUG searx.network.z-library : HTTP Request: GET https://z-lib.org "HTTP/2 200 OK" (text/html; charset=UTF-8) searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://a-v2.sndcdn.com/assets/50-a870eded.js "HTTP/2 200 OK" (application/javascript) searxng | DEBUG searx.engines.z-library : using base_url: https://usa1lib.org searxng | DEBUG searx.engines.z-library : Initialized searxng | DEBUG searx.network.z-library : HTTP Request: GET https://z-lib.org "HTTP/2 200 OK" (text/html; charset=UTF-8) searxng | DEBUG searx.engines.z-library : using base_url: https://usa1lib.org searxng | DEBUG searx.engines.z-library : Initialized searxng | DEBUG searx.network.z-library : HTTP Request: GET https://z-lib.org "HTTP/2 200 OK" (text/html; charset=UTF-8) searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://a-v2.sndcdn.com/assets/50-a870eded.js "HTTP/2 200 OK" (application/javascript) searxng | DEBUG searx.engines.z-library : using base_url: https://usa1lib.org searxng | DEBUG searx.engines.z-library : Initialized searxng | DEBUG searx.engines.soundcloud : Initialized searxng | DEBUG searx.engines.soundcloud : Initialized searxng | DEBUG searx.engines.soundcloud : Initialized searxng | DEBUG searx.network.soundcloud : HTTP Request: GET https://a-v2.sndcdn.com/assets/50-a870eded.js "HTTP/2 200 OK" (application/javascript) searxng | DEBUG searx.network.z-library : HTTP Request: GET https://z-lib.org "HTTP/2 200 OK" (text/html; charset=UTF-8) searxng | DEBUG searx.engines.z-library : using base_url: https://usa1lib.org searxng | DEBUG searx.engines.z-library : Initialized searxng | DEBUG searx.engines.soundcloud : Initialized ```
sbreaksalot commented 2 years ago

Hi! I installed using the the instructions: https://github.com/searxng/searxng-docker op a raspberry pi 3B+ Running the latest pi-os 64bit lite and the latstest docker and docker-compose. Setting it up for the internal network. I have the same issue: page loads but page is blank. I attached the searxng log. Let me know if you need more logs.

searxng.log

return42 commented 2 years ago

I can't reproduce the issue and I am not a docker expert but I assume most often the blank page is caused by caddy or a port mismatch like reported in https://github.com/searxng/searxng-docker/issues/50

@dalf do you have a clue?

pireef commented 2 years ago

I changed the ports up and it did not resolve the issue.

What is maddening, is I can run docker-compose down and bring it right back up with no changes and I will get one of 3 things. 1. Nothing rendered, 2. Connection Refused or 3. SSL Protocol error. The only one of those that gets logged is the nothing rendered. Maybe that helps someone who knows the inner workings better than I do.

return42 commented 2 years ago

Sorry I can't help. This is an issue in the docker container and the setup .. its not an SearXNG issue. The request from the client never reach the SearXNG server in the container.

orlovdumitru commented 2 years ago

I installed searxng on a Ubuntu machine using docker-compose, when I was trying to access that machine in the browser on my local network I was getting a blank page, I had to edit ".env" file and for "SEARXNG_HOSTNAME" I provided Linux machine IP (or host IP where searxng is installed, I set ubuntu ip static): SEARXNG_HOSTNAME=<linux_ip>, then from my other machine in the browser enter ip I entered in .env file with https https://<ubuntu-ip-address>. don't forget to bring it down and then up after editing .env file sudo docker-compose down, sudo docker-compose up -d

sbreaksalot commented 2 years ago

That fixed it for me!

pireef commented 2 years ago

that did not solve the issue for me.

I am playing with the order in which the container's start up to see if it makes a difference.

loky-lp commented 2 years ago

@orlovdumitru solution worked for my private installation on the Raspberry Pi4 on my network, unfortunately i keep getting errors from my browser for the ssl certificate. I'm trying to resolve but i think that the certificate creation fails because it's an instance running on o private network, is there any way to opt out the automatic certificate creation?

return42 commented 2 years ago

Just wanted to link https://github.com/searxng/searxng-docker/issues/41 .. its a little bit OT here, but maybe it helps one or the other who comes by here.

vsr3y commented 1 year ago

I solved this problem by not typing a tab character in searxng/settings.yml.

return42 commented 1 year ago

Close issue since question has been answered.