ES 1.4.2 behind httpd 2.2 proxypass

Hi,

I'm trying to protect an ES 1.4.2 install. For this I have a httpd 2.2,
which redirects everything to ssl, does ldap auth and has the following
proxypass:
ProxyPass /elasticsearch http://127.0.0.1:9200/
ProxyPassReverse /elasticsearch http://127.0.0.1:9200/

In this configuration:
kibana works
http://host:9200/_plugin/head/ works
https://host/elasticsearch returns the node info

but

https://host/elasticsearch/_plugin/head returns
{"error":"ElasticsearchIllegalArgumentException[No feature for name
[head]]","status":400}
In ssl_error_log I have End of file found: SSL input filter read failed.

Could you tell me what am I doing wrong, or where could I start debugging
this?

Thanks.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/9fd31305-07bd-4346-a2c9-359bf2e26411%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Take care of pruning the URI path '/elasticsearch/' and do not forget to
add trailing slashes, so

https://host/elasticsearch/_plugin/head/

is proxied to

http://host:9200/_plugin/head/

Jörg

On Wed, Jan 28, 2015 at 1:21 PM, Andrei Staicu andrei.staicu@gmail.com
wrote:

Hi,

I'm trying to protect an ES 1.4.2 install. For this I have a httpd 2.2,
which redirects everything to ssl, does ldap auth and has the following
proxypass:
ProxyPass /elasticsearch http://127.0.0.1:9200/
ProxyPassReverse /elasticsearch http://127.0.0.1:9200/

In this configuration:
kibana works
http://host:9200/_plugin/head/ works
https://host/elasticsearch returns the node info

but

https://host/elasticsearch/_plugin/head returns
{"error":"ElasticsearchIllegalArgumentException[No feature for name
[head]]","status":400}
In ssl_error_log I have End of file found: SSL input filter read failed.

Could you tell me what am I doing wrong, or where could I start debugging
this?

Thanks.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9fd31305-07bd-4346-a2c9-359bf2e26411%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9fd31305-07bd-4346-a2c9-359bf2e26411%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoF%2Bh5CMQc9u_2RHdfEgqR8mSjvdqc%3DiJy_QMzg0k4qT7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Thanks,

It seems to work with
ProxyPass /elasticsearch/ http://127.0.0.1:9200/
ProxyPassReverse /elasticsearch/ http://127.0.0.1:9200/

On Wednesday, January 28, 2015 at 2:34:58 PM UTC+2, Jörg Prante wrote:

Take care of pruning the URI path '/elasticsearch/' and do not forget to
add trailing slashes, so

https://host/elasticsearch/_plugin/head/

is proxied to

http://host:9200/_plugin/head/

Jörg

On Wed, Jan 28, 2015 at 1:21 PM, Andrei Staicu <andrei...@gmail.com
<javascript:>> wrote:

Hi,

I'm trying to protect an ES 1.4.2 install. For this I have a httpd 2.2,
which redirects everything to ssl, does ldap auth and has the following
proxypass:
ProxyPass /elasticsearch http://127.0.0.1:9200/
ProxyPassReverse /elasticsearch http://127.0.0.1:9200/

In this configuration:
kibana works
http://host:9200/_plugin/head/ works
https://host/elasticsearch returns the node info

but

https://host/elasticsearch/_plugin/head returns
{"error":"ElasticsearchIllegalArgumentException[No feature for name
[head]]","status":400}
In ssl_error_log I have End of file found: SSL input filter read failed.

Could you tell me what am I doing wrong, or where could I start debugging
this?

Thanks.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9fd31305-07bd-4346-a2c9-359bf2e26411%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/9fd31305-07bd-4346-a2c9-359bf2e26411%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ebaf3417-e7e0-4a81-9d4d-79434804e9ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.