malice icon indicating copy to clipboard operation
malice copied to clipboard

scan cmd failed to store file info: failed to connect to database

Open waleedmagdy opened this issue 3 years ago • 0 comments

This is my first time to use your app. I am getting error when trying to scan the file. this error from the first time after update all plugins.

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v `pwd`:/malice/samples  --network="host"  -e MALICE_VT_API=$MALICE_VT_API malice/engine scan BingWallpaper.exe
#### File
| Field  | Value                                                            |
| ------ | ---------------------------------------------------------------- |
| Name   | BingWallpaper.exe                                                |
| Path   | BingWallpaper.exe                                                |
| Size   | 9.14MB                                                           |
| MD5    | b4fe2da596181363907195fefe7af01b                                 |
| SHA1   | b5def485823e89a6b9420a417c1a9dd3de5503de                         |
| SHA256 | c5003e4821753acc69b39d969258d1a47d7b2a55ffb7037a1fd691c8e6431ff2 |
FATA[0001] scan cmd failed to store file info: failed to connect to database: failed to ping elasticsearch: Get http://localhost:9200/: dial tcp 127.0.0.1:9200: connect: connection refused

please let me know if you have a fix for that or a hint to make it fixed. thanks

waleedmagdy avatar Nov 25 '20 23:11 waleedmagdy