SweetSecurity icon indicating copy to clipboard operation
SweetSecurity copied to clipboard

Error in "Importing Kibana Index Patterns

Open jamitupya opened this issue 7 years ago • 1 comments

for the life of me i cant figure out how to get this resolved and unfortunately cant copy text from this environment.

Basically i'm running this up as a web-server only, on Deb Jessie.

screen shot 2018-05-17 at 1 18 29 pm

Key error i receive now is a TIMEOUT connecting to localhost:9200 when importing the Patterns.

i've tried;

  • replacing pip installation method + upgrade the applicable modules
  • confirming the elastic instance responds on localhost:9200 & 127.0.0.1:9200
  • removed/added/disabled iptables rules
  • adding PySocks module to the build and piping traffic via a proxy to see if it communicates. (note: it didn't)

Anyone have any other ideas?

jamitupya avatar May 18 '18 05:05 jamitupya

maybe you can give it a try:

1.delete elasticsearch & kibana manually.

2.make sure you install these packages successfully:

sudo pip install elasticsearch
sudo pip install requests
sudo pip install flask-mail
sudo pip install flask_wtf
sudo pip install cryptography --upgrade
sudo pip install pyopenssl --upgrade

as you can see in line 29 & 48 in file: SweetSecurity/install/packages.py

os.popen('sudo pip install elasticsearch 2>&1').read()
os.popen('sudo pip install requests 2>&1').read()
os.popen('sudo pip install flask-mail 2>&1').read()
os.popen('sudo pip install flask_wtf 2>&1').read()
os.popen('sudo pip install cryptography --upgrade 2>&1').read()
os.popen('sudo pip install pyopenssl --upgrade 2>&1').read()

there's no guarantee to install these packages successfully because they're non-blocking tasks.

3.install the correct lib: ( if you don't use Debain linux, go to next step)

sudo apt-get remove libssl-dev
sudo apt-get install libssl1.0-dev

4.run setup.py again.

hope it helps, good luck

cloudstrifeedge avatar Aug 10 '18 03:08 cloudstrifeedge