java.io.IOException: unexpected end of stream on Connection in android

后端 未结 10 1071
你的背包
你的背包 2020-12-01 12:40

I have web service URL, it working fine. It gives the JSON data.

When I am using HttpURLConnection and InputStream, I am getting this erro

10条回答
  •  情深已故
    2020-12-01 13:09

    I encountered this problem today. And it turns out that it is the server fault, as in the server throwed an error and shut down as it is parsing the request.

    Check your backend, if it is not yours, notify the owner of that server

提交回复
热议问题