-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
server: TLS handshake log spam from health checks #32102
Comments
These messages are harmless, but annoying. They're happening because the load balancer is just doing a TCP-level health check and closing the connection immediately. Unfortunately we can't easily suppress these log messages because they're coming from deep within our dependencies. The k8s configs are supposed to be doing HTTPS health checks, which wouldn't generate these messages. There might be something else going on in the AWS environment, or maybe there's something wrong with those templates. |
That "something else" is most likely the AWS network load balancer that got created by the "Service" that @markharding referred to being of |
Zendesk ticket #3527 has been linked to this issue. |
No, it needs to be NLB to support the non-HTTP postgres protocol. But even NLBs support HTTPS health checks, they just need to be configured appropriately. |
Maybe the MSO team? If not them, I'm not sure if anyone internal has tried this. |
@kannanlakshmi How is the MSO LB setup (with and w/o K8s) on AWS and Google. |
NLB health checks are easily configured:
https://docs.aws.amazon.com/elasticloadbalancing/latest/network/target-group-health-checks.html
Details of the health check endpoint are in
https://www.cockroachlabs.com/docs/v19.1/monitoring-and-alerting.html#health-endpoints
…On Wed, Sep 4, 2019 at 5:23 PM Robert S Lee ***@***.***> wrote:
@kannanlakshmi <https://github.com/kannanlakshmi> How is the MSO LB setup
(with and w/o K8s) on AWS and Google.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#32102?email_source=notifications&email_token=AMUGIGMUBR3Z3OLWBBECJG3QIARNRA5CNFSM4GBBVKMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD55A5KQ#issuecomment-528092842>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMUGIGNOPN3UFH43TMVF6M3QIARNRANCNFSM4GBBVKMA>
.
|
Is there a working annotation K8a config available with HTTP and HTTPS? The original post had HTTP but resulted in error message in the log file. Is the required change as simple as specifying HTTPS as Ben indicated? |
Looking further, there doesn't seem to be much in the way of configuration for NLB on EKS: https://kubernetes.io/docs/concepts/services-networking/service/#aws-nlb-support |
Investigated this today with @HonoreDB - the log spam here is slightly more complicated to eliminate than others because it is produced by our We do use some mechanism to prevent log spam for gRPC logging (the |
The once-per-30-seconds rule makes sense for outgoing connection attempts - there should be some indication that we're attempting to initiate a connection that is failing. But for this issue of incoming connections that do nothing wrong except close without going through the TLS handshake, it'd be better not to print them at all. |
Summary
We are using k8s on AWS and experience the following errors despite cockroachdb working without issues.
k8s configs -> https://github.com/cockroachdb/cockroach/pull/27921/files
Load Balancer configs:
Steps to reproduce
Expected Result
No error log entry
Actual Result
Error log entry
Log files/version
Node 1
Node 2
Epic: CRDB-549
The text was updated successfully, but these errors were encountered: