java.nio.channels.UnresolvedAddressException

JIRA | loukh | 5 years ago
  1. 0

    when i start a elasticsearch(not use the embedded), i hope logstash collect log and send es. es version:0.19.0 (if the es version is not consist with the version(0.18.0) logstash support) the es start log as jvm 1 | WrapperManager: Initializing... jvm 1 | [2012-04-17 23:17:23,980][INFO ][node ] [linux13] {0.19.2}[20651]: initializing ... jvm 1 | [2012-04-17 23:17:23,986][INFO ][plugins ] [linux13] loaded [], sites [head] jvm 1 | [2012-04-17 23:17:25,800][INFO ][node ] [linux13] {0.19.2}[20651]: initialized jvm 1 | [2012-04-17 23:17:25,800][INFO ][node ] [linux13] {0.19.2}[20651]: starting ... jvm 1 | [2012-04-17 23:17:25,861][INFO ][transport ] [linux13] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/10.10.12.13:9300]} jvm 1 | [2012-04-17 23:17:28,896][INFO ][cluster.service ] [linux13] new_master [linux13][nLoMa1Q8SIeemIU9x4GPkA][inet[/10.10.12.13:9300]], reason: zen-disco-join (elected_as_master) jvm 1 | [2012-04-17 23:17:28,934][INFO ][discovery ] [linux13] ailogtest/nLoMa1Q8SIeemIU9x4GPkA jvm 1 | [2012-04-17 23:17:28,945][INFO ][gateway ] [linux13] recovered [0] indices into cluster_state jvm 1 | [2012-04-17 23:17:28,945][INFO ][http ] [linux13] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/10.10.12.13:9200]} jvm 1 | [2012-04-17 23:17:28,946][INFO ][node ] [linux13] {0.19.2}[20651]: started jvm 1 | [2012-04-17 23:27:02,490][INFO ][cluster.metadata ] [linux13] [test] creating index, cause [api], shards [2]/[1], mappings [] and i start the logstash on the same machine, the config as output { elasticsearch { host => "linux13" cluster => "ailogtest" } } but start log as [2012-04-17T23:18:30.931] WARN: org.elasticsearch.transport.netty: [Cybele] Exception caught on netty layer [[id: 0x4336a26f]] java.nio.channels.UnresolvedAddressException at sun.nio.ch.Net.checkAddress(Net.java:30) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:480) at org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(NioClientSocketPipelineSink.java:150) at org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:113) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:574)

    JIRA | 5 years ago | loukh
    java.nio.channels.UnresolvedAddressException
  2. 0

    when i start a elasticsearch(not use the embedded), i hope logstash collect log and send es. es version:0.19.0 (if the es version is not consist with the version(0.18.0) logstash support) the es start log as jvm 1 | WrapperManager: Initializing... jvm 1 | [2012-04-17 23:17:23,980][INFO ][node ] [linux13] {0.19.2}[20651]: initializing ... jvm 1 | [2012-04-17 23:17:23,986][INFO ][plugins ] [linux13] loaded [], sites [head] jvm 1 | [2012-04-17 23:17:25,800][INFO ][node ] [linux13] {0.19.2}[20651]: initialized jvm 1 | [2012-04-17 23:17:25,800][INFO ][node ] [linux13] {0.19.2}[20651]: starting ... jvm 1 | [2012-04-17 23:17:25,861][INFO ][transport ] [linux13] bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address {inet[/10.10.12.13:9300]} jvm 1 | [2012-04-17 23:17:28,896][INFO ][cluster.service ] [linux13] new_master [linux13][nLoMa1Q8SIeemIU9x4GPkA][inet[/10.10.12.13:9300]], reason: zen-disco-join (elected_as_master) jvm 1 | [2012-04-17 23:17:28,934][INFO ][discovery ] [linux13] ailogtest/nLoMa1Q8SIeemIU9x4GPkA jvm 1 | [2012-04-17 23:17:28,945][INFO ][gateway ] [linux13] recovered [0] indices into cluster_state jvm 1 | [2012-04-17 23:17:28,945][INFO ][http ] [linux13] bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address {inet[/10.10.12.13:9200]} jvm 1 | [2012-04-17 23:17:28,946][INFO ][node ] [linux13] {0.19.2}[20651]: started jvm 1 | [2012-04-17 23:27:02,490][INFO ][cluster.metadata ] [linux13] [test] creating index, cause [api], shards [2]/[1], mappings [] and i start the logstash on the same machine, the config as output { elasticsearch { host => "linux13" cluster => "ailogtest" } } but start log as [2012-04-17T23:18:30.931] WARN: org.elasticsearch.transport.netty: [Cybele] Exception caught on netty layer [[id: 0x4336a26f]] java.nio.channels.UnresolvedAddressException at sun.nio.ch.Net.checkAddress(Net.java:30) at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:480) at org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(NioClientSocketPipelineSink.java:150) at org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:113) at org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:574)

    JIRA | 5 years ago | loukh
    java.nio.channels.UnresolvedAddressException
  3. 0

    Graylog2 - Startup fail. Address already in use

    Stack Overflow | 2 years ago | Manoj
    java.nio.channels.UnresolvedAddressException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoNodeAvailableException

    Google Groups | 5 years ago | Frank LaRosa
    java.nio.channels.UnresolvedAddressException
  6. 0

    File descriptor leak with UnresolvedAddressException

    Eclipse Bugzilla | 5 years ago | chris
    java.nio.channels.UnresolvedAddressException

  1. poroszd 2 times, last 2 months ago
  2. davidvanlaatum 2 times, last 3 months ago
  3. sriharshakiran 17 times, last 6 months ago
14 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. java.nio.channels.UnresolvedAddressException

    No message provided

    at sun.nio.ch.Net.checkAddress()
  2. Java RT
    SocketChannelImpl.connect
    1. sun.nio.ch.Net.checkAddress(Net.java:30)
    2. sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:480)
    2 frames
  3. ElasticSearch
    DefaultChannelPipeline.sendDownstream
    1. org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(NioClientSocketPipelineSink.java:150)
    2. org.elasticsearch.common.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:113)
    3. org.elasticsearch.common.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:574)
    3 frames