-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Downgrade ECONNRESET Error: socket hang up in logs to debug #22225
Comments
I am also having this issue. Happening on kibana nodes behind an AWS loadbalancer. It would be great if these errors could be suppressed |
We're looking into this. @bhansenmis you can terminate SSL at the LB to resolve this. With the upside of having centralized SSL management. |
@tylersmalley Thanks for the reply. I am currently terminating SSL at the load balancer with a company cert, and then we have self-signed certs between the load balancer and the kibana nodes. We didn't want to have unencrypted traffic between the lb and the kibana nodes. So with that setup, this issue still occurs. |
errno is not set for ECONNRESET https://github.com/hapijs/wreck/blob/29d8f4b5eaa12c5d44c642130cd6002c1d83ffd2/lib/index.js#L290 Closes elastic#22225 Example: { Error: socket hang up at TLSSocket.onSocketClose (_tls_wrap.js:761:23) at TLSSocket.emit (events.js:194:15) at _handle.close (net.js:600:12) at Socket.done (_tls_wrap.js:388:7) at Object.onceWrapper (events.js:277:13) at Socket.emit (events.js:189:13) at TCP._handle.close (net.js:600:12) code: 'ECONNRESET' Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
errno is not set for ECONNRESET https://github.com/hapijs/wreck/blob/29d8f4b5eaa12c5d44c642130cd6002c1d83ffd2/lib/index.js#L290 Closes #22225 Example: { Error: socket hang up at TLSSocket.onSocketClose (_tls_wrap.js:761:23) at TLSSocket.emit (events.js:194:15) at _handle.close (net.js:600:12) at Socket.done (_tls_wrap.js:388:7) at Object.onceWrapper (events.js:277:13) at Socket.emit (events.js:189:13) at TCP._handle.close (net.js:600:12) code: 'ECONNRESET' Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
errno is not set for ECONNRESET https://github.com/hapijs/wreck/blob/29d8f4b5eaa12c5d44c642130cd6002c1d83ffd2/lib/index.js#L290 Closes elastic#22225 Example: { Error: socket hang up at TLSSocket.onSocketClose (_tls_wrap.js:761:23) at TLSSocket.emit (events.js:194:15) at _handle.close (net.js:600:12) at Socket.done (_tls_wrap.js:388:7) at Object.onceWrapper (events.js:277:13) at Socket.emit (events.js:189:13) at TCP._handle.close (net.js:600:12) code: 'ECONNRESET' Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
errno is not set for ECONNRESET https://github.com/hapijs/wreck/blob/29d8f4b5eaa12c5d44c642130cd6002c1d83ffd2/lib/index.js#L290 Closes elastic#22225 Example: { Error: socket hang up at TLSSocket.onSocketClose (_tls_wrap.js:761:23) at TLSSocket.emit (events.js:194:15) at _handle.close (net.js:600:12) at Socket.done (_tls_wrap.js:388:7) at Object.onceWrapper (events.js:277:13) at Socket.emit (events.js:189:13) at TCP._handle.close (net.js:600:12) code: 'ECONNRESET' Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
errno is not set for ECONNRESET https://github.com/hapijs/wreck/blob/29d8f4b5eaa12c5d44c642130cd6002c1d83ffd2/lib/index.js#L290 Closes #22225 Example: { Error: socket hang up at TLSSocket.onSocketClose (_tls_wrap.js:761:23) at TLSSocket.emit (events.js:194:15) at _handle.close (net.js:600:12) at Socket.done (_tls_wrap.js:388:7) at Object.onceWrapper (events.js:277:13) at Socket.emit (events.js:189:13) at TCP._handle.close (net.js:600:12) code: 'ECONNRESET' Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
errno is not set for ECONNRESET https://github.com/hapijs/wreck/blob/29d8f4b5eaa12c5d44c642130cd6002c1d83ffd2/lib/index.js#L290 Closes #22225 Example: { Error: socket hang up at TLSSocket.onSocketClose (_tls_wrap.js:761:23) at TLSSocket.emit (events.js:194:15) at _handle.close (net.js:600:12) at Socket.done (_tls_wrap.js:388:7) at Object.onceWrapper (events.js:277:13) at Socket.emit (events.js:189:13) at TCP._handle.close (net.js:600:12) code: 'ECONNRESET' Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
errno is not set for ECONNRESET https://github.com/hapijs/wreck/blob/29d8f4b5eaa12c5d44c642130cd6002c1d83ffd2/lib/index.js#L290 Closes elastic#22225 Example: { Error: socket hang up at TLSSocket.onSocketClose (_tls_wrap.js:761:23) at TLSSocket.emit (events.js:194:15) at _handle.close (net.js:600:12) at Socket.done (_tls_wrap.js:388:7) at Object.onceWrapper (events.js:277:13) at Socket.emit (events.js:189:13) at TCP._handle.close (net.js:600:12) code: 'ECONNRESET' Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
errno is not set for ECONNRESET https://github.com/hapijs/wreck/blob/29d8f4b5eaa12c5d44c642130cd6002c1d83ffd2/lib/index.js#L290 Closes #22225 Example: { Error: socket hang up at TLSSocket.onSocketClose (_tls_wrap.js:761:23) at TLSSocket.emit (events.js:194:15) at _handle.close (net.js:600:12) at Socket.done (_tls_wrap.js:388:7) at Object.onceWrapper (events.js:277:13) at Socket.emit (events.js:189:13) at TCP._handle.close (net.js:600:12) code: 'ECONNRESET' Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Kibana version: 6.3.1
Elasticsearch version: 6.3.1
Kibana logs this error when connections are made that do not establish an actual TLS session; e.g., connection checks either with netcat/telnet or load balancers:
Reproduce on a TLS enabled Kibana with
nc kibana.host 5601
, then CTRL+C. If a load balancer causes it, the log message populates the log at an uncomfortable rate.Could this logging be suppressed to
debug
level only?The text was updated successfully, but these errors were encountered: