Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.orbitz.consul.ConsulException: Error pinging Consul: Forbidden #26

Open
bitsofinfo opened this issue Dec 12, 2017 · 0 comments
Open

Comments

@bitsofinfo
Copy link
Owner

Unit as of RC7 tests go against consul 0.7.5, with latest consul the following occurs

SEVERE: [169.254.222.176]:5701 [hazelcast-consul-discovery-spi] [3.7.8] Unexpected error in configuring discovery: Error connecting to Consul
com.orbitz.consul.ConsulException: Error connecting to Consul
	at com.orbitz.consul.AgentClient.ping(AgentClient.java:65)
	at com.orbitz.consul.Consul$Builder.build(Consul.java:533)
	at org.bitsofinfo.hazelcast.discovery.consul.ConsulClientBuilder.buildConsul(ConsulClientBuilder.java:71)
	at org.bitsofinfo.hazelcast.discovery.consul.ConsulDiscoveryStrategy.<init>(ConsulDiscoveryStrategy.java:146)
	at org.bitsofinfo.hazelcast.discovery.consul.ConsulDiscoveryStrategyFactory.newDiscoveryStrategy(ConsulDiscoveryStrategyFactory.java:46)
	at com.hazelcast.spi.discovery.impl.DefaultDiscoveryService.buildDiscoveryStrategy(DefaultDiscoveryService.java:217)
	at com.hazelcast.spi.discovery.impl.DefaultDiscoveryService.loadDiscoveryStrategies(DefaultDiscoveryService.java:158)
	at com.hazelcast.spi.discovery.impl.DefaultDiscoveryService.<init>(DefaultDiscoveryService.java:60)
	at com.hazelcast.spi.discovery.impl.DefaultDiscoveryServiceProvider.newDiscoveryService(DefaultDiscoveryServiceProvider.java:29)
	at com.hazelcast.instance.Node.createDiscoveryService(Node.java:226)
	at com.hazelcast.instance.Node.<init>(Node.java:193)
	at com.hazelcast.instance.HazelcastInstanceImpl.createNode(HazelcastInstanceImpl.java:153)
	at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:125)
	at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:218)
	at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:176)
	at com.hazelcast.instance.HazelcastInstanceFactory.newHazelcastInstance(HazelcastInstanceFactory.java:126)
	at com.hazelcast.core.Hazelcast.newHazelcastInstance(Hazelcast.java:58)
	at org.bitsofinfo.hazelcast.discovery.consul.ManualRunner.main(ManualRunner.java:21)
Caused by: com.orbitz.consul.ConsulException: Error pinging Consul: Forbidden
	at com.orbitz.consul.AgentClient.ping(AgentClient.java:61)
	... 17 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant