andyburke / UnityHTTP

A TcpClient-based HTTP library for Unity.
GNU General Public License v2.0
589 stars 147 forks source link

Can not request with https #67

Open rensamatar opened 7 years ago

rensamatar commented 7 years ago

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:m__0(Object) (at Assets/Plugins/UnityHTTP/src/Request.cs:336)

How to solve this problem? Thank you. Unity 5.4

manwithsteelnerves commented 2 years ago

@rensamatar Did you find any solution for this?

andyburke commented 2 years ago

Could this be related to mobile permissions around network access?