-
Notifications
You must be signed in to change notification settings - Fork 503
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
Too many "http: TLS handshake error" log #481
Comments
hi @jthann , is the easegress configuration work correctly outside of k8s? |
It's a little bit harder to test this outside of k8s,I guess it is caused by Aliyun LoadBalancer health check or something like this,because other gateway like apisix(nginx) don't have this type problem |
I just found a similar issue from another project [https://github.com/cockroachdb/cockroach/issues/32102] |
I also think that this is probably issue on Golang net/http side. We could still filter the logs on Easegress side, by providing a custom error logger for |
To reproduce this error, you should use aliyun or aws loadbalancer, it can be discarded like this way httpsSrv := &http.Server{
Addr: fmt.Sprintf(":%d", 443),
Handler: &mux{},
IdleTimeout: 60 * time.Second,
ErrorLog: log.New(io.Discard, "", log.LstdFlags),
} |
Describe the bug
When I deploy easegress as a single pod in aliyun k8s cluster and use LoadBalancer service,the pod print hugely too many TLS handshake error log in pod stdout console every one second or less than one second
Give one real log example as follow:
The easegress HTTPServer object yaml config as follow:(leave out tls cert and key for security)
The k8s service yaml config as follow:
The text was updated successfully, but these errors were encountered: