408在weblogic 12C上请求TimeOut

时间:2018-04-10 10:58:32

标签: rest maven-plugin weblogic12c

我们有一个名为Jira communicator的Maven项目,其中包含调用jira rest api的代码,我已将jira communicator(jar)添加为我们的某个Web项目的依赖项。在我们的网络项目中,我们试图通过jira通信器类调用jira rest api,但是我们正在获得408 Request TimeOut Error以及它在Web项目中工作正常。

所以我们认为问题出在weblogic服务器上,并尝试通过增加HTTP持续时间,隧道客户端ping,超时秒的值来实现,但是没有工作。任何人都可以帮助为什么会收到此错误?

这是我在Jira communicator中的代码。

try {
			requestEntity = new HttpEntity<>("Headers", getHeaders());

			LOG.error("the Http header details of the request: " + requestEntity.getHeaders());
      
			String url = jiraurl + key;
      
			LOG.error("The JIRA URL to get the Jira details: " + url);
      
			response = restTemplate.exchange(url, HttpMethod.GET, requestEntity, String.class); //getting the 408 Request Timout here
      
		} catch (Exception e) {
			LOG.debug(e.getMessage());
		}

控制台上的错误是

<10-Apr-2018, 11:37:34,538 AM IST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file C:\SOFTDEV\TOOLS\oracle\WEBLOG~1.2\wlserver\server\lib\DemoTrust.jks.> 
<10-Apr-2018, 11:37:34,538 AM IST> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file C:\SOFTDEV\TOOLS\oracle\jdk8\jre\lib\security\cacerts.> 
[[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'] 2018-04-10 11:37:54,664 [10.2.19.139-agr0036] DEBUG JiraConsumer::getJira - 408 Request Timeout

1 个答案:

答案 0 :(得分:0)

我建议您查看完成消息超时,通常,获取超时所需的时间会提示首先违反了哪个超时阈值。

https://docs.oracle.com/middleware/1213/wls/WLACH/taskhelp/channels/ConfigureDefaultNetworkConnections.html

相关问题