Coder Social home page Coder Social logo

Comments (17)

lexfrei avatar lexfrei commented on May 20, 2024 1

Worked as expected: there is no http handling on https port. It's not friendly, but correct.

from openvas-docker.

udiromano avatar udiromano commented on May 20, 2024

Same problem here...

from openvas-docker.

mikesplain avatar mikesplain commented on May 20, 2024

Hmm how much memory do you have available? I've seen things like this when you're limiting docker's memory

from openvas-docker.

lancelakey avatar lancelakey commented on May 20, 2024

I see the same error. I've configured Docker for Mac with 12 GB of memory.

from openvas-docker.

mikesplain avatar mikesplain commented on May 20, 2024

@lancelakey can you provide your docker command to start the container and any logs?

from openvas-docker.

udiromano avatar udiromano commented on May 20, 2024

I solved the problem, i've stopped the gsad service and ran it manually like so:
/usr/sbin/gsad --listen=0.0.0.0 --port=4000 --mlisten=127.0.0.1 --mport=9390
@mikesplain is there any chance you'll change the Dockerfile to support that?

from openvas-docker.

mikesplain avatar mikesplain commented on May 20, 2024

@udiromano Can you try the new build once #109 finishes building? That should fix it!

from openvas-docker.

mikesplain avatar mikesplain commented on May 20, 2024

Closing due to inactivity. Please reopen if you're still seeing issues!

from openvas-docker.

lexfrei avatar lexfrei commented on May 20, 2024

Same on the latest. Details in logs.
Logs and creation: https://gist.github.com/lexfrei/4d8f4b994eadf886720fb3d479908d5d
Container inspect: https://gist.github.com/lexfrei/483a26da33cf2c46c8fdc3dd8d75031b

from openvas-docker.

lexfrei avatar lexfrei commented on May 20, 2024

@mikesplain I can't reopen this issue. Can you reopen it for me plz?

from openvas-docker.

bjoernricks avatar bjoernricks commented on May 20, 2024

Are you still able to connect to gsad or is the connection refused? Which browser do you use when accessing gsad? The problem should be on the client side of gsad aka your browser see https://lists.gnu.org/archive/html/libmicrohttpd/2011-09/msg00003.html

from openvas-docker.

lexfrei avatar lexfrei commented on May 20, 2024
sviridkin@mbp:~$ curl localhost:443
curl: (52) Empty reply from server
✗: 52 @ Wed Mar  7 18:51:16 MSK 2018

Same in latest Safari and Chrome

UPD:
But it works with https prefix!

sviridkin@mbp:~$ curl https://localhost:443/  --insecure
<html><body>Code 303 - Redirecting to <a href="https://localhost/login/login.html">https://localhost/login/login.html<a/></body></html>
✓ @ Wed Mar  7 18:52:56 MSK 2018

UPD2:
So, it's not a bug. You can close this issue again :)

from openvas-docker.

bjoernricks avatar bjoernricks commented on May 20, 2024

My bet is gnutls handles some tls stuff more strictly then others.

from openvas-docker.

fredairic avatar fredairic commented on May 20, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

from openvas-docker.

fredairic avatar fredairic commented on May 20, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

from openvas-docker.

juanluisbaptiste avatar juanluisbaptiste commented on May 20, 2024

Hi,

I'm getting this error but when running this image behind a reverse proxy like traefik.

Maybe it has to do with the fact that the proxy is terminating ssl ? I'm using letsencrypt certs in the traefik proxy, so there's no need to run openvas with ssl enabled. How can I disable https on this image to see if that's the issue?

thanks/

from openvas-docker.

moxli avatar moxli commented on May 20, 2024

@juanluisbaptiste you need to pass --http-only as a startup parameter to GSAD
I am not sure where to set it in this image.
https://www.mankier.com/8/gsad

from openvas-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.