Android Question Error: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate

PierPaduan

Active Member
Licensed User
Longtime User
Hi,
I'm developing an app where I use, to test if internet connection is present, this code:
B4X:
job.Download("https://www.google.com")

and to download maps, this code:
B4X:
job.Download("https://maps.googleapis.com/maps/api/staticmap?center=%20" & latit & "," & longi & "%20&zoom=17&size=300x200&maptype=roadmap&markers=color:red%7Clabel:W%7C" & latit & "," & longi & "&key=AIzaSyCTUoCrRLJJIGThmtt8ZHU75P3iyJLgaSg")

Both use "https". These methods worked fine for months till this morning. Now when I try both connections I obtain the error:
Error: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate

I've find other post with same error: https://www.b4x.com/android/forum/t...ql-database-tutorial.8339/page-27#post-359960

The solution proposed by Erel may be correct in my case too?
Where can I find the HttpUtils2 source code?
Why this error started to appear only now?

Thanks a Lot to everybody.
Regards.
 
Top