Java.net.sockettimeoutexception read timed out exception __.net

Source: Internet
Author: User

Invoking the Java method on the remote server on SOAPUI is that a java.net.sockettimeoutexception read timed out exception appears.

The root cause is that the client is not in the limited time range, the data sent to the server, the server in order to ensure its service performance, the connection was found to be invalid, so there was an exception.

You can modify the client's timeout or modify the server's corresponding time, but this only solves the problem from "quantity" and does not solve it from "quality". Therefore, it is still essential to optimize the database, such as optimizing the SQL statements, so that it can be in the default timeout time of 30 seconds to respond;

There may also be a network reason, the network state is not good can cause the exception.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.