Skip to content

failed: tls: client offered only unsupported versions: [304]" #6822

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

Closed
rapatchi opened this issue Nov 29, 2023 · 2 comments
Closed

failed: tls: client offered only unsupported versions: [304]" #6822

rapatchi opened this issue Nov 29, 2023 · 2 comments

Comments

@rapatchi
Copy link

I have a GRPC client and server where server is implemented over vsock. I am getting the following error when using boringcrypto (used for enabling FIPS compliance).

Currrently this is the error i am getting on the server side after enabling verbose logs.

2023/11/29 14:12:50 INFO: [core] [Server #1] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "ServerHandshake(\"host(2):2759654857\") failed: tls: client offered only unsupported versions: [304]"

Could you let us know what this error message means and how to debug this further ?

@dfawley
Copy link
Member

dfawley commented Nov 29, 2023

Can you indicate what version of gRPC-Go you were running on the server?

I believe this means your client was attempting to use TLS version 1.3, and your server was not configured to allow that.

@rapatchi
Copy link
Author

rapatchi commented Dec 4, 2023

This issue is because boringcrypto does not support TLS 1.3 and client and server were configured with minversion as 1.3.

golang/go#62372

@rapatchi rapatchi closed this as completed Dec 4, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants