exception - ElasticSearch 0.90.2 StreamCorruptedException on asking port 9300 -
i've unpacked elasticsearch-0.90.2.zip on windows xp, , started bin/elasticsearch.bat.
i've set java_home c:\program files\java\jre7, problem @ first run.
i'm trying connect google chrome 27.0.1453.116.
according elasticsearch.yml, "elasticsearch, default, binds 0.0.0.0 address", 0.0.0.0:9200 responds 108 (net::err_address_invalid).
localhost:9200 or 127.0.0.1:9200 responds correctly: { "ok" : true, etc.
localhost:9300 responds 324 (net::err_empty_response), , displays streamcorruptedexception in console window:
[2013-07-25 10:42:30,419][warn ][transport.netty ] [happy birthday] exc eption caught on transport layer [[id: 0x478ae9b7, /127.0.0.1:1627 => /127.0.0.1 :9300]], closing connection java.io.streamcorruptedexception: invalid internal transport message format @ org.elasticsearch.transport.netty.sizeheaderframedecoder.decode(sizeh eaderframedecoder.java:27) @ org.elasticsearch.common.netty.handler.codec.frame.framedecoder.calld ecode(framedecoder.java:425) @ org.elasticsearch.common.netty.handler.codec.frame.framedecoder.messa gereceived(framedecoder.java:303) @ org.elasticsearch.common.netty.channel.simplechannelupstreamhandler.h andleupstream(simplechannelupstreamhandler.java:70) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.sendups tream(defaultchannelpipeline.java:564) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline$default channelhandlercontext.sendupstream(defaultchannelpipeline.java:791) @ org.elasticsearch.common.netty.openchannelshandler.handleupstream(ope nchannelshandler.java:74) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.sendups tream(defaultchannelpipeline.java:564) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.sendups tream(defaultchannelpipeline.java:559) @ org.elasticsearch.common.netty.channel.channels.firemessagereceived(c hannels.java:268) @ org.elasticsearch.common.netty.channel.channels.firemessagereceived(c hannels.java:255) @ org.elasticsearch.common.netty.channel.socket.nio.nioworker.read(niow orker.java:88) @ org.elasticsearch.common.netty.channel.socket.nio.abstractnioworker.p rocess(abstractnioworker.java:109) @ org.elasticsearch.common.netty.channel.socket.nio.abstractnioselector .run(abstractnioselector.java:312) @ org.elasticsearch.common.netty.channel.socket.nio.abstractnioworker.r un(abstractnioworker.java:90) @ org.elasticsearch.common.netty.channel.socket.nio.nioworker.run(niowo rker.java:178) @ org.elasticsearch.common.netty.util.threadrenamingrunnable.run(thread renamingrunnable.java:108) @ org.elasticsearch.common.netty.util.internal.deadlockproofworker$1.ru n(deadlockproofworker.java:42) @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) @ java.lang.thread.run(unknown source) [2013-07-25 10:42:30,435][warn ][transport.netty ] [happy birthday] exc eption caught on transport layer [[id: 0x478ae9b7, /127.0.0.1:1627 :> /127.0.0.1 :9300]], closing connection java.io.streamcorruptedexception: invalid internal transport message format @ org.elasticsearch.transport.netty.sizeheaderframedecoder.decode(sizeh eaderframedecoder.java:27) @ org.elasticsearch.common.netty.handler.codec.frame.framedecoder.calld ecode(framedecoder.java:425) @ org.elasticsearch.common.netty.handler.codec.frame.framedecoder.clean up(framedecoder.java:482) @ org.elasticsearch.common.netty.handler.codec.frame.framedecoder.chann eldisconnected(framedecoder.java:365) @ org.elasticsearch.common.netty.channel.simplechannelupstreamhandler.h andleupstream(simplechannelupstreamhandler.java:102) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.sendups tream(defaultchannelpipeline.java:564) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline$default channelhandlercontext.sendupstream(defaultchannelpipeline.java:791) @ org.elasticsearch.common.netty.openchannelshandler.handleupstream(ope nchannelshandler.java:74) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.sendups tream(defaultchannelpipeline.java:564) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.sendups tream(defaultchannelpipeline.java:559) @ org.elasticsearch.common.netty.channel.channels.firechanneldisconnect ed(channels.java:396) @ org.elasticsearch.common.netty.channel.socket.nio.abstractnioworker.c lose(abstractnioworker.java:361) @ org.elasticsearch.common.netty.channel.socket.nio.nioserversocketpipe linesink.handleacceptedsocket(nioserversocketpipelinesink.java:81) @ org.elasticsearch.common.netty.channel.socket.nio.nioserversocketpipe linesink.eventsunk(nioserversocketpipelinesink.java:36) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.senddow nstream(defaultchannelpipeline.java:574) @ org.elasticsearch.common.netty.channel.channels.close(channels.java:8 12) @ org.elasticsearch.common.netty.channel.abstractchannel.close(abstract channel.java:197) @ org.elasticsearch.transport.netty.nettytransport.exceptioncaught(nett ytransport.java:505) @ org.elasticsearch.transport.netty.messagechannelhandler.exceptioncaug ht(messagechannelhandler.java:224) @ org.elasticsearch.common.netty.channel.simplechannelupstreamhandler.h andleupstream(simplechannelupstreamhandler.java:112) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.sendups tream(defaultchannelpipeline.java:564) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline$default channelhandlercontext.sendupstream(defaultchannelpipeline.java:791) @ org.elasticsearch.common.netty.handler.codec.frame.framedecoder.excep tioncaught(framedecoder.java:377) @ org.elasticsearch.common.netty.channel.simplechannelupstreamhandler.h andleupstream(simplechannelupstreamhandler.java:112) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.sendups tream(defaultchannelpipeline.java:564) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline$default channelhandlercontext.sendupstream(defaultchannelpipeline.java:791) @ org.elasticsearch.common.netty.openchannelshandler.handleupstream(ope nchannelshandler.java:74) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.sendups tream(defaultchannelpipeline.java:564) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.sendups tream(defaultchannelpipeline.java:559) @ org.elasticsearch.common.netty.channel.channels.fireexceptioncaught(c hannels.java:525) @ org.elasticsearch.common.netty.channel.abstractchannelsink.exceptionc aught(abstractchannelsink.java:48) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.notifyh andlerexception(defaultchannelpipeline.java:658) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.sendups tream(defaultchannelpipeline.java:566) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline$default channelhandlercontext.sendupstream(defaultchannelpipeline.java:791) @ org.elasticsearch.common.netty.openchannelshandler.handleupstream(ope nchannelshandler.java:74) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.sendups tream(defaultchannelpipeline.java:564) @ org.elasticsearch.common.netty.channel.defaultchannelpipeline.sendups tream(defaultchannelpipeline.java:559) @ org.elasticsearch.common.netty.channel.channels.firemessagereceived(c hannels.java:268) @ org.elasticsearch.common.netty.channel.channels.firemessagereceived(c hannels.java:255) @ org.elasticsearch.common.netty.channel.socket.nio.nioworker.read(niow orker.java:88) @ org.elasticsearch.common.netty.channel.socket.nio.abstractnioworker.p rocess(abstractnioworker.java:109) @ org.elasticsearch.common.netty.channel.socket.nio.abstractnioselector .run(abstractnioselector.java:312) @ org.elasticsearch.common.netty.channel.socket.nio.abstractnioworker.r un(abstractnioworker.java:90) @ org.elasticsearch.common.netty.channel.socket.nio.nioworker.run(niowo rker.java:178) @ org.elasticsearch.common.netty.util.threadrenamingrunnable.run(thread renamingrunnable.java:108) @ org.elasticsearch.common.netty.util.internal.deadlockproofworker$1.ru n(deadlockproofworker.java:42) @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) @ java.lang.thread.run(unknown source)
i've read similar situations, there no other node running, no networking, nothing uses port, first standalone elasticsearch engine on local machine default configuration.
i can't imagine should there on port 1627 - perhaps clue. wrong - or solution?
nothing corrupted. 9300 port used inter-node communication , uses internal binary protocol, can't use browser. in order use 9300 port have use java api, either node client or transport client, both understand internal binary protocol.
from browser should use 9200 port, 1 exposes rest api.
Comments
Post a Comment