Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Problem in running Hippocampe #56

Open
shrishtijain opened this issue Apr 24, 2018 · 6 comments
Open

Problem in running Hippocampe #56

shrishtijain opened this issue Apr 24, 2018 · 6 comments

Comments

@shrishtijain
Copy link

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
Copy link
Contributor

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
Copy link
Author

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
Copy link
Contributor

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
Copy link

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
Copy link

davie22 commented Apr 16, 2019

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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants