Search Issue Tracker

Fixed

Fixed in 2021.3.46f1, 2022.3.52f1, 6000.0.25f1, 6000.1.0a2, 7000.0.0a7

Votes

24

Found in

6000.0.23f1

Issue ID

UUM-83744

Regression

No

"TlsException: Handshake failed - error code: UNITYTLS_INTERNAL_ERROR" error when a lot of web requests are sent within a few minutes

--

-

Reproduction steps:
1. Open the attached “repro_IN-86007“ project
2. Open the “Assets/Scenes/YGO Deck Builder.unity“ Scene
3. In the Hierarchy, select the “GameObject“ GameObject
4. In the Inspector, the “Web Request Test (Script)” Component, press the “Send“ button
5. Observe the Console

Expected result: All of the requests return “OK | [requestNumber]“ and no errors ever appear
Actual result: After around 1500-1700 requests, the request gets stuck and the “TlsException: Handshake failed - error code: UNITYTLS_INTERNAL_ERROR“ error appears

Reproducible with: 6000.0.23f1
Couldn’t test with: 2021.3.44f1, 2022.3.50f1 - Unresolvable compilation errors

Reproducible on: Windows 10 (22H2)
Not reproducible on: No other environments tested

Note: Restarting the Editor resets the request quota

  1. Resolution Note (fix version 6000.1.0a2):

    Fixed the regression in our MbedTLS builds that caused the entropy pool to dry up or get corrupted after many TLS connections.

  2. Resolution Note (fix version 6000.0.25f1):

    Fixed the regression in our MbedTLS builds that caused the entropy pool to dry up or get corrupted after a while.

  3. Resolution Note (fix version 2022.3.52f1):

    Fixed the regression in our MbedTLS build that caused the entropy pool to dry up or get corrupted after a while.

  4. Resolution Note (fix version 2021.3.46f1):

    Fixed the regression in our MbedTLS build that caused the entropy pool to dry up or get corrupted after a while.

Comments (11)

  1. MomSesImSpcl

    Oct 09, 2024 23:22

    Did some more testing and the error always occurs around 1650 (+- a few).
    And the time between requests doesn't matter, i have around 1650 request for one unity session, until i restart the editor.

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.