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

Not working without corrections in requirements.txt #544

Open
workeyman opened this issue Nov 16, 2021 · 2 comments
Open

Not working without corrections in requirements.txt #544

workeyman opened this issue Nov 16, 2021 · 2 comments

Comments

@workeyman
Copy link

The installation via source code worked, but unfortunately I still could not use the application.

I could not establish a connection (500 internal server error). After that I found the problem comes from the Flask version defined in requirements.txt.

After some adjustments of the package versions I got it to work.
The following is my new requirements.txt file:

jmespath==0.9.3

# Flask
Flask==2.0.2
Flask-restful==0.3.9
Flask-Script==2.0.6

# JSON serializer
flask-marshmallow==0.8.0
marshmallow-sqlalchemy==0.13.2
marshmallow==3.0.0b5

# requests
#urllib3<1.23
urllib3<1.23,>=1.21.1
requests>=2.0.0, <3.0.0

# Cache
dogpile.cache == 0.6.5

# Database
SQLAlchemy==1.3.0
Flask-SQLAlchemy==2.3.2
Flask-Migrate

# Testing
coverage == 4.5.4
nose == 1.3.4
Flask-Testing
pytest==5.0.1
pytest-cov==2.7.1
pytest-ordering==0.6
pytest-docker-compose==3.0.0
pytest-html==1.22.0

# Scheduler
apscheduler==3.5.0
Flask-APScheduler== 1.7.1

# Socket
python-engineio==3.0.0
python-socketio==2.1.0
Flask-SocketIO==3.1.0
eventlet==0.25.0

# Production
gunicorn==19.7.1

# Elasticsearch
six==1.11.0
python-dateutil==2.7.2

hope this helps someone.

@T100D
Copy link

T100D commented Nov 22, 2021

Good job @maisen20 , its working over here now to after having not able to connect to ES clusters as described here: #543

@cu-18bcs1637
Copy link

cu-18bcs1637 commented Mar 23, 2022

Does this work with 8.x versions of elasticsearch?

I am using : Version: 8.1.0, Build: default/deb/3700f7679f7d95e36da0b43762189bab189bc53a, JVM: 17.0.2

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

3 participants