Graylog2 / Graylog2/graylog2-server
Switching a data node from secure to insecure needs Graylog restart
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
If I change a datanode to run with `insecure_startup=true`
Graylog keeps trying to use TLS until I restart it:
```
2024-04-11T20:44:39.585Z ERROR [VersionProbe] Unable to retrieve version from Elasticsearch node: Unsupported or unrecognized SSL message. - Unsupported or unrecognized SSL message.
2024-04-11T20:44:39.586Z INFO [VersionProbe] OpenSearch/Elasticsearch is not available. Retry #26
2024-04-11T20:44:40.052Z WARN [Messages] Caught exception during bulk indexing: ElasticsearchException{message=OpenSearchException[An error occurred: ]; nested: IOException[Unrecognized SSL message, plai
ntext connection?]; nested: SSLException[Unrecognized SSL message, plaintext connection?];, errorDetails=[]}, retrying (attempt #18).
```
Ideally the VersionProbe would know that the DataNode got reconfigured.
## Your Environment
* Graylog Version: 6.0.0.rc2
Contributor guide
Assessment
This issue has not been assessed yet.