Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 16.11 13:34:43 ERROR [SMServiceImpl] leaving calcDiscount(Purchase, long, long, ILoyTechProcess): login failed [body: ]
- ru.crystals.setmachine.promo.exception.SMClientLoginException: Login failed
- at ru.crystals.setmachine.promo.api.v1.SMClient.login(SMClient.java:128)
- at ru.crystals.setmachine.promo.api.v1.SMClient.requestForOffers(SMClient.java:143)
- at ru.crystals.pos.sm.SMServiceImpl.calcDiscount(SMServiceImpl.java:133)
- at ru.crystals.pos.loyal.sm.SetMachineLoyProvider.process(SetMachineLoyProvider.java:114)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:103)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:600)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:310)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3246)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenary(TechProcessImpl.java:2931)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenary(CheckContainer.java:1600)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1483)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1402)
- at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:850)
- at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:538)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:3865)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:172)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:145)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:125)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:106)
- at ru.crystals.pos.InternalCashPoolExecutorImpl$4.run(InternalCashPoolExecutorImpl.java:122)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
- Caused by: com.mashape.unirest.http.exceptions.UnirestException: org.apache.http.conn.ConnectTimeoutException: Connect to 5.9.107.198:8070 [/5.9.107.198] failed: connect timed out
- at com.mashape.unirest.http.HttpClientHelper.request(HttpClientHelper.java:143)
- at com.mashape.unirest.request.BaseRequest.asJson(BaseRequest.java:68)
- at ru.crystals.setmachine.promo.api.v1.SMClient.login(SMClient.java:111)
- ... 26 more
- Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to 5.9.107.198:8070 [/5.9.107.198] failed: connect timed out
- at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:150)
- at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
- at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
- at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
- at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
- at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
- at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
- at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
- at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
- at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
- at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
- at com.mashape.unirest.http.HttpClientHelper.request(HttpClientHelper.java:138)
- ... 28 more
- Caused by: java.net.SocketTimeoutException: connect timed out
- at java.net.PlainSocketImpl.socketConnect(Native Method)
- at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
- at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
- at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
- at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
- at java.net.Socket.connect(Socket.java:589)
- at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:337)
- at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141)
- ... 39 more
- 16.11 13:34:43 ERROR [SetMachineLoyProvider] leaving process(Purchase, PurchaseEntity, ILoyTechProcess). Failed to connect to SM service
- ru.crystals.pos.sm.exception.SMConnectionException: Сервис персональных предложений временно недоступен
- at ru.crystals.pos.sm.SMServiceImpl.calcDiscount(SMServiceImpl.java:137)
- at ru.crystals.pos.loyal.sm.SetMachineLoyProvider.process(SetMachineLoyProvider.java:114)
- at ru.crystals.loyal.providers.LoyProvidersRegistryImpl.process(LoyProvidersRegistryImpl.java:103)
- at ru.crystals.pos.loyal.cash.service.LoyalServiceImpl.doDiscount(LoyalServiceImpl.java:600)
- at ru.crystals.pos.loyal.bridge.service.LoyalBridgeServiceImpl.doDiscount(LoyalBridgeServiceImpl.java:310)
- at ru.crystals.pos.techprocess.TechProcessImpl.applyDiscountsAndGetResult(TechProcessImpl.java:3246)
- at ru.crystals.pos.techprocess.TechProcessImpl.subtotalScenary(TechProcessImpl.java:2931)
- at ru.crystals.pos.visualization.check.CheckContainer.startSubtotalScenary(CheckContainer.java:1600)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotalProcessPurchaseState(CheckContainer.java:1483)
- at ru.crystals.pos.visualization.check.CheckContainer.subtotal(CheckContainer.java:1402)
- at ru.crystals.pos.visualization.components.MainWindow.subTotal(MainWindow.java:850)
- at ru.crystals.pos.visualization.Factory.eventFunctionKey(Factory.java:538)
- at ru.crystals.pos.techprocess.TechProcessImpl.eventFunctionKey(TechProcessImpl.java:3865)
- at ru.crystals.pos.CashEventSource.sentOldKey(CashEventSource.java:172)
- at ru.crystals.pos.CashEventSource.process(CashEventSource.java:145)
- at ru.crystals.pos.CashEventSource.processEvent(CashEventSource.java:125)
- at ru.crystals.pos.CashEventSource.run(CashEventSource.java:106)
- at ru.crystals.pos.InternalCashPoolExecutorImpl$4.run(InternalCashPoolExecutorImpl.java:122)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
- at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
- at java.lang.Thread.run(Thread.java:745)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement