Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jetty response not sent header #53

Open
ahmedalawady opened this issue May 14, 2014 · 7 comments
Open

jetty response not sent header #53

ahmedalawady opened this issue May 14, 2014 · 7 comments

Comments

@ahmedalawady
Copy link

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
Copy link
Contributor

how did you install the plugin?

@ahmedalawady
Copy link
Author

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
Copy link
Author

i use Ubuntu 12.04.4 LTS

@pmusa
Copy link

pmusa commented May 20, 2014

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 [email protected]:

i use Ubuntu 12.04.4 LTS


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

@ahmedalawady
Copy link
Author

@pmusa plugin didn't load

@pmusa
Copy link

pmusa commented May 20, 2014

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 [email protected]:

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


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

@asennoussi
Copy link

Did you solve this issue ?
Please inform us

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants