UnityHTTP icon indicating copy to clipboard operation
UnityHTTP copied to clipboard

Can not request with https

Open rensamatar opened this issue 8 years ago • 2 comments

I try to call the api from mobile side and I got this

IOException: BeginWrite failure System.Net.Sockets.NetworkStream.BeginWrite (System.Byte[] buffer, Int32 offset, Int32 size, System.AsyncCallback callback, System.Object state) Mono.Security.Protocol.Tls.RecordProtocol.BeginSendRecord (ContentType contentType, System.Byte[] recordData, System.AsyncCallback callback, System.Object state) Mono.Security.Protocol.Tls.RecordProtocol.SendRecord (ContentType contentType, System.Byte[] recordData) Mono.Security.Protocol.Tls.RecordProtocol.SendAlert (Mono.Security.Protocol.Tls.Alert alert) Mono.Security.Protocol.Tls.RecordProtocol.SendAlert (AlertDescription description) Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) UnityEngine.Debug:LogException(Exception) UnityHTTP.Request:GetResponse() (at Assets/Plugins/UnityHTTP/src/Request.cs:197) UnityHTTP.Request:<Send>m__0(Object) (at Assets/Plugins/UnityHTTP/src/Request.cs:336)

How to solve this problem? Thank you. Unity 5.4

rensamatar avatar Dec 16 '16 10:12 rensamatar

@rensamatar Did you find any solution for this?

manwithsteelnerves avatar Aug 08 '21 15:08 manwithsteelnerves

Could this be related to mobile permissions around network access?

andyburke avatar Aug 09 '21 23:08 andyburke