Hi
Using HTTPS,
library OkHTTPUtils2 2.20 + OkHTTP 1.01
Working on some phones without issue
On some sometimes works, and on some never works
also I added the timeout - seems it has no affect - it is not waiting 30 sec. not even 1 sec
getting the following errors:
** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (httputils2service) Create **
** Service (httputils2service) Start **
Main, Error: javax.net.ssl.SSLException: SSL handshake aborted: ssl=0x4f8c3028: I/O error during system call, Connection reset by peer
Main, Error: javax.net.ssl.SSLException: SSL handshake aborted: ssl=0x4fa2f560: I/O error during system call, Connection reset by peer
Main, Error: javax.net.ssl.SSLException: SSL handshake aborted: ssl=0x4f9cc5a8: I/O error during system call, Connection reset by peer
** Activity (main) Pause, UserClosed = true **
** Service (starter) Destroy **
Using HTTPS,
library OkHTTPUtils2 2.20 + OkHTTP 1.01
B4X:
Sub ExecuteRemoteQuery(Query As String, JobName As String)
Dim Job As HttpJob
If Job.IsInitialized = False Then
Job.Initialize(JobName, Me)
End If
ProgressDialogShow2("getting data, just a sec ...",False)
Job.PostString(Starter.SSLIP & "Main.php", Query)
Job.GetRequest.Timeout = 30000
End Sub
Working on some phones without issue
On some sometimes works, and on some never works
also I added the timeout - seems it has no affect - it is not waiting 30 sec. not even 1 sec
getting the following errors:
** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (httputils2service) Create **
** Service (httputils2service) Start **
Main, Error: javax.net.ssl.SSLException: SSL handshake aborted: ssl=0x4f8c3028: I/O error during system call, Connection reset by peer
Main, Error: javax.net.ssl.SSLException: SSL handshake aborted: ssl=0x4fa2f560: I/O error during system call, Connection reset by peer
Main, Error: javax.net.ssl.SSLException: SSL handshake aborted: ssl=0x4f9cc5a8: I/O error during system call, Connection reset by peer
** Activity (main) Pause, UserClosed = true **
** Service (starter) Destroy **