WARN [ProxiedResource] Failed to call API on node <89ab857b-f5b7-43ad-8fe9-40481bd96729>

Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.
Don’t forget to select tags to help index your topic!

1. Describe your incident:
i have issue with he graylog node here the error messages -
2024-10-09T21:32:02.371Z WARN [ProxiedResource] Failed to call API on node <89ab857b-f5b7-43ad-8fe9-40481bd96729>, cause: api (duration: 0 ms)
2024-10-09T21:32:04.113Z WARN [ProxiedResource] Failed to call API on node <89ab857b-f5b7-43ad-8fe9-40481bd96729>, cause: api: Temporary failure in name resolution (duration: 1 ms)
2024-10-09T21:32:04.373Z WARN [ProxiedResource] Failed to call API on node <89ab857b-f5b7-43ad-8fe9-40481bd96729>, cause: api (duration: 0 ms)

2. Describe your environment:

  • OS Information:
    root@ip-10-204-200-13:~# lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 22.04.5 LTS
    Release: 22.04
    Codename: jammy
  • Package Version:
    Graylog Server installed - 2024-10-09T20:26:49.343Z INFO [ServerBootstrap] Graylog server 6.0.7+4779d72 starting up

Mongo db -
root@ip-10-204-200-13:~# mongod --version
db version v8.0.1
Build Info: {
“version”: “8.0.1”,
“gitVersion”: “fcbe67d668fff5a370e2d87b9b1f74bc11bb7b94”,
“openSSLVersion”: “OpenSSL 3.0.2 15 Mar 2022”,
“modules”: ,
“allocator”: “tcmalloc-google”,
“environment”: {
“distmod”: “ubuntu2204”,
“distarch”: “x86_64”,
“target_arch”: “x86_64”
}
}

Opensearch -

root@ip-10-204-200-13:~# curl -X GET “http://127.0.0.1:9200
{
“name” : “ip-10-204-200-13”,
“cluster_name” : “graylog”,
“cluster_uuid” : “BeABsKb_Q-mYsJHG7CKywg”,
“version” : {
“distribution” : “opensearch”,
“number” : “2.12.0”,
“build_type” : “deb”,
“build_hash” : “2c355ce1a427e4a528778d4054436b5c4b756221”,
“build_date” : “2024-02-20T02:18:31.541484890Z”,
“build_snapshot” : false,
“lucene_version” : “9.9.2”,
“minimum_wire_compatibility_version” : “7.10.0”,
“minimum_index_compatibility_version” : “7.0.0”
},
“tagline” : “The OpenSearch Project: https://opensearch.org/
}

vi /etc/graylog/server/server.conf - elasticsearch_hosts = http://127.0.0.1:9200/

  • Service logs, configurations, and environment variables:

3. What steps have you already taken to try and solve the problem?
tried curl and it works for the node

root@ip-10-204-200-13:~# curl -X GET “http://127.0.0.1:9200/_cat/nodes?v
ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role node.roles cluster_manager name
10.204.200.13 50 97 0 0.03 0.01 0.00 dimr cluster_manager,data,ingest,remote_cluster_client * ip-10-204-200-13

4. How can the community help?

Please help me and advise how to resolve this error for the node -

2024-10-09T21:39:30.904Z WARN [ProxiedResource] Failed to call API on node <89ab857b-f5b7-43ad-8fe9-40481bd96729>, cause: api (duration: 0 ms)
2024-10-09T21:40:30.875Z WARN [ProxiedResource] Failed to call API on node <89ab857b-f5b7-43ad-8fe9-40481bd96729>, cause: api: Temporary failure in name resolution (duration: 2 ms)
2024-10-09T21:40:30.881Z WARN [ProxiedResource] Failed to call API on node <89ab857b-f5b7-43ad-8fe9-40481bd96729>, cause: api (duration: 0 ms)

Helpful Posting Tips: Tips for Posting Questions that Get Answers [Hold down CTRL and link on link to open tips documents in a separate tab]

@harishpal2090 The problem is not with Graylog contacting the Opensearch node but with Gryalog contacting itself or other Graylog nodes within the cluster. This part of the error “Temporary failure in name resolution” suggest a DNS issue.

Review the below options within your server.conf

http_bind_address = 192.168.69.3:9000

http_publish_uri = http://192.168.69.3:9000/

hey Fixed this issue - But now i have another one - my aws inupt is via te sqs and sns as documnetaion describe but i see no messages in graylog or in the garylog server log -

2024-10-10T13:28:28.304Z INFO [InputStateListener] Input [AWS CloudTrail/cloudtrail/6707ce45ccd56f3e900acc3b] is now STOPPED
2024-10-10T13:28:28.304Z INFO [InputStateListener] Input [AWS CloudTrail/cloudtrail/6707ce45ccd56f3e900acc3b] is now TERMINATED
2024-10-10T17:32:38.265Z INFO [CloudTrailTransport] Starting cloud trail subscriber
2024-10-10T17:32:38.266Z INFO [InputStateListener] Input [AWS CloudTrail/cloudtrail/6707ce45ccd56f3e900acc3b] is now STARTING
2024-10-10T17:32:38.268Z INFO [InputStateListener] Input [AWS CloudTrail/cloudtrail/6707ce45ccd56f3e900acc3b] is now RUNNING

i am runing -
root@ip-10-204-200-13:~# tail -f /var/log/graylog-server/server.log
2024-10-10T12:55:16.591Z INFO [CloudTrailTransport] Starting cloud trail subscriber
2024-10-10T12:55:16.592Z INFO [InputStateListener] Input [AWS CloudTrail/cloudtrail/6707ce45ccd56f3e900acc3b] is now STARTING
2024-10-10T12:55:16.594Z INFO [InputStateListener] Input [AWS CloudTrail/cloudtrail/6707ce45ccd56f3e900acc3b] is now RUNNING
2024-10-10T13:28:28.301Z INFO [CloudTrailTransport] Stopping cloud trail subscriber
2024-10-10T13:28:28.303Z INFO [InputStateListener] Input [AWS CloudTrail/cloudtrail/6707ce45ccd56f3e900acc3b] is now STOPPING
2024-10-10T13:28:28.304Z INFO [InputStateListener] Input [AWS CloudTrail/cloudtrail/6707ce45ccd56f3e900acc3b] is now STOPPED
2024-10-10T13:28:28.304Z INFO [InputStateListener] Input [AWS CloudTrail/cloudtrail/6707ce45ccd56f3e900acc3b] is now TERMINATED
2024-10-10T17:32:38.265Z INFO [CloudTrailTransport] Starting cloud trail subscriber
2024-10-10T17:32:38.266Z INFO [InputStateListener] Input [AWS CloudTrail/cloudtrail/6707ce45ccd56f3e900acc3b] is now STARTING
2024-10-10T17:32:38.268Z INFO [InputStateListener] Input [AWS CloudTrail/cloudtrail/6707ce45ccd56f3e900acc3b] is now RUNNING