graylog-datanode 6.1.10-1 amd64 Graylog data node
graylog-server 6.1.10-1 amd64 Graylog server
mongodb-org-server 7.0.18 amd64 MongoDB database server
3. What steps have you already taken to try and solve the problem?
Tried to change the hostname to azne-xyz-xyz
restarted the machine
checked if the service is working or not ( its working )
4. How can the community help?
Below is the error i am facing, I tried to login for the first time using the creds which was mentioned in the Graylog log file as mentioned in the docs and still facing the below issue. First login was done through browser but currently its not loading up on browser too.
INFO [VersionProbe] Indexer is not available. Retry #5
Unable to retrieve version from indexer node: Hostname azne-xyz-xyz.global.local not verified:
certificate: sha256/B3ZAzOja/oqY+g56xyzxyzx8uf3npK1m7IB/CqchckU=
DN: CN=azne-xyz-xyz
subjectAltNames: [0:0:0:0:0:0:0:1, 127.0.0.1, 10.5.x.x, localhost, azne-xyz-xyz, ip6-localhost]. - Hostname azne-xyz-xyz.global.local not verified:
certificate: sha256/B3ZAzOja/oqY+g56xyzxyzx8uf3npK1m7IB/CqchckU=
DN: CN=azne-xyz-xyz
subjectAltNames: [0:0:0:0:0:0:0:1, 127.0.0.1, 10.5.x.x, localhost, azne-xyz-xyz, ip6-localhost].
Note: I have Installed Graylog-server and datanode both on the same node.
Hi @docgyan
Can you tell me where is the azne-xyz-xyz.global.local coming from? Is this a hostname hardcoded somewhere? Is this in your datanode.conf or graylog.conf file used somewhere?
The problem is that the certificate generated for your datanode contains only azne-xyz-xyz in SAN and there is no entry with the .global.local suffix that’s being used to access your datanode. So let’s figure out what is coming from where and then we can try to correct the problem or configuration.
But i found .global.local been hardcoded under /var/lib/graylog-datanode/opensearch/config/opensearch/opensearch.yml file and i edited it and restarted datanode/graylog services but still no luck.
Thanks! The opensearch.yml is regenerated during every datanode restart, so any change you do there won’t be reflected. You have to configure these in datanode.conf.
If your machine can resolve/ping azne-xyz-xyz, then I’d suggest to set
hostname=azne-xyz-xyz
in your datanode.conf and override the hostname autodetection. Then try to restart the datanode/server and check if the connection is ok and there are no errors in logs.