java.io.IOException: Failed to open native connection to Cassandra at {172.x.x.x}:9042

Stack Overflow | Hemalatha | 4 months ago
  1. 0

    Cannot connect java client to cassandra with password authentication enabled

    Stack Overflow | 11 months ago | Greg L.
    com.datastax.driver.core.exceptions.AuthenticationException: Authentication error on host localhost/127.0.0.1:9042: Username and/or password are incorrect
  2. 0

    Unable to authenticate to Cassandra from Spark using DataStax

    Stack Overflow | 7 months ago | Ben
    java.io.IOException: Failed to open native connection to Cassandra at {host1ip, host2ip}:9042
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Understanding play/scala error handling

    Stack Overflow | 1 year ago | konquestor
    java.lang.RuntimeException: java.lang.ExceptionInInitializerError
  5. 0

    First time startup fails with cassandra exceptions

    GitHub | 2 months ago | nsoft
    com.datastax.driver.core.exceptions.AuthenticationException: Authentication error on host /0:0:0:0:0:0:0:1%lo:9042: Username and/or password are incorrect

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.datastax.driver.core.exceptions.AuthenticationException

      Authentication error on host /172.x.x.x:9042: Username and/or password are incorrect

      at com.datastax.driver.core.Connection$8.apply()
    2. DataStax Java Driver for Apache Cassandra - Core
      Connection$8.apply
      1. com.datastax.driver.core.Connection$8.apply(Connection.java:376)
      2. com.datastax.driver.core.Connection$8.apply(Connection.java:346)
      2 frames
    3. shadeio.common.util
      AbstractFuture.set
      1. shadeio.common.util.concurrent.Futures$ChainingListenableFuture.run(Futures.java:861)
      2. shadeio.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:297)
      3. shadeio.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
      4. shadeio.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)
      5. shadeio.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)
      5 frames
    4. DataStax Java Driver for Apache Cassandra - Core
      Connection$Dispatcher.channelRead0
      1. com.datastax.driver.core.Connection$Future.onSet(Connection.java:1174)
      2. com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:1005)
      3. com.datastax.driver.core.Connection$Dispatcher.channelRead0(Connection.java:928)
      3 frames
    5. Netty
      SingleThreadEventExecutor$2.run
      1. io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
      2. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
      3. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
      4. io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
      5. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
      6. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
      7. io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
      8. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
      9. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
      10. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:244)
      11. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
      12. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
      13. io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1084)
      14. io.netty.handler.ssl.SslHandler.decode(SslHandler.java:959)
      15. io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:327)
      16. io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:230)
      17. io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
      18. io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
      19. io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
      20. io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:831)
      21. io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:346)
      22. io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:254)
      23. io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
      23 frames