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

后端 未结 10 1093
你的背包
你的背包 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:30

    This may be an old thread, as for me, check your internet connection (Wifi) there might be some restriction on accessing some of your endpoints.

    I've fixed mine by using/connecting to my mobile data.

    -cheers/happy codings

提交回复
热议问题