Failed input creation: Input MisfireException UknownHostException


(Tulara) #1

hey there,

I’m thinking this is a misconfiguration on my part but I’m not sure how to resolve it.
I’m trying to launch a GELFKafkaInput but am seeing the following exception in /var/log/graylog-server/server.log:

2018-08-22T04:38:43.796Z ERROR [InputLauncher] The [org.graylog2.inputs.gelf.kafka.GELFKafkaInput] input with ID <5b7ce8d3297f2e3ec372237a> misfired. Reason: Unknown host ‘ip-10-71-9-106: Name or service not known’.
org.graylog2.plugin.inputs.MisfireException: java.net.UnknownHostException: ip-10-71-9-106: ip-10-71-9-106: Name or service not known

Looking at my nodes, it looks like the hostname wasn’t resolved:

image

I’m not sure where it’s getting confused.

image

Any help would be appreciated! thanks.


(Jan Doberstein) #2

does the system return a hostname when ask for it?

It looks like the given hostname it nor resolvable for the host itself. That is the reason for the error - I guess.


(Tulara) #3

yeah i mean the ec2 host knows it’s hostname:
image

and the rest address is correct in graylog web (though I’m guessing that comes from the server.conf)


(Tulara) #4

ahh right. I needed to add the hostname to /etc/hosts.

image

working now :slight_smile:


(system) #5

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.