Closed masaoliou closed 1 month ago
Looks more like a support question for which an existing thread already exists here:
https://forum.greenbone.net/t/no-response-from-localhost-9392/19082
Looks more like a support question for which an existing thread already exists here:
https://forum.greenbone.net/t/no-response-from-localhost-9392/19082
Yes.
I hope this report can be treated as a feature request -- enhancing gsad to log the reasons why it is unable to respond to HTTP requests.
gsad
daemon would need to be placed to https://github.com/greenbone/gsad/issuesgsad
and not a setup / packaging issue?
- This is the repository of the GSA web frontend, anything for the
gsad
daemon would need to be placed to https://github.com/greenbone/gsad/issues
Can I cross post this report there? Is it an acceptable practice?
- Was it verified that this is actually an issue within the
gsad
and not a setup / packaging issue?
I assume the issue lies in gsad
because wget
prints the line with ... connected
.
curl --verbose http://127.0.0.1:9392
prints the following.
* Connected to 127.0.0.1 (127.0.0.1) port 9392
> GET / HTTP/1.1
> Host: 127.0.0.1:9392
> User-Agent: curl/8.9.1
> Accept: */*
>
* Empty reply from server
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* shutting down connection #0
curl: (52) Empty reply from server
I would suggest to move the debugging of this 3rd party package based installation to the existing community forums thread, close this issue as won't do / fix and only re-open a new one in https://github.com/greenbone/gsad/issues once it really turns out to be a bug / issue / adequate feature request for gsad
.
Close this report for this moment because this issue is irrelevant to gsa
.
gsad is expected to respond with contents to HTTP requests. If it doesn't, it should at least write log to explain why.
However,
wget http://127.0.0.1:9392
repeatedly requests and prints the following messages.And gsad doesn't explain why it does not want to respond.
Steps to reproduce
level=0
and all occurrences oflevel=127
tolevel=128
in `/etc/gvm/gsad_log.conf``systemctl restart gsad
wget http://127.0.0.1:9392
.GVM versions
gsa: (gsad --version) 22.11.0
gvm: (gvmd --version) 23.8.1
openvas-scanner: (openvas-nasl --version) 23.8.5
gvm-libs: 22.10.0
Environment
Operating system: Debian Forky and Ubuntu 24.04.1 both run as QEMU guests. Debian Bookworm runs QEMU host.
All operations mentioned in this report were done in the aforementioned two QEMU guests.
Linux forky 6.10.7-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.7-1 (2024-08-31) x86_64 GNU/Linux
Installation method / source: (packages, source installation)
apt install gvm nodejs greenbone-security-assistant
gvm-setup
Logfiles
/var/log/gvm/gsad.log
gvm-setup
outputs