elasticsearch-HQ
elasticsearch-HQ copied to clipboard
Problem detect cluster elasticsearch, error 500 exceptions._request_wrapper:37
General information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 22.04
- ElasticHQ Version: 3.5.12 -- https://github.com/ElasticHQ/elasticsearch-HQ
- Elasticsearch Version: 7.8.0
- Python version (ignore is using docker image): 3.6.15
- Browser Vendor and Version (if applicable):
Issue Description
Problem detect cluster elasticsearch, error 500 exceptions._request_wrapper:37
Source Code / Logs
2023-12-20 08:45:38,428 ERROR elastichq exceptions._request_wrapper:37 Oops! Something bad happened. Traceback (most recent call last): File "/etc/elasticsearch-HQ-master/elastichq/common/exceptions.py", line 29, in _request_wrapper return functor(*args, **kwargs) File "/etc/elasticsearch-HQ-master/elastichq/api/clusters.py", line 104, in post params.update(json_data) TypeError: cannot convert dictionary update sequence element #0 to a sequence
Request URL: https://******/elastichq/api/clusters/_connect Request Method: POST Status Code: 500 INTERNAL SERVER ERROR
Requirements install:
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
Be Patient
I have a day job. ;-)