问题描述
我正在为Android设备(2.2)的应用程序。我试图让一个html PAGE电泳的Java code我用似乎工作,这样我就可以得到我想要的页面,但有时应用程序崩溃,我得到异常:没有同行证书。发生这种情况时,如果我等待一小时我改变网络时,它正常工作。是否有人知道如何解决这个问题?该网站是 https://stud.infostud.uniroma1.it/Sest/Log/
i'm working on an application for android devices( 2.2).I'm trying to get an html page.The java code I use seems to work, so I can obtain the page I want, but sometimes the app crashes and i get the exception: "no peer certificate". When this happens, if I wait one hour or I change network, it works normally. Does someone know how to solve this?The site is https://stud.infostud.uniroma1.it/Sest/Log/
我真的很抱歉我的英语水平,我希望你能理解!
I'm really sorry about my english, I hope you'll understand!
推荐答案
当我得到这个异常是因为我的手机日期是不正确。我只是切换回使用所提供的网络约会和一切工作。
When I was getting that exception it was because my phones date was not correctly set. I just switched back to using the network provided date and everything worked.
这篇关于[否对方的证书和QUOT; Android应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!