mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
fix(SWT): Improved logging in ClientHandshake
- Added hint to check Server Roles for handshake key mismatches
This commit is contained in:
parent
9e4b4e2747
commit
0821e56105
@ -72,7 +72,10 @@ public bool TryHandshake(Connection conn, Uri uri)
|
||||
|
||||
if (responseKey != expectedResponse)
|
||||
{
|
||||
Log.Error($"[SWT-ClientHandshake]: Response key incorrect\nResponse:{responseKey}\nExpected:{expectedResponse}");
|
||||
Log.Error($"[SWT-ClientHandshake]: Response key incorrect\n" +
|
||||
$"Expected:{expectedResponse}\n" +
|
||||
$"Response:{responseKey}\n" +
|
||||
$"This can happen if Websocket Protocol is not installed in Windows Server Roles.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user