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

Solr Cloud failed to build suggest dictionary on large number of unique values

I have 130 million documents and each document has unique document id. I want to build suggester on document id. suggest dictionary building is failing for 130 millions. while testing it was successful with 50 million documents. Solr version…
0
votes
1 answer

HttpClient SocketTimeoutException handling

I get data from REST API server using HttpClient. Now I should handle when I can't get any response over 10 seconds from API Server. So I did it like following HttpClient httpClient = new DefaultHttpClient(); HttpParams httpParams =…
JoonT
  • 1,106
  • 1
  • 13
  • 29
0
votes
0 answers

Python - Urllib3 and Requests connection error shows timeout or proxy

I'm trying to use the GET method using python-requests but I get an error with the socket connections. Used the urlopen with urllib too but got the same error. I've been looking for solutions over the internet but nothing seems to work. I'm not…
0
votes
0 answers

WEB API not working while sending GET request

I have created a WEB-API. It was working well on my local and on my server. But now when I try to send the request it is giving me below error. { "Message": "An error has occurred.", "ExceptionMessage": "An error occurred while executing the…
0
votes
0 answers

Transfer data from one device to another - android

so I have created two separate apps, one acts as a client & the other acts as a server. Both devices are connected using hotspot: Connection between the devices is successful. For transferring data from the server to the client, I am using the below…
user2893564
0
votes
2 answers

How to time out python function after X milliseconds?

I'm calling a function A(i) in python . I want it to be terminated if it executes for more than X milliseconds. I've looked at some ways of timing out including signal.alarm(), but they all take the time in integral seconds. I want to do something…
mjsxbo
  • 2,116
  • 3
  • 22
  • 34
0
votes
0 answers

Socket Timeout Exception in tomcat?

Getting socket timeout exception frequently in my web application. Let me explain what's the issue is while reading data at very first time application works fine and according to my idea after some time it goes to ideal state. While executing it…
sireesha j
  • 703
  • 3
  • 9
  • 23
0
votes
1 answer

Android Azure Mobile Services Offline Sync Background Async

I've got an Android App connected to Azure using Azure Mobile Services. I have implemented offline sync and have created a background async process to sync the data between app and cloud every 15 minutes. I press the power/sleep button and it works…
0
votes
0 answers

Read timed out (java.net.SocketTimeoutException)

I have an API developed using Mule ESB which receives the request from the client and forwards the request to another API. But I found an interesting behaviour in the API that if the client makes an request with a request body that has a new line at…
bivrantoshakil
  • 421
  • 1
  • 5
  • 10
0
votes
0 answers

Not able to upload image from android camera to .net server

I am using .net Web services in my app. I have to upload image and put it on server but when I am getting socketTimeOutException each time. // code to upload image private void onCaptureImageResult(Intent data) { Bitmap thumbnail = (Bitmap)…
user7646692
0
votes
0 answers

Building Socket Connections between Servers: Timeout exception

I'm new to Java Socket programming. What I'm trying to do is make socket connections between multiple servers (Simulation of a Distributed System). When I try to do so with the following Java code, it returns a timeout Exception (other servers are…
0
votes
1 answer

Apache HttpClient 3.1 socket timeout

I'm executing webservice requests with Apache HttpClient 3.1 in the following way: private MultiThreadedHttpConnectionManager cm = null; private HttpClient client = null; // Setting up connection manager during init process cm = new…
Gábor Major
  • 444
  • 2
  • 8
  • 23
0
votes
1 answer

Upload of Sonar report fails due to SocketTimeoutException

We have a problem similar to those already discussed in Sonar analysis fails with SocketTimeoutException and Read timed out on SonarQube analysis but it happens to us in version 5.6.2. We have a large number of sonar analyses as a series of nightly…
dokaspar
  • 8,186
  • 14
  • 70
  • 98
0
votes
1 answer

Connecting to web service ends with SocketTimeoutException

I have code segment that connects to a web service. My app has a button, when pressed fetches some data from server and shows to user. It is very simple, but never works. I have read all of post regards to my problem, but none of them solved it. The…
0
votes
0 answers

How to fix WorldWind26 SocketTimeoutExceptions?

I currently upgraded to WorldWind 2.1.0 to stop getting the Retrieval failed errors since they made the switch to using Https. After making the switch globe tiling started working again, but I still get some retrieval failed errors. Does anyone know…
BlueMoose
  • 117
  • 11