Skip to content
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

Question: How can I connect the TLS protocol to the new version (v5.1.8)? #718

Open
roman-b-games opened this issue Nov 28, 2023 · 4 comments

Comments

@roman-b-games
Copy link

The last guide was written about 3 years ago and the connection is made using the unsupported MagicOnion.Hosting. Therefore, I can't understand how to do it and whether it's even possible.

@Danila24ru
Copy link

@mayuki +1, can't connect to 5.1.8 with GrpcChannelx.ForAddress("https:// ... ") , net standard 2.0 Grpc.Core , unity 2020.3.
Grpc.Core.RpcException: 'Status(StatusCode="Unavailable", Detail="failed to connect to all addresses", ...')
Server side: traefik + letsEncrypt + ssl termination.

With Net.Client works fine. But we can't upgrade to unity 2021+

Copy link
Contributor

github-actions bot commented Jun 3, 2024

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale stale not updated issue & pr label Jun 3, 2024
@07prajwal2000
Copy link

@mayuki I am getting this Error on client side:

Unhandled exception. Grpc.Core.RpcException: Status(StatusCode="Internal", Detail="Error starting gRPC call. HttpRequestException: The SSL connection could not be established, see inner exception. AuthenticationException: The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch, RemoteCertificateChainErrors", DebugException="System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.")

I am running the in production config in a docker container.

@github-actions github-actions bot removed the stale stale not updated issue & pr label Jun 20, 2024
@mayuki
Copy link
Member

mayuki commented Jun 20, 2024

From the message RemoteCertificateNameMismatch, it appears that there is a problem with the name of the certificate not matching. Try connecting to that port with HttpClient and see if an error occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants