Search Issue Tracker
Fixed
Votes
10
Found in
2021.3.44f1
2022.3.48f1
6000.0.22f1
Issue ID
UUM-83468
Regression
Yes
"Unable to complete SSL connection" exceptions are thrown and connection fails when a large amount of WebRequests are made
Reproduction steps:
1. Open the attached “Unity6WebRequestBug-master.zip” project
2. Open the “SampleScene” Scene
3. Enter the Play mode
4. Observe the Console for around a minute
Expected result: No errors are visible
Actual result: "Unable to complete SSL connection" exceptions are thrown after some time
Reproducible with: 2021.3.43f1, 2021.3.44f1, 2022.3.48f1, 6000.0.22f1
Not reproducible with: 2021.3.42f1
Reproduced on: Windows 10 (User reported), Windows 11
Not reproducible on: No other environment tested
Notes:
- In other users projects the issue usually arises after a longer amount of time (ranging from 30 minutes to hours). The problem occurs more quickly when a higher number of concurrent web requests are made
- Also affects the Player
- Entire Editor has to be restarted for reconnecting
-
FernandoHC
Oct 09, 2024 13:19
The example provided was just meant to speed up the process, so you can see the issue faster, the person testing can try the "slower" route and keep a limited number of connections mentioned of 8 and still see this issue after some time.
Please note that, one the issue happens, the exception is thrown by the client before reaching the server. Which seems to indicate some sort of internal flag is set to block further connections, if this is indeed by design, then please review this behavior as it is incompatible with previous versions and behavior expected from web requests.
-
sniperisa
Oct 08, 2024 19:27
What does "by design" mean?
Is Unity limited to x webrequests per session?
Does unity accept no more connections if there are x requests in y seconds? -
joeysipos
Oct 08, 2024 18:37
This is unacceptable. There are many cases where lots of data is being streamed into Unity. In our case we are using Cesium for Unity which streams lots of terrain data through Google and Bing. This bug makes our product almost unusable as streaming data crashes every time the game is run.
-
silentslack
Oct 08, 2024 06:17
Seeing this after a recent upgrade to Unity 2021.3.43f1 (was from a previous Unity 2021.3 version around 2021.3.20). Have to restart the Unity Editor to get around it. We get a 'TlsException: Handshake failed - error code: UNITYTLS_INTERNAL_ERROR' error followed by 'WebException: The operation has timed out.' errors. In previous versions of Unity we didn't encounter this issue.
-
Vedal987
Oct 02, 2024 18:54
Also getting this, please fix.
-
joeysipos
Oct 02, 2024 00:53
We too are getting this issue. It is hard to reproduce but it happens all the time when high amount of web requests are being made. Many user are reporting the bug as well. Internet connection seems to drop out in the editor and in our builds. Usually after about 5 to 30 minutes of many web requests being made. Once the error occurs editor no longer connects to the internet and has to be restarted. Same with builds. Please fix as this is dramatically effecting our customers!
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
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-83744