Can not request with https #67

Open
opened 2016-12-16 02:13:17 -08:00 by rensamatar · 2 comments
rensamatar commented 2016-12-16 02:13:17 -08:00 (Migrated from github.com)

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

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
manwithsteelnerves commented 2021-08-08 08:02:36 -07:00 (Migrated from github.com)

@rensamatar Did you find any solution for this?

@rensamatar Did you find any solution for this?
andyburke commented 2021-08-09 16:42:38 -07:00 (Migrated from github.com)

Could this be related to mobile permissions around network access?

Could this be related to mobile permissions around network access?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
andyburke/UnityHTTP#67
No description provided.