TheHive-Project / Hippocampe

Threat Feed Aggregation, Made Easy
https://thehive-project.org
GNU Affero General Public License v3.0
166 stars 44 forks source link

Problem in running Hippocampe #56

Open shrishtijain opened 6 years ago

shrishtijain commented 6 years ago

Hello,

Can any one please help me !!! I have installed hippocampe in ubutnu 16.04l LTS of 64 bit. But I am not able to figure out how to make hippocampe run to get feeds. I had followed all the steps explained in Documentation as well..

Thanks in advance

ninSmith commented 6 years ago

Hi,

Have you had a look at this: https://github.com/TheHive-Project/Hippocampe/blob/master/docs/tutorial.md#how-to-retrieve-feeds ?

Does it solve your problem ?

shrishtijain commented 6 years ago

Hi,

Thanku for answering. Yes I had checked shadowbook it is showing "error": "Ongoing job already running" after running command in the link provided by you.After running freshness command it is s showing "NOK".

I am confised a bit Do i have to install Coretx for it? as I had installed only hippocampe till date.... Please help!!!

Thanks & Regards

ninSmith commented 6 years ago

You don't need cortex to run Hippocampe.

Right now, Hippocampe thinks a job is running when there isn't.
Execute the following command to flush on-going job:

curl -XDELETE http://localhost:9200/hippocampe/jobs

Now try again:

curl -XGET localhost:5000/hippocampe/api/v1.0/shadowbook
shrishti01 commented 6 years ago

Hi,

Thank SO much for replying !!! Query is throwing an error _curl -XDELETE http://localhost:9200/hippocampe/jobs {"error":"Incorrect HTTP method for uri [/hippocampe/jobs] and method [DELETE], allowed: [POST]","status":405}_

And also I want to use Hippocampe as a service for regular updation of feeds or is it possible that feeds will get updated when we use it without NGINX and UWSGI tool

davie22 commented 5 years ago

Hi, I have this issue when I try to run the app.py. Traceback (most recent call last): File "core/app.py", line 4, in from flask import Flask, jsonify, abort, request, render_template ImportError: No module named flask

I´ve installed hippocampe in debian 9.5 (stretch) Python 2.7.13 pip 19.0.3 from /usr/local/lib/python3.5/dist-packages/pip (python 3.5)

I had followed all the steps explained in documentation as well. I hope you can help me. Thanks you!

mgabriel-silva commented 5 years ago

To clear all the jobs, execute: curl http://localhost:9200/hippocampe/jobs/_delete_by_query -d '{"query": {"match_all": {}}}'