File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Explain Read timed out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Explain Read timed out" Watch "Explain Read timed out" New topic

Explain Read timed out

alex russo

Joined: Apr 19, 2012
Posts: 11
Hello ,

Can some one explain me in simple terms what is " Read timed out" . I have searched in google and I ran into so many descriptions that I am confused now. If some one can explain me in simple terms that would be of great help.

Note: If I have created a thread in error under wrong tree structure please apologize me and move this post to appropriate location.


Karthik Jayachandran
Ranch Hand

Joined: Feb 18, 2009
Posts: 91

As per API, it defines

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

It means the specific destination is unable to connect / unable to read.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15094

A socket is what you use to communicate over a network (for example to connect to a server on the Internet). The error message means that a program was trying to receive data from a remote computer over the network, but no no data was received for a period of time, so the program stopped waiting for the data to be received.

Is this an error message that you get when you run your own program? If you want us to help you solve the problem, then please explain in more detail what you are trying to do, show us your code, explain exactly when and where the exception occurs, etc.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: Explain Read timed out
It's not a secret anymore!