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
Comments (13)
-
joeysipos
Oct 11, 2024 15:16
Please don't close this bug "As By Design" again... This is a major issue that is impacting our product. Which uses Cesium for Unity. Cesium will make 20 to 100 web request calls at a time to download terrain data from the cloud. At which point will brake about 5 to 15 min into a game session, causing our users to have to restart the game everytime. Which is a major showstopper. I can also confirm this issue happens in 2022.3.49f1. It's the same issue as stated in the bug that was somehow resolved "As by Design"? https://issuetracker.unity3d.com/issues/unable-to-complete-ssl-connection-exceptions-are-thrown-and-connection-fails-when-a-large-amount-of-webrequests-are-made
-
TomBMNA
Oct 11, 2024 09:27
-
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
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.
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.
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.
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.