java.net.UnknownHostException: #{environment['elasticjob.zookeeper.regCenter']}: 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 yygymmmmsee
, 1 year ago
#{environment['elasticjob.zookeeper.regCenter']}: unknown error
via GitHub by fmarchand
, 1 year ago
master.mesos: unknown error
via Stack Overflow by KajMagnus
, 2 years ago
dbltest.com.dbl.spamhaus.org: unknown error
via GitHub by tomasbjerre
, 1 year ago
local_sercer: unknown error
via JDK Bug System by Webbug Group, 1 year ago
doesnotexist.example.com: unknown error
java.net.UnknownHostException: #{environment['elasticjob.zookeeper.regCenter']}: 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.(StaticHostProvider.java:61)
at org.apache.zookeeper.ZooKeeper.(ZooKeeper.java:445)
at org.apache.curator.HandleHolder$1.getZooKeeper(HandleHolder.java:94)
at org.apache.curator.HandleHolder.getZooKeeper(HandleHolder.java:55)
at org.apache.curator.ConnectionState.reset(ConnectionState.java:218)
at org.apache.curator.ConnectionState.start(ConnectionState.java:103)
at org.apache.curator.CuratorZookeeperClient.start(CuratorZookeeperClient.java:190)
at com.dangdang.ddframe.reg.zookeeper.ZookeeperRegistryCenter.init(ZookeeperRegistryCenter.java:104)
at com.dangdang.ddframe.reg.spring.namespace.SpringZookeeperRegistryCenter.postProcessBeanFactory(SpringZookeeperRegistryCenter.java:78)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:284)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:181)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766)
at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180)
at cn.com.sina.alan.ea.EaElasticJobApp.main(EaElasticJobApp.java:16)

Users with the same issue

2 times, 2 weeks ago
2 times, 3 weeks ago
Once, 1 month ago
Once, 1 month ago

Write tip

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