The javadoc for SocketException states that it is
Thrown to indicate that there is an error in the underlying protocol such as a TCP error
In your case it seems that the connection has been closed by the server end of the connection. This could be an issue with the request you are sending or an issue at their end.
To aid debugging you could look at using a tool such as Wireshark to view the actual network packets. Also, is there an alternative client to your Java code that you could use to test the web service? If this was successful it could indicate a bug in the Java code.
As you are using Commons HTTP Client have a look at the Common HTTP Client Logging Guide. This will tell you how to log the request at the HTTP level.
Related Posts:
- How to create PPTP connection with Java?
- java.net.SocketException: Connection reset
- java.net.SocketException: Network is unreachable: connect
- java.net.SocketException: Software caused connection abort: recv failed
- What does “connection reset by peer” mean?
- What is AF_INET, and why do I need it?
- Only one usage of each socket address (protocol/network address/port) is normally permitted?
- C++ network programming
- Python [Errno 98] Address already in use
- Will setting a multicast destination address to FFFF.FFFF.FFFF make it a broadcast?
- How to fix java.net.SocketException: Broken pipe?
- Android – could not install *smartsocket* listener
- java.net.SocketTimeoutException: Read timed out under Tomcat
- Python ConnectionRefusedError: [Errno 61] Connection refused
- SQLRecoverableException: I/O Exception: Connection reset
- Cannot assign requested address using ServerSocket.socketBind
- Why is my method undefined for the type object?
- WSACancelBlockingCall exception
- Exception in thread “main” java.net.ConnectException: Connection refused: connect Socket Programming Java
- Java simple code: java.net.SocketException: Unexpected end of file from server
- Getting the IP address of the current machine using Java
- Official reasons for “Software caused connection abort: socket write error”
- What is the meaning of “sin_addr.s_addr ” and “inet_addr”?
- javac is not recognized as an internal or external command, operable program or batch file [closed]
- What is a StackOverflowError?
- Use of “instanceof” in Java [duplicate]
- Editor does not contain a main type in Eclipse [duplicate]
- How to replace � in a string
- How to decrypt a SHA-256 encrypted string?
- What’s the C++ version of Java’s ArrayList
- Bad Operand Types for Binary Operator “>”?
- Iterate through a HashMap [duplicate]
- Java optional parameters
- Cannot assign requested address – possible causes?
- Why would a “java.net.ConnectException: Connection timed out” exception occur when URL is up?
- How to use java.net.URLConnection to fire and handle HTTP requests
- ‘mvn’ is not recognized as an internal or external command, operable program or batch file
- How to use multiple classes in java in one file?
- Java: Multiple class declarations in one file
- Example of O(n!)?
- A message body writer for Java class java.util.ArrayList and MIME media type application/json was not found
- How to efficiently remove duplicates from an array without using Set
- How to master Java?
- Understanding the difference between null and ‘\u000’ in Java
- How do you make a deep copy of an object?
- what does Dead Code mean under Eclipse IDE Problems Section
- java, get set methods
- How to solve DB2 SQL Error: SQLCODE=-407, SQLSTATE=23502
- Javadoc @see or {@link}?
- Remote debugging a Java application
- What’s the difference between next() and nextLine() methods from Scanner class?
- Maven: Failed to read artifact descriptor
- The system cannot find the file specified in java
- What does
(angle brackets) mean in Java? - Java Generate Random Number Between Two Given Values
- Causes of getting a java.lang.VerifyError
- ConcurrentHashMap and Hashtable in Java
- “Unmappable character for encoding UTF-8” error
- UnsatisfiedDependencyException: Error creating bean with name
- Random shuffling of an array
- How to convert int[] to Integer[] in Java?
- Why am I getting a “; expected” error?
- How/where to download openjdk/openjre for windows [duplicate]
- java.lang.ClassNotFoundException: org.sqlite.JDBC error in Sample.java program from xerial
- How can I truncate a double to only two decimal places in Java?
- Cannot resolve symbol “Intent”
- What is the default initialization of an array in Java?
- java sort using anonymous class
- How to fix the Hibernate “object references an unsaved transient instance – save the transient instance before flushing” error
- channel 3: open failed: connect failed: Connection refused
- How to Set JPanel’s Width and Height?
- addMouseListener for a JPanel
- What is the difference between an Abstract Data Type(ADT) and a Data Structure?
- What is the jasperrepots-fonts jar for and how to use it?
- Does Java have an StringStream equivalent?
- How to set timeout on python’s socket recv method?
- Difference between String replace() and replaceAll()
- How do I get the size of a java.sql.ResultSet?
- Java: How to set Precision for double value?
- Any way to declare an array in-line?
- Python Socket Receive Large Amount of Data
- java.io.StreamCorruptedException: invalid stream header: 54657374
- Why is Netbeans suggesting I “Flip operands of the binary operators” in my Java code
- How to return nothing from a function that returns value?
- What is the best Java email address validation method?
- Set Date in a single line
- why android studio show error of “Missing constraints in constraintlayout”?
- Change the size of a JTextField inside a JBorderLayout
- java.lang.ArrayIndexOutOfBoundsException: 0
- What’s wrong with overridable method calls in constructors?
- what is the difference between doGet() and doPost() in term of the flow?
- Why cannot cast Integer to String in java?
- java.util.ConcurrentModificationException with iterator
- How to read file from relative path in Java project? java.io.File cannot find the path specified
- How can I view and edit specific aspects of playerdata from my Minecraft server?
- String index out of bounds exception java
- Javadoc @author tag good practices
- A fatal error has been detected by the Java Runtime Environment: SIGSEGV, libjvm
- java.lang.IllegalStateException: Failed to introspect Class
- Can’t seem to disable Java Automatic Update