At discovery time the healthy nodes are found however the host (service.getServiceAddress()) is missing. This seems to be causing the registration to fail.
I am running the master branch of this repo and Consul v0.7.5.
Problem area seems to be here. Note that port 5701 shows up but there is no host which results in a null a little later:
Mar 24, 2017 4:25:55 AM com.hazelcast.spi.discovery.integration.DiscoveryService
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Discovered healthy node: :5701
Mar 24, 2017 4:25:55 AM com.hazelcast.spi.discovery.integration.DiscoveryService
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Discovered healthy node: :5701
...
WARNING: [10.250.130.160]:5701 [dev] [3.6.7] Wrong bind request from Address[10.250.130.160]:5701! This node is not requested endpoint: Address[null]:5701
Mar 24, 2017 4:25:55 AM com.hazelcast.nio.tcp.TcpIpConnection
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Mar 24, 2017 4:30:08 AM com.hazelcast.config.XmlConfigLocator
INFO: Loading configuration /opt/idam/orchis-sessionstore/bin/hazelcast.xml from System property 'hazelcast.config'
Mar 24, 2017 4:30:08 AM com.hazelcast.config.XmlConfigLocator
INFO: Using configuration file at /opt/idam/orchis-sessionstore/bin/hazelcast.xml
Mar 24, 2017 4:30:09 AM com.hazelcast.instance.DefaultAddressPicker
INFO: [LOCAL] [dev] [3.6.7] Prefer IPv4 stack is true.
Mar 24, 2017 4:30:10 AM com.hazelcast.instance.DefaultAddressPicker
INFO: [LOCAL] [dev] [3.6.7] Picked Address[10.250.130.160]:5701, using socket ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=5701], bind any local is true
Mar 24, 2017 4:30:10 AM com.hazelcast.system
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Hazelcast 3.6.7 (20161208 - 3eec5a1) starting at Address[10.250.130.160]:5701
Mar 24, 2017 4:30:10 AM com.hazelcast.system
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved.
Mar 24, 2017 4:30:10 AM com.hazelcast.system
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Configured Hazelcast Serialization version : 1
Mar 24, 2017 4:30:10 AM com.hazelcast.spi.OperationService
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Backpressure is disabled
Mar 24, 2017 4:30:10 AM com.hazelcast.spi.impl.operationexecutor.classic.ClassicOperationExecutor
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Starting with 2 generic operation threads and 2 partition operation threads.
Mar 24, 2017 4:30:11 AM com.hazelcast.spi.discovery.integration.DiscoveryService
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Using ConsulRegistrator: org.bitsofinfo.hazelcast.discovery.consul.DoNothingRegistrator
Mar 24, 2017 4:30:13 AM com.hazelcast.spi.discovery.integration.DiscoveryService
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Registered our service instance w/ Consul OK.. delaying Hazelcast discovery, sleeping: 10000ms
Mar 24, 2017 4:30:23 AM com.hazelcast.instance.Node
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Activating Discovery SPI Joiner
Mar 24, 2017 4:30:23 AM com.hazelcast.core.LifecycleService
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Address[10.250.130.160]:5701 is STARTING
Mar 24, 2017 4:30:23 AM com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThreadingModel
INFO: [10.250.130.160]:5701 [dev] [3.6.7] TcpIpConnectionManager configured with Non Blocking IO-threading model: 3 input threads and 3 output threads
Mar 24, 2017 4:30:24 AM com.hazelcast.spi.discovery.integration.DiscoveryService
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Discovered healthy node: :5701
Mar 24, 2017 4:30:24 AM com.hazelcast.spi.discovery.integration.DiscoveryService
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Discovered healthy node: :5701
Mar 24, 2017 4:30:24 AM com.hazelcast.nio.tcp.InitConnectionTask
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Connecting to localhost/127.0.0.1:5701, timeout: 0, bind-any: true
Mar 24, 2017 4:30:24 AM com.hazelcast.nio.tcp.SocketAcceptorThread
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Accepting socket connection from /127.0.0.1:51051
Mar 24, 2017 4:30:24 AM com.hazelcast.nio.tcp.TcpIpConnectionManager
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Established socket connection between /127.0.0.1:51051 and localhost/127.0.0.1:5701
Mar 24, 2017 4:30:24 AM com.hazelcast.nio.tcp.TcpIpConnectionManager
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Established socket connection between /127.0.0.1:5701 and /127.0.0.1:51051
Mar 24, 2017 4:30:24 AM com.hazelcast.nio.tcp.TcpIpConnectionManager
WARNING: [10.250.130.160]:5701 [dev] [3.6.7] Wrong bind request from Address[10.250.130.160]:5701! This node is not requested endpoint: Address[null]:5701
Mar 24, 2017 4:30:24 AM com.hazelcast.nio.tcp.TcpIpConnection
NFO: [10.250.130.160]:5701 [dev] [3.6.7] Connection [/127.0.0.1:51051] lost. Reason: Socket explicitly closed
Mar 24, 2017 4:30:24 AM com.hazelcast.nio.tcp.nonblocking.NonBlockingSocketWriter
WARNING: [10.250.130.160]:5701 [dev] [3.6.7] hz._hzInstance_1_dev.IO.thread-out-1 Closing socket to endpoint Address[]:5701, Cause:java.nio.channels.CancelledKeyException
java.nio.channels.CancelledKeyException
at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:73)
at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:77)
at com.hazelcast.nio.tcp.nonblocking.AbstractHandler.unregisterOp(AbstractHandler.java:74)
at com.hazelcast.nio.tcp.nonblocking.NonBlockingSocketWriter.unschedule(NonBlockingSocketWriter.java:295)
at com.hazelcast.nio.tcp.nonblocking.NonBlockingSocketWriter.handle(NonBlockingSocketWriter.java:344)
at com.hazelcast.nio.tcp.nonblocking.NonBlockingSocketWriter.run(NonBlockingSocketWriter.java:423)
at com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.executeTask(NonBlockingIOThread.java:293)
at com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.processTaskQueue(NonBlockingIOThread.java:286)
at com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.selectLoop(NonBlockingIOThread.java:230)
at com.hazelcast.nio.tcp.nonblocking.NonBlockingIOThread.run(NonBlockingIOThread.java:187)
Mar 24, 2017 4:30:24 AM com.hazelcast.nio.tcp.TcpIpConnection
INFO: [10.250.130.160]:5701 [dev] [3.6.7] Connection [Address[]:5701] lost. Reason: java.io.EOFException[Remote socket closed!]
Mar 24, 2017 4:30:24 AM com.hazelcast.nio.tcp.nonblocking.NonBlockingSocketReader
WARNING: [10.250.130.160]:5701 [dev] [3.6.7] hz._hzInstance_1_dev.IO.thread-in-1 Closing socket to endpoint Address[]:5701, Cause:java.io.EOFException: Remote socket closed!