Поставил отдельный сервер для теста, все последних билдов 6,2.
Поднялось вроде все хорошо, при старте, при перечитывании конфигурации ошибок нет, смог активировать подписку абоненту, деньги списались согласно тарифу. Но вот со сталкером так и не стыкуется. Когда прописываю аккаунт договору, вижу в логах:
Код:
mq 02-22/16:21:29 INFO [event-proc-p-2-t-1] TvAccountRuntimeMap - Caught event: Event[ru.bitel.bgbilling.modules.tv.api.common.event.TvAccountModifiedEvent] moduleId: 1; pluginId: no; cid: 1; scid: -1; userId: 1; timestamp: 1456143689375
mq 02-22/16:21:29 INFO [event-proc-p-2-t-1] TvAccountRuntimeMap - Reload accountRuntime: 1
mq 02-22/16:21:29 INFO [event-proc-p-2-t-1] TvAccountRuntimeMap - Removing accountRuntime: 1
mq 02-22/16:21:29 INFO [event-proc-p-2-t-1] TvAccountRuntimeMap - Adding TvAccountRuntime: 1
mq 02-22/16:21:29 INFO [event-proc-p-2-t-1] TvAccountRuntimeMap - ContractId: 1; tvAccountId: 1
???????: survivor
Products [1:22.02.2016-22.03.2016; ] TariffModuleTreeSet [1:22.02.2016-?; ]
Device state: 1; serviceIds:
connection 02-22/16:21:44 INFO [sa-p-6-t-12] OrderManagerSet - Connecting to device
connection 02-22/16:21:44 INFO [sa-p-6-t-12] OrderManagerDeviceWorker - Do task deviceId: 2; Event[ru.bitel.bgbilling.modules.tv.access.om.event.OmTvProductsModifyEvent] moduleId: 1; pluginId: no; cid: 1; scid: -1; userId: 0
ProductEntry [oldProduct=Product [cid-aid=1-1, productSpecId=1, period=22.02.2016 15:58:43-/22.03.2016 15:58:42, activationModeId=1, activationTime=null, deactivationTime=null, deviceState=0, serviceList=null], newProduct=Product [cid-aid=1-1, productSpecId=1, period=22.02.2016 15:58:43-/22.03.2016 15:58:42, activationModeId=1, activationTime=null, deactivationTime=null, deviceState=0, serviceList=null], oldState=-1, newState=1, serviceEntryList=[]]; timestamp: 1456142323181
connection 02-22/16:21:44 INFO [sa-p-6-t-12] OrderManagerDeviceWorker - Command result event: ru.bitel.bgbilling.modules.tv.access.om.ProductOrderEvent@177ad124
connection 02-22/16:21:44 INFO [sa-p-6-t-12] OrderManagerDeviceWorker - Processing deviceId:2; command ru.bitel.bgbilling.modules.tv.access.om.ProductOrderEvent@177ad124
connection 02-22/16:21:44 INFO [sa-p-6-t-12] OrderManagerSet - Invoking productsModify
connection 02-22/16:21:44 INFO [sa-p-6-t-12] StalkerOrderManager - Full sync mode
connection 02-22/16:21:44 INFO [sa-p-6-t-12] StalkerOrderManager - Product: ??????? ?????
connection 02-22/16:21:44 INFO [sa-p-6-t-12] StalkerOrderManager - Custom tariff not found
connection 02-22/16:21:44 INFO [sa-p-6-t-12] StalkerOrderManager - Update tariff to 10
connection 02-22/16:21:44 INFO [sa-p-6-t-12] StalkerOrderManager - Skip changing tariff: non stb
connection 02-22/16:21:44 INFO [sa-p-6-t-12] StalkerOrderManager - Changing tariff for ????????: 001A791D3210 to 10
connection 02-22/16:21:44 INFO [sa-p-6-t-12] JsonClient - {tariff_plan=10}
connection 02-22/16:21:44 INFO [sa-p-6-t-12] JsonClient - put: http://***:1891/accounts/00:1A:79:1D:32:10
connection 02-22/16:21:44 INFO [sa-p-6-t-12] JsonClient - >> tariff_plan=10
connection 02-22/16:21:44 INFO [sa-p-6-t-12] JsonClient - Response code = 405
connection 02-22/16:21:44 INFO [sa-p-6-t-12] JsonClient - << <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PUT is not allowed for the URL /accounts/00:1A:79:1D:32:10.</p>
</body></html>
connection 02-22/16:21:44 ERROR [sa-p-6-t-12] EventWorker - ru.bitel.bgbilling.modules.tv.dyn.JsonClient$JsonClientException: ?????? ??? ????????? ?????? (405)
ru.bitel.bgbilling.common.BGException: ru.bitel.bgbilling.modules.tv.dyn.JsonClient$JsonClientException: ?????? ??? ????????? ?????? (405)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.doTask(OrderManagerDeviceWorker.java:337)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.internalDoTaskImpl(AsyncEventWorker.java:211)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.internalDoTask(AsyncEventWorker.java:183)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.doTasks(AsyncEventWorker.java:109)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.runWorker(OrderManagerDeviceWorker.java:191)
at ru.bitel.bgbilling.kernel.event.EventWorker.internalRunWorker(EventWorker.java:139)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.runImpl(OrderManagerDeviceWorker.java:111)
at ru.bitel.common.worker.WorkerTask.run(WorkerTask.java:86)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
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)
at ru.bitel.common.worker.WorkerThread.run(WorkerThread.java:46)
Caused by: ru.bitel.bgbilling.modules.tv.dyn.JsonClient$JsonClientException: ?????? ??? ????????? ?????? (405)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.requestImpl0(JsonClient.java:229)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.requestImpl(JsonClient.java:238)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.request(JsonClient.java:287)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.request(JsonClient.java:293)
at ru.bitel.bgbilling.modules.tv.dyn.infomir.stalker.StalkerOrderManager.tariffModify0(StalkerOrderManager.java:405)
at ru.bitel.bgbilling.modules.tv.dyn.infomir.stalker.StalkerOrderManager.tariffModify(StalkerOrderManager.java:380)
at ru.bitel.bgbilling.modules.tv.dyn.infomir.stalker.StalkerOrderManager.productsModify(StalkerOrderManager.java:450)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerSet.productsModify(OrderManagerSet.java:350)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.doCommand(OrderManagerDeviceWorker.java:401)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.doTask(OrderManagerDeviceWorker.java:328)
... 15 more
connection 02-22/16:21:44 INFO [sa-p-6-t-12] OrderManagerSet - Disconnecting from device
connection 02-22/16:21:44 INFO [sa-p-6-t-12] OrderManagerDeviceWorker - Execution error - waiting 60000ms for next try.