java.net.SocketException: Connection reset With HTTPConnection
问题 I am trying to hit some external API to fetch some data. When the data size is small, everything works fine but when the size of data returned by the API is big I get CONNECTION RESET exception. The below code is from java class InterfaceHelper and I have also marked the comment at the line no where I am getting exception [ Its while trying to read data from InputStream ]. I have tried to search so many question on STACKOVERFLOW itself but didn't find an appropriate answer. So please don't