Android Question SSL errors

nibbo

Active Member
Licensed User
Longtime User
Not really a B4A problem as such.

My app uses a web-service to retrieve and upload data to a central database.
This works most of the time but on the odd occasion the http job gets a certificate error.
The certificates are OK and other users with other tablets can continue to use the service while one user is stuck. It is not always the same user / tablet and they do suddenly start working again for no apparent reason. I have checked the date and time on the tablet as I know this can cause certificate errors but it is correct.

Is there a way to 'ignore' the certificate error in the http job like you can if you log into a website and get the option to continue in a browser?

I know this is not a good idea but until I find out why it happens I can't leave the users out there with a dead app.

Or, if anyone has experienced other causes of this error I would love to know.

Many thanks in advance
 

nibbo

Active Member
Licensed User
Longtime User
Thanks Erel,
A couple of quick questions though...
Will this make the connection to the web service insecure or will there still be some level of encryption?
Where can I find the latest version of the source? The only one I can find does not seem to match the link.
 
Upvote 0

nibbo

Active Member
Licensed User
Longtime User
Hi Erel. I have this version working with the amended initialize method now.
Many thanks for your assistance.
 
Upvote 0
Top