Launching a simple snapshot action causes this error. I'm running elasticsearch and minio locally, I managed to create snapshots manually but wanted to use curator for automating snapshots.
HTTP N/A error: HTTPSConnectionPool(host='127.0.0.1', port=9200): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)')))
These are my files
curator.yml
client:
hosts:
- 127.0.0.1
port: 9200
aws_key: minioadmin
aws_secret_key: minioadmin
aws_region: default
use_ssl: False
logging:
loglevel: INFO
actions.yml
actions:
1:
action: snapshot
options:
repository: backup_minio
name: backup-%Y-%m-%-d-%H:%M:%S
ignore_unavailable: False
include_global_state: True
partial: False
wait_for_completion: True
skip_repo_fs_check: False
disable_action: False
filters:
- filtertype: pattern
kind: prefix
value: logstash
This is what happens:
$ curator --dry-run actions.yml
2020-04-06 15:34:12,054 INFO Preparing Action ID: 1, "snapshot"
2020-04-06 15:34:12,054 INFO Creating client object and testing connection
2020-04-06 15:34:12,056 INFO Instantiating client object
2020-04-06 15:34:12,056 INFO Testing client connectivity
2020-04-06 15:34:12,083 ERROR HTTP N/A error: HTTPSConnectionPool(host='127.0.0.1', port=9200): Max retries exceeded with url: / (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)')))
2020-04-06 15:34:12,083 CRITICAL Curator cannot proceed. Exiting.
Environment:
OS: ubuntu 19.10
elasticsearch: 7.6.2
minio: RELEASE.2020-03-25T07-03-04Z
curator: 5.8.1