Search Issue Tracker

Fixed in 2018.3.X

Votes

1

Found in

2018.2.0a5

2018.2.0b7

Issue ID

1046610

Regression

No

TLS Handshake exception is generated when connecting to mumble server

Networking

-

Steps to reproduce:
1. Download 1046610_repro.zip
2. Open "Example" scene (Assets -> Mumble-Unity)
3. Enter play mode
4. Notice that in Console window exception is printed

Results: Connection wasn't established due to TLS handshake fail
Exception:
System.AggregateException: One or more errors occurred. ---> System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---> Mono.Security.Interface.TlsException: Handshake failed - error code: UNITYTLS_INTERNAL_ERROR, verify result: UNITYTLS_X509VERIFY_FATAL_ERROR

Reproduced with: 2018.3.0a1, 2018.2.0b8, 2018.2.a5
Not reproducible with: 2018.1.5f1
Regression introduced in: 2018.2.0a5

Comments (18)

  1. Athalos

    Jul 15, 2020 17:54

    Bump - is there a status update on this? Reproduced in 2019.3.13f1

  2. mxran

    Dec 28, 2019 23:56

    Still not fixed in 2019.1.6f1 (occurs when using System.Net's ClientWebSocket to establish a secure connection).

  3. radraghag

    Feb 28, 2019 17:11

    Not fixed in 2018.3.0f2! Please Reopen

  4. ioesten

    Feb 07, 2019 10:49

    Not fixed in 2018.2.16f1 for google cloud buckets :( How is this not allowing upvotes? Which version is meant to be fixed?

  5. imtrobin

    Jan 07, 2019 00:37

    2018.3.0f2, not fixed.

  6. unity_xkmxAPvLhwdoQg

    Dec 19, 2018 08:36

    Hi,
    Is this solved? I got error while trying to get REST api response from google cloud...

  7. delphinius81

    Oct 09, 2018 18:08

    In the same situation as NILSUBIMAX, except trying with NET 4.x API compatibility level. Does not work in Unity 2018.2.9f1, and also not in 2018.3.0b3. IL2CPP build targeting UWP platform. We are using a self-signed certificate, but we load the cert into the certificate store prior to trying to open any socket connection.

  8. dogsaregreat

    Oct 09, 2018 18:08

    Signal boosting this issue.

    System.Net.WebSockets.WebSocketException (0x80004005):
    Unable to connect to the remote server ---> System.Security.Authentication.AuthenticationException:
    A call to SSPI failed, see inner exception. --->
    Mono.Security.Interface.TlsException: Handshake failed - error code:
    UNITYTLS_INTERNAL_ERROR, verify result: UNITYTLS_X509VERIFY_FATAL_ERROR

    Occurs on Unity versions 2018.1.9f2, 2018.2.1f1, 2018. 3.0b2 and Hololens (UWP).

  9. nilsubimax

    Oct 08, 2018 14:25

    I am also getting the UNITYTLS_X509VERIFY_FLAG_NOT_TRUSTED result with 2018.3.0b4. I'm using System.Net.ClientWebSocket with a self-signed certificate. My code is working within a WPF application, but the same .NET Standard 2.0 library fails within Unity (editor as well as HoloLens (IL2CPP project).

  10. Yacuzo

    Sep 14, 2018 13:52

    Getting a slightly different exception now: "TlsException: Handshake failed - error code: UNITYTLS_INTERNAL_ERROR, verify result: UNITYTLS_X509VERIFY_FLAG_NOT_TRUSTED". The domain I am connection to verifies fine in all web-browsers.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.