Android SSL HttpGet (No peer certificate) error OR (Connection closed by peer) error

前端 未结 7 1653
小蘑菇
小蘑菇 2020-12-02 05:39

I am trying to do a simple HttpGet to read a webpage. I have this working on iOS and working on Android over http, but not https.

The url is an internal network IP a

7条回答
  •  粉色の甜心
    2020-12-02 06:27

    I was originally using HttpsURLConnection but it wasn't working consistently so I decided to go with HttpClient. It works now.

提交回复
热议问题