Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in "Importing Kibana Index Patterns #41

Open
jamitupya opened this issue May 18, 2018 · 1 comment
Open

Error in "Importing Kibana Index Patterns #41

jamitupya opened this issue May 18, 2018 · 1 comment

Comments

@jamitupya
Copy link

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?

@cloudstrifeedge
Copy link

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

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

No branches or pull requests

2 participants