java.net.UnknownHostException: BW5524: BW5524

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

When kafka creates new consumers, it simply concatenate the name of your VM to generate the consumer id. So, your VM resolves localhost as the name of your VM, not whatever you had set. To solve, add kafka(or the name of VM) plus address to /etc/hosts

Solutions on the web

via Coderanch by Douglas Kent, 1 year ago
via Oracle Community by 843833, 1 year ago
java.net.UnknownHostException: BW5524: BW5524
at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
at org.apache.axis.utils.SessionUtils.getEntropy(SessionUtils.java:214)

Users with the same issue

5 times, 4 months ago
2 times, 5 months ago
2 times, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.