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
1 answer

Create Retry template to retry on Connection timeout and read timeout

I have integrated a rest template within my spring boot application. The rest template successfully establishes connection and read timeouts. I have also integrated a retry template to retry on these connection and read timeouts. The code for my…
0
votes
0 answers

Authenticating credentials through ldap instead of tomcat-users.xml

I am trying to use LDAP authentication using JNDIRealm instead of tomcat-users.xml. But I'm getting the below error. Can anyone say in which scenarios this exception occurs? Can wrong "connectionPassword" in JNDIRealm of server.xml file cause this…
0
votes
1 answer

timeout for blocking TCP socket not working

Please note: the platform is Windows, not Linux. I have a blocking TCP client socket. After connecting to the remote server, I set a read timeout (as the remote server is not stable, the network condition is bad) and then receive data. Sometimes,…
aj3423
  • 2,003
  • 3
  • 32
  • 70
0
votes
1 answer

Handle Socket Timeout Exception with Jsoup

what I´m doing is this: Document page = Jsoup.connect(url).timeout(0).get(); Elements elements= pageSubforum.select(elements); Sometimes this is working, but often I get a java.net.SocketTimeoutException How can I handle this?
Sarah Xoxo
  • 115
  • 6
0
votes
1 answer

How to handle sockettimeoutexception : read timeout while launching a URL via selenium chrome driver

I am trying to launch an URL which has an authentication pop up window in chrome browser. The URL is launched and the pop up is displayed, after this the script fails and the next line of code is not getting executed. This is my small piece of…
Alagu Priya
  • 1
  • 1
  • 3
0
votes
0 answers

Getting error of org.xmlpull.v1.XmlPullParserException: unterminated entity ref (position:TEXT @1:683533 in java.io.InputStreamReader@a4cc4c8)

I am getting error of unterminatned entity ref. only with oreo version.it's working perfectly on other versions.i am using ksoap2 3.1.1 version.and also this error is not coming every time.sometimes it's working perfectly.and i noticed one thing…
0
votes
1 answer

Want to accept as many clients as possible in a time frame

I am writing a program that allows computers within a wifi network to connect to it, after a certain period of time it should no longer accept connections and be ready to send a message to all connected clients I have tried a while loop but I can't…
Avi Baruch
  • 112
  • 2
  • 8
0
votes
1 answer

Why is MapReduce failing/timing out?

I am getting this error when running mapreduce example app in yarn and wondering if anyone can help me solve this problem
Gus
  • 108
  • 9
0
votes
2 answers

RestTemplate.postForObject() java.net.SocketTimeoutException: Read timed out EVEN THOUGH SUCCESSFUL

I have two Java Spring Boot web service apps on the same server calling each other via REST. Service A calls Service B and the latter successfully acts upon the notfication. THE PROBLEM is that Service A never receives the acknowlegement from…
0
votes
2 answers

Mule ESB Client timeout

I have an esb from which i make a webservice call. The webservice call works well within the organization. We upgraded the Mule ESB version from 3.2.2 to 3.8.5. Both versions work well for us however when vendor calls the web service he get a Socket…
Nik D.
  • 31
  • 1
  • 9
0
votes
2 answers

SocketTimeoutException: New Spring Starter Project

I have just started with Spring development, but i faced with an error when i tried to create a New Spring Starter Project; this error is about a time out connection, i am under a proxy so i established it in the STS but it did not work. I have…
0
votes
1 answer

ReadTimeOut configuration in JEE Server

We are facing Async operation timeout issue while uploading files to the application. On checking the IBM WebSphere Application (8.5) server logs, we see that the exception is thrown exactly after 60 seconds. In WAS the HTTP Channel Inbound settings…
Apps
  • 3,284
  • 8
  • 48
  • 75
0
votes
1 answer

http request normal,but change https request is frequent occur SocketTimeoutException

I was recently trying to change http to https, but the result wasn't so happier because of the frequent request timeouts after changing to https, which made me have a very bad user experience; my current solution is Use a thread pool to perform…
肖竞航
  • 1
  • 1
0
votes
1 answer

how rundeck connect to DB, does it use database connection pool?

When I deploy my Rundeck and database on a different cloud region, sometime the following exception happens: java.net.SocketTimeoutException: connect timed out But the app which I developed uses a database connection pool. The connection to the…
0
votes
1 answer

Experiencing SOcketTimeoutExceptions when running SOAP requests(testrunner.bat) from Jenkins

We are experiencing java.net.SocketTimeoutException error on running the SOAP requests from testrunner.bat which is configured as a Windows Batch command in Jenkins. Windows command code used in Jenkins: echo %WORKSPACE% set…
Santosh
  • 7
  • 1
  • 7