Fail to login keep showing following error?
code:
Error:
code:
B4X:
Sub btnDownload_Click
Log(">>> btnDownload_Click")
myService.myAgentID = editText1.Text
myService.myUsername = editText2.Text
myService.myPassword = editText3.Text
myService.myFamily = editText4.Text
'Log(editText1.Text)
job1.Initialize("job1", Me)
myService.myLoginPostString = "username=" & myService.myUsername & _
"&password=" & myService.myPassword & _
"&family=" & myService.myFamily
myService.myLoginURL = "https://" & myService.myAgentID & ".abcd.com/app/applogin"
job1.PostString(myService.myLoginURL, myService.myLoginPostString)
'DownloadService.URL = "https://i.imgur.com/jWNTgcu.jpg"
'StartService(DownloadService)
'btnDownload.Enabled = False
End Sub
Error:
B4X:
ResponseError. Reason: java.net.SocketTimeoutException: SSL handshake timed out, Response:
JobName = job1, Success = false
Error: java.net.SocketTimeoutException: SSL handshake timed out
Connected to B4A-Bridge (Wifi)
Connected to B4A-Bridge (Wifi)
Connected to B4A-Bridge (Wifi)
>>> btnDownload_Click
Connected to B4A-Bridge (Wifi)
ResponseError. Reason: java.net.SocketTimeoutException: SSL handshake timed out, Response:
JobName = job1, Success = false
Error: java.net.SocketTimeoutException: SSL handshake timed out
Connected to B4A-Bridge (Wifi)
Connected to B4A-Bridge (Wifi)
>>> btnDownload_Click
Connected to B4A-Bridge (Wifi)