Search Issue Tracker

Fixed in 2018.3

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 (16)

  1. 379658c78214786e8bed2c5b93c330a1?d=mm

    radraghag

    Feb 28, 2019 17:11

    Not fixed in 2018.3.0f2! Please Reopen

  2. Eb6dc3301ffc24926f8e5801695e54d4?d=mm

    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?

  3. B29eb5a4dec0a229c3bb2469fbfdca6e?d=mm

    imtrobin

    Jan 07, 2019 00:37

    2018.3.0f2, not fixed.

  4. 635681da8c3ac307aa17cd00e7ac13fc?d=mm

    unity_xkmxAPvLhwdoQg

    Dec 19, 2018 08:36

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

  5. A3ba8f7847bf0e9c97537b4b4b3b7e0c?d=mm

    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.

  6. 28c2350fd8c5223b6f7d41b92eee2362?d=mm

    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).

  7. 4d636c2c1f464ea51a9faf9c417154f3?d=mm

    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).

  8. 5e4cc077675036622ca9d4878cfe901e?d=mm

    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.

  9. 5e4cc077675036622ca9d4878cfe901e?d=mm

    Yacuzo

    Sep 14, 2018 13:30

    I still get undefined network errors using UnityWebRequest on https with 2018.2.6 and 2018.3.0b.

  10. 65bc085579870c082e90d701443f2b9f?d=mm

    ashikns

    Sep 01, 2018 19:28

    Still happening in Unity 2018.2.5. In which version is this fixed?

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.