You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WHOIS data adapter should only report 1 error per lookup attempt.
Current Behavior
WHOIS lookups can be redirected many times which the data adapter handles with recursive calls to its run() method. When a lookup attempts results in an IOException (generally due to a timeout), that exception is logged and re-thrown. This means that the exception will be logged for each WHOIS server in the chain of redirects as it works its way back up the call stack.
Expected Behavior
The WHOIS data adapter should only report 1 error per lookup attempt.
Current Behavior
WHOIS lookups can be redirected many times which the data adapter handles with recursive calls to its
run()
method. When a lookup attempts results in an IOException (generally due to a timeout), that exception is logged and re-thrown. This means that the exception will be logged for each WHOIS server in the chain of redirects as it works its way back up the call stack.Possible Solution
Do not re-throw IOExceptions here:
graylog2-server/graylog2-server/src/main/java/org/graylog/plugins/threatintel/whois/ip/WhoisIpLookup.java
Lines 129 to 131 in 5109d4b
The text was updated successfully, but these errors were encountered: