benoffi7/ksoap2-android

java.io.EOFException : ReadasciiLine

Opened this issue · 1 comments

This occurs frequently on newer Android due to bug in HTTPTransportSE. Also 
reported here: 
http://stackoverflow.com/questions/15411213/android-httpsurlconnection-eofexcept
ion


To Fix:
Add line

connection.setRequestProperty("Connection", "close");

in HttpTransportSE.java around line 173, i.e. after calling ServiceConnection 
connection = getServiceConnection()
This is in module ksoap2-jse in org.ksoap2.transport


Original issue reported on code.google.com by dirk.coe...@gmail.com on 2 Oct 2014 at 9:00

Report the same error! 

Original comment by benoffi7 on 30 Apr 2015 at 7:36