com.hazelcast.core.HazelcastException

tip

Check if you didn't set RequestProperty Content-Type to the wrong type or if you're trying to send the wrong file to the server.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • com.hazelcast.core.HazelcastException: java.io.IOException: Server returned HTTP response code: 401 for URL: https://ec2.us-west-2.amazonaws.com/?Action=DescribeInstances&Version=2014-06-15&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAJMMUY6M7L2N6ATPA%2F20160726%2Fus-west-2%2Fec2%2Faws4_request&X-Amz-Date=20160726T164014Z&X-Amz-Expires=30&X-Amz-Signature=f6d3afdc6ec7b32ba9e32cc7889bf5bdfbf415f1b0864781fa3eb3437796accd&X-Amz-SignedHeaders=host at com.hazelcast.util.ExceptionUtil.peel(ExceptionUtil.java:73) at com.hazelcast.util.ExceptionUtil.peel(ExceptionUtil.java:52) at com.hazelcast.util.ExceptionUtil.rethrow(ExceptionUtil.java:83) at com.hazelcast.cluster.impl.TcpIpJoinerOverAWS.getMembers(TcpIpJoinerOverAWS.java:57) at com.hazelcast.cluster.impl.TcpIpJoiner.getPossibleAddresses(TcpIpJoiner.java:399) at com.hazelcast.cluster.impl.TcpIpJoiner.joinViaPossibleMembers(TcpIpJoiner.java:126) at com.hazelcast.cluster.impl.TcpIpJoiner.doJoin(TcpIpJoiner.java:84) at com.hazelcast.cluster.impl.AbstractJoiner.join(AbstractJoiner.java:103) at com.hazelcast.instance.Node.join(Node.java:581) at com.hazelcast.instance.Node.start(Node.java:339) at com.hazelcast.instance.HazelcastInstanceImpl.<init>(HazelcastInstanceImpl.java:131) at com.hazelcast.instance.HazelcastInstanceFactory.constructHazelcastInstance(HazelcastInstanceFactory.java:160) at com.hazelcast.instance.HazelcastInstanceFactory.getOrCreateHazelcastInstance(HazelcastInstanceFactory.java:98) at com.hazelcast.core.Hazelcast.getOrCreateHazelcastInstance(Hazelcast.java:116) at com.cisco.helios.wifison.hazelcast.HazelcastCacheInstance.initializeHzConfigs(HazelcastCacheInstance.java:193) at com.cisco.helios.wifison.hazelcast.HazelcastCacheInstance.configure(HazelcastCacheInstance.java:119) at com.cisco.helios.wifison.cache.IqCache.initializeHazelcast(IqCache.java:434) at com.cisco.helios.wifison.cache.IqCache.<init>(IqCache.java:88) at com.cisco.helios.wifison.cache.IqCache.<init>(IqCache.java:59) at com.cisco.helios.wifison.cache.IqCache$SingleInstanceHolder.<clinit>(IqCache.java:78) at com.cisco.helios.wifison.cache.IqCache.getInstance(IqCache.java:101) at com.cisco.helios.wifison.cache.IqCacheFactory.getIqCache(IqCacheFactory.java:53) at com.cisco.helios.wifison.server.handlers.ReadWriteMessageHandler.<init>(ReadWriteMessageHandler.java:65) at com.cisco.helios.wifison.server.ReadWriteServerInitializer.initChannel(ReadWriteServerInitializer.java:119) at com.cisco.helios.wifison.server.ReadWriteServerInitializer.initChannel(ReadWriteServerInitializer.java:48) at io.netty.channel.ChannelInitializer.channelRegistered(ChannelInitializer.java:68) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:158) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:144) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRegistered(AbstractChannelHandlerContext.java:137) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRegistered(DefaultChannelPipeline.java:1307) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:158) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRegistered(AbstractChannelHandlerContext.java:144) at io.netty.channel.DefaultChannelPipeline.fireChannelRegistered(DefaultChannelPipeline.java:820) at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:509) at io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:419) at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:478) at io.netty.util.concurrent.SingleThreadEventExecutor.safeExecute(SingleThreadEventExecutor.java:451) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:418) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:401) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:877) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.IOException: Server returned HTTP response code: 401 for URL: https://ec2.us-west-2.amazonaws.com/?Action=DescribeInstances&Version=2014-06-15&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAJMMUY6M7L2N6ATPA%2F20160726%2Fus-west-2%2Fec2%2Faws4_request&X-Amz-Date=20160726T164014Z&X-Amz-Expires=30&X-Amz-Signature=f6d3afdc6ec7b32ba9e32cc7889bf5bdfbf415f1b0864781fa3eb3437796accd&X-Amz-SignedHeaders=host at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) at com.hazelcast.aws.impl.DescribeInstances.callService(DescribeInstances.java:159) at com.hazelcast.aws.impl.DescribeInstances.execute(DescribeInstances.java:144) at com.hazelcast.aws.AWSClient.getPrivateIpAddresses(AWSClient.java:53) at com.hazelcast.cluster.impl.TcpIpJoinerOverAWS.getMembers(TcpIpJoinerOverAWS.java:42)

Users with the same issue

Unknown visitor
Unknown visitor1 times, last one,
tfrtfr
35 times, last one,
davidvanlaatumdavidvanlaatum
1 times, last one,
pnaranjapnaranja
3 times, last one,
Unknown visitor
Unknown visitor1 times, last one,
90 more bugmates