Closed ZackeryBayle closed 1 year 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?
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.
@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.
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?
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
+1 here. Installed from searxng-docker. Duplicate issue here https://github.com/searxng/searxng/issues/1399
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):
@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
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.
@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.
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:
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
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"]}}
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)
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.
unfortunately, I am still having blank page rendered with or without method: "GET" in the settings.yml file
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
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)
192.168.1.2
it's the address of the raspberry and 192.168.1.162
is the address of the client
@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)
Ubuntu 22.04 LTS
as my VM on a local NAS (TrueNAS).env
filemethod: "GET"
debug: true
, is there anything else to enable debug for searxng? below are the logs: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
@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.
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
noticed i have a lot of python errors.
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.
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:
to
ports:@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).
Compare with searxng-docker/compose.yaml
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
fromsearx/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:
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:
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.
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?
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.
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.
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
That fixed it for me!
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.
@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?
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.
I solved this problem by not typing a tab character in searxng/settings.yml
.
Close issue since question has been answered.
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.