AsyncTask HttpPost execute fails on 3G, but works on Wifi

前端 未结 8 686
深忆病人
深忆病人 2021-01-04 06:39

I need to do a Http post of some strings to a web service. I am using KSoap.

@Override
protected JSONObject doInBackground(JSONObject... params) {
    String         


        
8条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-04 07:16

    These errors often arise because the proxy failed to resolve a domain name into an address.

    This problem is entirely due to slow IP communication between back-end computers, possibly including the Web server. Only the people who set up the network at the site which hosts the Web server can fix this problem.

提交回复
热议问题