gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
17.4k stars 1.74k forks source link

no cipher suite supported by both client and server | AWS EKS #21296

Closed itsmesuniljacob closed 1 year ago

itsmesuniljacob commented 1 year ago

Expected behavior:

Teleport welcome page

Current behavior:

image

Pods are getting errors as below

ERROR REPORT:
Original Error: *errors.errorString tls: no cipher suite supported by both client and server
Stack Trace:
    github.com/gravitational/teleport/lib/srv/alpnproxy/proxy.go:388 github.com/gravitational/teleport/lib/srv/alpnproxy.(*Proxy).handleConn
    github.com/gravitational/teleport/lib/srv/alpnproxy/proxy.go:326 github.com/gravitational/teleport/lib/srv/alpnproxy.(*Proxy).Serve.func1
    runtime/asm_amd64.s:1594 runtime.goexit
User Message: tls: no cipher suite supported by both client and server] alpnproxy/proxy.go:334
2023-02-06T15:03:48Z WARN [ALPN:PROX] Failed to handle client connection. error:[
ERROR REPORT:
Original Error: *errors.errorString tls: no cipher suite supported by both client and server
Stack Trace:
    github.com/gravitational/teleport/lib/srv/alpnproxy/proxy.go:388 github.com/gravitational/teleport/lib/srv/alpnproxy.(*Proxy).handleConn
    github.com/gravitational/teleport/lib/srv/alpnproxy/proxy.go:326 github.com/gravitational/teleport/lib/srv/alpnproxy.(*Proxy).Serve.func1
    runtime/asm_amd64.s:1594 runtime.goexit

Bug details:

itsmesuniljacob commented 1 year ago

@programmerq I guess you had the issue no cipher suite supported by both client and server. I followed your configuration, but there is something amiss. It would be great, if you could assist

webvictim commented 1 year ago

Generally this happens when your load balancer is speaking the wrong protocol to the backend. What else do you have set in your Helm values?

itsmesuniljacob commented 1 year ago

@webvictim , I have changed to NLB and it's working now perfectly. Thanks for the reply