Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.4.0f1

2017.4.9f1

2018.3.0a1

2019.1.0a1

2019.2.0a1

Issue ID

1136671

Regression

No

[Support] SslStream.AuthenticateAsClient is never authenticated when trying to authenticate multiple clients per one frame

Mono

-

How to reproduce:
1. Open attached project "AuthenticateAsClientBug.zip" and scene "BrokenScene"
2. Enter PlayMode
3. Observe Console window

Expected result: the "Processing - counter: x" reaches the Num Loops located in "AuthenticateAsClient" -> "Authenticate As Client (script)"
Actual result: "Processing - counter: 0" are being printed, the clients are never authenticated

Reproducible with: 2017.4.23f1, 2018.3.9f1, 2019.1.0b7, 2019.2.0a8

  1. Resolution Note:

    After investigating the issue it was determined that the customer was exceeding the maximum number of threads in the threadpool. This would create a situation where the threadpool would be filled with threads blocking while waiting for a callback. This callback most likely required room in the threadpool and therefore was unable to unblock any of the waiting threads. This situation is resolved by "tuning" the threadpool or manually setting the maximum number of allowed threads via ThreadPool.SetMaxThreads to a value that is greater than the number of requests the customer is expecting to handle.

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.