Welcome! Log In Create A New Profile

Advanced

Elasticsearch Native Binary Protocol through NGiNX Stream

March 04, 2020 02:41AM
Hi,

I have tried to ask from Elasticsearch forums and googled everywhere, but with no help so I registered here.
I am using NGiNX to cover my Elasticsearch clusters and all the clients connect through them.

Everything else works fine to both the http and non-http traffic. The problem is the Liferay client using Elasticsearch Native Binary Protocol. Without NGiNX everything works right so NGiNX somehow does not understand this.

Using Elasticsearch 6.8.6
Nginx 1.15.9
Red Hat 7.7

nginx.conf
---clip----
stream {
include /etc/nginx/conf.d/elasticsearch_tcp.conf;
}

elasticsearch_tcp_conf
server {
proxy_buffer_size 16k;
listen 10.100.5.10:8090;
proxy_pass 10.20.1.10:9300;

Any ideas for what I could try please?
Subject Author Posted

Elasticsearch Native Binary Protocol through NGiNX Stream

galew March 04, 2020 02:41AM

Re: Elasticsearch Native Binary Protocol through NGiNX Stream

j94305 March 12, 2020 06:23PM

Re: Elasticsearch Native Binary Protocol through NGiNX Stream

galew March 13, 2020 03:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 67
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready