sonian / elasticsearch-jetty

Apache License 2.0
284 stars 79 forks source link

jetty response not sent header #53

Open ahmedalawady opened 10 years ago

ahmedalawady commented 10 years ago

I already install the jetty 1.1.1-beta version, because i want the Authentication function, and put the line "http.type: com.sonian.elasticsearch.http.jetty.JettyHttpServerTransportModule" in my "elasticsearch.yml" but when i run the command curl -I "http://localhost:9200/" i don't get this response:

HTTP/1.1 200 OK Content-Type: text/plain;charset=UTF-8 Access-Control-Allow-Origin: * Content-Length: 0 Server: Jetty(8.1.4.v20120524)

instead of that im getting this one:

HTTP/1.1 200 OK Content-Type: text/plain; charset=UTF-8 Content-Length: 0

without the server: jetty response @hiredman

hiredman commented 10 years ago

how did you install the plugin?

ahmedalawady commented 10 years ago

I use this command :

$ bin/plugin -url https://oss-es-plugins.s3.amazonaws.com/elasticsearch-jetty/elasticsearch-jetty-1.1.1-beta.zip -install elasticsearch-jetty-1.1.1-beta

And add this line in elasticsearch.yml :

http.type: com.sonian.elasticsearch.http.jetty.JettyHttpServerTransportModule

ahmedalawady commented 10 years ago

i use Ubuntu 12.04.4 LTS

pmusa commented 10 years ago

I think you should also add the other lines.

http.type: com.sonian.elasticsearch.http.jetty.JettyHttpServerTransportModule sonian.elasticsearch.http.jetty: config: jetty.xml

Enable DEBUG and take a look into the logs. See if ES is loading the plugin.

Regards, Pablo

2014-05-20 6:01 GMT-03:00 ahmed alawady notifications@github.com:

i use Ubuntu 12.04.4 LTS

— Reply to this email directly or view it on GitHubhttps://github.com/sonian/elasticsearch-jetty/issues/53#issuecomment-43601895 .

ahmedalawady commented 10 years ago

@pmusa plugin didn't load

pmusa commented 10 years ago

The other plugins are loading?

Try a previous version of jetty, which is not beta!!

2014-05-20 13:03 GMT-03:00 ahmed alawady notifications@github.com:

@pmusa https://github.com/pmusa plugin didn't load

— Reply to this email directly or view it on GitHubhttps://github.com/sonian/elasticsearch-jetty/issues/53#issuecomment-43646174 .

asennoussi commented 10 years ago

Did you solve this issue ? Please inform us