GithubHelp home page GithubHelp logo

Comments (5)

mrod23 avatar mrod23 commented on May 23, 2024 2

Ran into that issue also , you need to update your connection to something like the below

    connection = TLSConnection(hostname='127.0.0.1')
    transform = EtreeTransform()

    with Gmp(connection, transform=transform) as gmp:
        try:
            version = gmp.get_version()

from gvm-docker.

pixelsquared avatar pixelsquared commented on May 23, 2024

I noticed you are connecting with http. The newer versions of this container use https so could you try connecting with https?

from gvm-docker.

syafsss avatar syafsss commented on May 23, 2024

Yes, GSA successfully accessed using https.

Unfortunately, I encountered another issue when trying to run scan using my python script. It's related to the gvmd.sock path not found (previously when using older image version, this script works fine).
Error: An error occurred Socket /usr/local/var/run/gvmd.sock does not exist.

The script use path = '/usr/local/var/run/gvmd.sock'. Could you advice which path we should use now?

from gvm-docker.

pixelsquared avatar pixelsquared commented on May 23, 2024

We changed the GVM to listen to a port so that it could be connected to from outside the container if someone wanted to. The GVM listens on port 9390

from gvm-docker.

dicksnel avatar dicksnel commented on May 23, 2024

@mrod23 does this work with self-signed certificates? Your code snippet results in a handshake error for me.

from gvm-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.