Skip to Content
0
Sep 30, 2019 at 09:46 AM

Read Timed Out Error SAP CCO

104 Views

2019-09-28 09:21:58,409 [http-nio-127.0.0.1-9999-exec-8] FATAL com.sap.scco.ap.pos.service.impl.ReceiptPosServiceImpl - Communication to server failed
java.net.SocketTimeoutException: Read timed out
	at sun.reflect.GeneratedConstructorAccessor183.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at com.sap.scco.util.rest.RestClient.handleConnectionResult(RestClient.java:153)
	at com.sap.scco.ap.pos.i14y.central.CentralServerRestClient.handleConnectionResult(CentralServerRestClient.java:258)
	at com.sap.scco.util.rest.RestClient.executeCall(RestClient.java:126)
	at com.sap.scco.ap.pos.i14y.central.CentralServerRestClient.executeCall(CentralServerRestClient.java:183)
	at com.sap.scco.ap.pos.i14y.central.CentralServerRestClient.executeCall(CentralServerRestClient.java:164)
	at com.sap.scco.util.rest.RestClient.executeCall(RestClient.java:108)
	at com.sap.scco.ap.tablemanagement.ConcessionServerRestClient.fetchReceiptById(ConcessionServerRestClient.java:212)
	at com.sap.scco.ap.tablemanagement.ConcessionCommunicationService.fetchReceiptById(ConcessionCommunicationService.java:206)
	at com.sap.scco.ap.pos.service.impl.ReceiptPosServiceImpl.fetchReceiptAndChangeState_aroundBody544(ReceiptPosServiceImpl.java:5274)
	at com.sap.scco.ap.pos.service.impl.ReceiptPosServiceImpl.fetchReceiptAndChangeState_aroundBody545$advice(ReceiptPosServiceImpl.java:35)
	at com.sap.scco.ap.pos.service.impl.ReceiptPosServiceImpl.fetchReceiptAndChangeState_aroundBody546(ReceiptPosServiceImpl.java:1)
	at com.sap.scco.ap.pos.service.impl.ReceiptPosServiceImpl$AjcClosure547.run(ReceiptPosServiceImpl.java:1)
	at com.sap.scco.ap.pos.dao.AutoTransactionAspect.ajc$around$com_sap_scco_ap_pos_dao_AutoTransactionAspect$1$98390d26proceed(AutoTransactionAspect.aj:20)
	at com.sap.scco.ap.pos.dao.AutoTransactionAspect.ajc$around$com_sap_scco_ap_pos_dao_AutoTransactionAspect$1$98390d26(AutoTransactionAspect.aj:61)
	at com.sap.scco.ap.pos.service.impl.ReceiptPosServiceImpl.fetchReceiptAndChangeState(ReceiptPosServiceImpl.java:5263)
	at com.sap.scco.ui.servlets.SalesController.fetchReceipt(SalesController.java:1927)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sap.scco.ui.servlets.AbstractController.handleAction(AbstractController.java:282)
	at com.sap.scco.ui.servlets.AbstractController.processRequest(AbstractController.java:222)
	at com.sap.scco.ui.servlets.AbstractServlet.processPostRequest(AbstractServlet.java:253)
	at com.sap.scco.ui.servlets.AbstractServlet.onRequest(AbstractServlet.java:747)
	at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:223)
	at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:115)
	at org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:68)
	at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2287)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:593)
	at org.atmosphere.websocket.DefaultWebSocketProcessor$3.run(DefaultWebSocketProcessor.java:345)
	at org.atmosphere.util.VoidExecutorService.execute(VoidExecutorService.java:101)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:340)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:447)
	at org.atmosphere.container.JSR356Endpoint$3.onMessage(JSR356Endpoint.java:260)
	at org.atmosphere.container.JSR356Endpoint$3.onMessage(JSR356Endpoint.java:257)
	at org.apache.tomcat.websocket.WsFrameBase.sendMessageText(WsFrameBase.java:395)
	at org.apache.tomcat.websocket.server.WsFrameServer.sendMessageText(WsFrameServer.java:119)
	at org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:495)
	at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:294)
	at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:133)
	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:82)
	at org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:171)
	at org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:151)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:148)
	at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:54)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.net.SocketInputStream.socketRead0(Native Method)
	at java.net.SocketInputStream.socketRead(Unknown Source)
	at java.net.SocketInputStream.read(Unknown Source)
	at java.net.SocketInputStream.read(Unknown Source)
	at java.io.BufferedInputStream.fill(Unknown Source)
	at java.io.BufferedInputStream.read1(Unknown Source)
	at java.io.BufferedInputStream.read(Unknown Source)
	at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
	at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at sun.net.www.protocol.http.HttpURLConnection.getHeaderFields(Unknown Source)
	at com.sap.scco.ap.pos.i14y.central.CentralServerRestClient.handleConnectionResult(CentralServerRestClient.java:239)
	... 51 more
2019-09-28 09:21:58,418 [http-nio-127.0.0.1-9999-exec-8] FATAL com.sap.scco.ui.servlets.AbstractController - Technical Error: null
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sap.scco.ui.servlets.AbstractController.handleAction(AbstractController.java:282)
	at com.sap.scco.ui.servlets.AbstractController.processRequest(AbstractController.java:222)
	at com.sap.scco.ui.servlets.AbstractServlet.processPostRequest(AbstractServlet.java:253)
	at com.sap.scco.ui.servlets.AbstractServlet.onRequest(AbstractServlet.java:747)
	at org.atmosphere.cpr.AsynchronousProcessor.action(AsynchronousProcessor.java:223)
	at org.atmosphere.cpr.AsynchronousProcessor.suspended(AsynchronousProcessor.java:115)
	at org.atmosphere.container.Servlet30CometSupport.service(Servlet30CometSupport.java:68)
	at org.atmosphere.cpr.AtmosphereFramework.doCometSupport(AtmosphereFramework.java:2287)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:593)
	at org.atmosphere.websocket.DefaultWebSocketProcessor$3.run(DefaultWebSocketProcessor.java:345)
	at org.atmosphere.util.VoidExecutorService.execute(VoidExecutorService.java:101)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.dispatch(DefaultWebSocketProcessor.java:340)
	at org.atmosphere.websocket.DefaultWebSocketProcessor.invokeWebSocketProtocol(DefaultWebSocketProcessor.java:447)
	at org.atmosphere.container.JSR356Endpoint$3.onMessage(JSR356Endpoint.java:260)
	at org.atmosphere.container.JSR356Endpoint$3.onMessage(JSR356Endpoint.java:257)
	at org.apache.tomcat.websocket.WsFrameBase.sendMessageText(WsFrameBase.java:395)
	at org.apache.tomcat.websocket.server.WsFrameServer.sendMessageText(WsFrameServer.java:119)
	at org.apache.tomcat.websocket.WsFrameBase.processDataText(WsFrameBase.java:495)
	at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:294)
	at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:133)
	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:82)
	at org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:171)
	at org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:151)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:148)
	at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:54)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:53)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Unknown Source)
Caused by: com.sap.scco.util.exception.XState: COMMUNCATION_WITH_SERVER_FAILED
	at com.sap.