some time ago (maybe a week or so) I started to face a problem with uploading custom game server builds. Everything worked just fine before, no code changes or api update were done. Its not 100% reproduce rate, but quite often.
TlsException: Handshake failed - error code: UNITYTLS_INTERNAL_ERROR, verify result: UNITYTLS_X509VERIFY_FLAG_NOT_TRUSTED Mono.Unity.Debug.CheckAndThrow (Mono.Unity.UnityTls+unitytls_errorstate errorState, Mono.Unity.UnityTls+unitytls_x509verify_result verifyResult, System.String context, Mono.Security.Interface.AlertDescription defaultAlert) (at <3845a180c26b4889bc2d47593a665814>:0) Mono.Unity.UnityTlsContext.ProcessHandshake () (at <3845a180c26b4889bc2d47593a665814>:0) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status) (at <3845a180c26b4889bc2d47593a665814>:0) (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus) Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) (at <3845a180c26b4889bc2d47593a665814>:0) Mono.Net.Security.AsyncProtocolRequest+<ProcessOperation>d__24.MoveNext () (at <3845a180c26b4889bc2d47593a665814>:0) --- End of stack trace from previous location where exception was thrown ---
Upgrade to latest sdk v2.62.190304 didnt help.
title id 5626
here is uploading code
https://i.imgur.com/LD1LOi2.png
var request = (HttpWebRequest)WebRequest.Create(uploadUrl); request.Method = "PUT"; request.ContentType = "application/x-zip-compressed"; request.ContentLength = zipFileBytes.Length; Stream dataStream = request.GetRequestStream(); dataStream.Write(zipFileBytes, 0, zipFileBytes.Length); dataStream.Close(); HttpWebResponse uploadResponse = (HttpWebResponse)request.GetResponse();
Thank you for response in advance, and generally for good support so far.