java.net.UnknownHostException: zk-1.zk: unknown error

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

This is a bug that happens in Slide in versions 4.2.0 and before. Update to 4.2.2 or further to fix it.

Solutions on the web

via GitHub by jdef
, 1 year ago
zk-1.zk: unknown error
via Stack Overflow by KajMagnus
, 2 years ago
dbltest.com.dbl.spamhaus.org: unknown error
via GitHub by tomasbjerre
, 10 months ago
local_sercer: unknown error
via Coderanch by Mandar Khire, 1 year ago
time-a.nist.gov: unknown error
via GitHub by hmnasr
, 11 months ago
go.urbanairship.com: unknown error
java.net.UnknownHostException: zk-1.zk: unknown error
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
at java.net.InetAddress.getAllByName0(InetAddress.java:1276)
at java.net.InetAddress.getAllByName(InetAddress.java:1192)
at java.net.InetAddress.getAllByName(InetAddress.java:1126)
at org.apache.zookeeper.client.StaticHostProvider.resolveAndShuffle(StaticHostProvider.java:116)
at org.apache.zookeeper.client.StaticHostProvider.(StaticHostProvider.java:77)
at org.apache.zookeeper.ZooKeeper.(ZooKeeper.java:718)

Users with the same issue

2 times, 1 year ago
Once, 1 year ago
37 times, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
151 more bugmates

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