-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gvmd failed to start with traefik #184
Comments
Latest entries before the above
After that i get the above error over and over again |
It looks like you have set:
Set this to zero or false, and you should be fine. This option forces the rebuilding of the database and would destroy anything in the current database. That's why there is protection in place to prevent starting with this option if there is an existing database. You could also specify a different location/volume for you data, and it would generate a new database. This does take significantly longer than using the existing DB in the container. I hope that helps. -Scott |
@immauss thanks for your fast response. in which container / config is this supposed to be set? I wasnt able to find it in mine.
Unfortunately i seem to still have an issue when login into the webinterface, the container gives me an authentication success, but i get back to the login page, and the developer tools state the error: Do you have an idea what the issue might be? Do i need to tell openvas his external address or allow proxy usage? Or do you think its an issue of traefik? I use the following settings for traefik with openvas:
|
I'm not familiar with Traefik, so I'm not sure where to look. Is it a container platform? |
Yes, its a reverse proxy (https://doc.traefik.io/traefik/) |
Can you provide the contents of you docker-compose.yaml ? I think that will give me an idea or two. Thanks, |
I'm having the same problem, my current hunch, its because traefik needs HTTPS to be false, but that means the cookie gets set as secure = false I also notice there is a 401 error: /gmp?token=......&cmd=get_capabilities <title>Authentication required: handler_send_reauthentication:476 (GSA 22.04.1)</title> Cookie missing or bad. Please login again.But no error in the console |
This is mine, with the same issue
|
I just figured out that in my case the issue seems to be the combination of Traefik and Cloudflare Proxy. When i disable the cloudflare proxy for the URL it works fine. With it, it tells me its unauthorized, although the authentication succeeded before.
envs:
|
@Zapfmeister Thanks for the follow up. |
Yes, but I got mine working WITH cloudflare :)
Thank you both and great work @immauss |
Awesome! Thanks, |
I'm having restart issues now, I have to wipe the data folder or it wont restart, otherwise it gets stuck in a loop, so once i've solved that I can give it a try, but the docker compose both of us pasted pretty much cover everything apart from installing traefik :) |
The " was just missing from the copy and paste sorry, on my server it is correct. To make scanning actually work, I also removed the items below, otherwise I was getting stuck at 0%. but I've now successfully scanned 12 different ips, and rescanned after a couple of mitigations
Nothing else was changed docker/traefik side, however I set SSL/TLS > Overview setting to "Full" not strict. Edit: I've updated the post with my working config above. |
@aam-git SSL/TLS > Overview setting to "Full" not strict —> where did you do that? In cloudflare or traefik? |
Cloudflare.. by default it's set to flexible which traefik doesn't like. |
Multicontainer with version 22.4.11.
Getting this error even after docker-compose down -v
Any hints?
The text was updated successfully, but these errors were encountered: