I have 2 springboot services a-service and b-service. They are communicating with eachother. And theese services working on docker different containers. When i send request from a-service to b-service if request time more than 15 minutes a-service cannot get response from b-service. Its not throwing error or timeout exception but process stucks in the row which i send request and does not going. a-service request code is below.
logger.info("Test 18 started...");
try {
//b-service url
String url = ServiceModuleConstant.Menu.SYNCPOSMENU_URL + "/test18";
logger.info("Scheduled system test URL : " + url);
ResultModel control = RestClientUtils.postForObject(url,ResultModel.class,null);
//does not come here anytime
logger.info("Test 18 result : " + control.isSuccess());
} catch (Exception e) {
logger.error("Test 18 error : " + e.toString());
}
logger.info("Test 18 finished...");
by the way b-service complete request succesfully.
Is there any configuration setting for docker container about request timeouts.