Graylog2 / Graylog2/graylog2-server

Switching a data node from secure to insecure needs Graylog restart

Open
#19,031 1 comment 0 reactions 0 assignees View on GitHub
bug triaged
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.