Questions tagged [socket-timeout-exception]

Signals that a timeout has occurred on a socket read or accept.

These exceptions are often occurring in a Java Platform, so read more in:

Class SocketTimeoutException

260 questions
0
votes
0 answers

SocketTimeoutException is thrown while calling cxf api

SocketTimeoutException is regularly thrown when i try to call the following JAX-RS webservice: while (CollectionUtils.isNotEmpty((results = resultAPIService.getResultsByCampaignId(campaign.getId(), pageNumber, MAX_RESULT_SIZE)).getResults())) {…
Julien M.
  • 3
  • 1
  • 3
0
votes
1 answer

AWS SWF Decider 'java.net.SocketTimeoutException: Read timed out' when polling

I'm encountering this error whenever my SWF Worker application polls. If there's an entry in the SWF queue, it gets processed properly. But if it's empty, this timeout exception is returned. com.amazonaws.http.AmazonHttpClient : Unable to…
renz
  • 1,072
  • 3
  • 11
  • 21
0
votes
1 answer

Java socket time out does not work

I've a class which is responsible for listening two other machines which have exactly the same classes, so it's a network of three computers having the same code. The connection is there and I can see them passing data to each other. Everything…
Schütze
  • 1,044
  • 5
  • 28
  • 48
0
votes
0 answers

java.net.SocketTimeoutException: Read timed out just after few milliseconds

I have an Axis2 1.5.5 instance running on Tomcat5.5. Tomcat connector configuration is like below.
0
votes
0 answers

Why I am getting this timeout exception?

I am building android app. And, sometimes when my backend doesn't work i get this error: Java.lang.IllegalStateException: Fatal Exception thrown on Scheduler.Worker thread. at…
user6450105
0
votes
2 answers

Stop Socket with timeout from waiting after data read from socket

I am trying to create a java http server using tcp sockets. HTTP 1.1 has a timeout value that will enable the connection to be persistent and wait for a short while for possible data from the client. I am trying to implement this timer in my program…
Donald
  • 1,300
  • 2
  • 13
  • 29
0
votes
0 answers

Why retransmision occured 16 seconds later?

I use jmeter to test a tomcat web application running behind f5's load balancer. From the pcap file I captured in jmeter node I see that there is a duplicate ack and then 16 seconds later the client retransmit the packet and do nothing within 20…
user1532146
  • 184
  • 2
  • 14
0
votes
1 answer

Setting SO_TIMEOUT for Webservice consumer in mule

We are using webservice consumer to hit a service hosted by 3rd party. While hitting the service, SocketTimeOutException happens after 16 minutes. Our webservice consumer config is as given below.
Renjith
  • 1,122
  • 1
  • 19
  • 45
0
votes
1 answer

Jersey server CLOSE_WAIT leak after read timeout at the client

Following is the (greatly simplified) code used for communicating from a client machine, to a REST server, using Jersey. There is a 5 minute timeout for establishing a connection at the start, and a 2 minute timeout for reading from the underlying…
PNS
  • 19,295
  • 32
  • 96
  • 143
0
votes
0 answers

Right way to handle Mongo Socket Timeout

I have some code that reads all data from mongodb collection by iterator. When I catch SocketTimeoutException I'm trying to read again – can I use this iterator or I need to start with new iterator?. Is it a correct way to handle…
viba
  • 3
  • 1
0
votes
2 answers

SocketTimeoutException not being thrown

The following code should throw an exception based on whether a timeout was reached: public boolean isAlive(int workerNum) throws Exception { System.out.println("Checking worker #" + workerNum + " from " + getWorkerAddress(workerNum) …
mjr
  • 97
  • 2
  • 11
0
votes
1 answer

Can not connect pentaho Data integration client with Hbase under hadoop

I'm trying de load data from local pentaho data ingration client to a an Hbase server (over hadoop) but each time I get a SocketTimeoutException error. you find below the entire error message I get. Can anybody help me to solve this issue. thanks in…
Mus007
  • 1
  • 2
0
votes
1 answer

Jersey Client Call within Websephere throw java.net.SocketTimeoutException

I'm using Jersey Client in a Java Web App Running on WebSphere Liberty to fetch data located on another server. My web call is an HTTP POST and the data are sent as response. For short amount of data, the response is returned within few seconds, so…
0
votes
1 answer

java.net.SocketException noticed in client and server

We have a client server program running which works fine almonst every time. In some weird circumstances it behaves abruptly and causes folloing exception. At Server java.net.SocketException: Connection reset at…
Nayan Sonthalia
  • 237
  • 1
  • 4
  • 22
0
votes
1 answer

Google App Engine - jsoup.get() urlfetch timeout exception

I am trying to run a simple get request using jsoup in my google app engine project. The code is Document doc = Jsoup.connect("http://www.indianrail.gov.in/") .userAgent("Mozilla") .timeout(60000) …
tbag
  • 1,268
  • 2
  • 16
  • 34