TLS handshake timeout using 6.5.1 docker images


#1

Hi,

I have docker for windows and I am running 3 elastic containers and 1 kibana on version 6.5.1 and they are communicating well over TLS/SSL setup. I was able to browse dashboard and other features in Kibana but at some point I am getting TLS handshake timeout and the connection cannot recover anymore.

One use case I have is when I click the Infrastructure on the left menu (as per log below) and go further, communication will be disconnected. Any idea about this problem?

{"type":"response","@timestamp":"2018-12-05T09:13:18Z","tags":,"pid":1,"method":"get","statusCode":304,"req":{"url":"/plugins/apm/icon.svg","method":"get","headers":{"host":"kibana.local:5601","connection":"keep-alive","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36","accept":"image/webp,image/apng,image/,/*;q=0.8","referer":"https://kibana.local:5601/app/infra","accept-encoding":"gzip, deflate, br","accept-language":"en-US,en;q=0.9,es;q=0.8","if-none-match":""cdb6515bc1340e806d4f17cbeea6a51eb5f40732-gzip"","if-modified-since":"Fri, 16 Nov 2018 02:38:53 GMT"},"remoteAddress":"192.168.1.1","userAgent":"192.168.1.1","referer":"https://kibana.local:5601/app/infra"},"res":{"statusCode":304,"responseTime":2,"contentLength":9},"message":"GET /plugins/apm/icon.svg 304 2ms - 9.0B"}
{"type":"error","@timestamp":"2018-12-05T09:15:18Z","tags":["connection","client","error"],"pid":1,"level":"error","error":{"message":"TLS handshake timeout","name":"Error","stack":"Error: TLS handshake timeout\n at TLSSocket._handleTimeout (_tls_wrap.js:592:22)\n at Object.onceWrapper (events.js:313:30)\n at emitNone (events.js:106:13)\n at TLSSocket.emit (events.js:208:7)\n at TLSSocket.Socket._onTimeout (net.js:410:8)\n at ontimeout (timers.js:498:11)\n at tryOnTimeout (timers.js:323:5)\n at Timer.listOnTimeout (timers.js:290:5)"},"message":"TLS handshake timeout"}
{"type":"error","@timestamp":"2018-12-05T09:15:18Z","tags":["connection","client","error"],"pid":1,"level":"error","error":{"message":"TLS handshake timeout","name":"Error","stack":"Error: TLS handshake timeout\n at TLSSocket._handleTimeout (_tls_wrap.js:592:22)\n at Object.onceWrapper (events.js:313:30)\n at emitNone (events.js:106:13)\n at TLSSocket.emit (events.js:208:7)\n at TLSSocket.Socket._onTimeout (net.js:410:8)\n at ontimeout (timers.js:498:11)\n at tryOnTimeout (timers.js:323:5)\n at Timer.listOnTimeout (timers.js:290:5)"},"message":"TLS handshake timeout"}