I have this download error only on ios12 (I have no problem with ios15), do you know the reason? Is there a solution? Thank you for your help.
ResponseError: The access certificate to this server is not valid. You may be connecting to a server that claims to be "lyzo.fr", which could compromise your confidential data., status code: 0
Hello,
Here is an extract of the code (I think the problem comes since my certificate was renewed)
B4X:
Dim telecharge As HttpJob
telecharge.Initialize("",Me)
telecharge.Download(urlidbdd)
Wait For (telecharge) JobDone(telecharge As HttpJob)
If telecharge.Success Then
Dim out As OutputStream = File.OpenOutput(File.DirLibrary, "bddid.txt", False)
File.Copy2(telecharge.GetInputStream, out)
out.Close
Else
hd.ToastMessageShow("Erreur de téléchargement", False)
Log(telecharge.ErrorMessage)
End If
telecharge.Release
I have this download error only on ios12 (I have no problem with ios15), do you know the reason? Is there a solution? Thank you for your help.
ResponseError: The access certificate to this server is not valid. You may be connecting to a server that claims to be "lyzo.fr", which could compromise your confidential data., status code: 0
Hello,
Here is an extract of the code (I think the problem comes since my certificate was renewed)
B4X:
Dim telecharge As HttpJob
telecharge.Initialize("",Me)
telecharge.Download(urlidbdd)
Wait For (telecharge) JobDone(telecharge As HttpJob)
If telecharge.Success Then
Dim out As OutputStream = File.OpenOutput(File.DirLibrary, "bddid.txt", False)
File.Copy2(telecharge.GetInputStream, out)
out.Close
Else
hd.ToastMessageShow("Erreur de téléchargement", False)
Log(telecharge.ErrorMessage)
End If
telecharge.Release
Hello,
Here is an extract of the code (I think the problem comes since my certificate was renewed)
B4X:
Dim telecharge As HttpJob
telecharge.Initialize("",Me)
telecharge.Download(urlidbdd)
Wait For (telecharge) JobDone(telecharge As HttpJob)
If telecharge.Success Then
Dim out As OutputStream = File.OpenOutput(File.DirLibrary, "bddid.txt", False)
File.Copy2(telecharge.GetInputStream, out)
out.Close
Else
hd.ToastMessageShow("Erreur de téléchargement", False)
Log(telecharge.ErrorMessage)
End If
telecharge.Release
For development reasons I'm using a proxy between my app and the server backend, to speed up development and easier inspect the traffic between them. To be able to do this, one have to disable the certificate checks. On Android one does this with HttpClient.InitializeAcceptAll, and it works...
For development reasons I'm using a proxy between my app and the server backend, to speed up development and easier inspect the traffic between them. To be able to do this, one have to disable the certificate checks. On Android one does this with HttpClient.InitializeAcceptAll, and it works...