Коллеги добрый день!
Возникла какая то проблема, давненько уже, но только начал с ней разбираться.
В планировщике есть задача пролонгация подписок не в реальном времени.
На эту задачу приходят на почту сообщения
Приложение: BGTvAccess
ID события: inet.sa.error.count
Время регистрации: 13.02.2020 00:16:04
Хост: krd-srv-bgbilling1/192.168.105.23
ru.bitel.bgbilling.modules.tv.dyn.JsonClient$JsonClientException: Ошибка при получении ответа (403)
ru.bitel.bgbilling.common.BGException: ru.bitel.bgbilling.modules.tv.dyn.JsonClient$JsonClientException: Ошибка при получении ответа (403)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.doTask(OrderManagerDeviceWorker.java:337)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.internalDoTaskImpl(AsyncEventWorker.java:248)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.notify(AsyncEventWorker.java:238)
at ru.bitel.bgbilling.kernel.event.AcknowledgeConsumer.onMessage0(AcknowledgeConsumer.java:77)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.internalDoTask(AsyncEventWorker.java:213)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.doTasks(AsyncEventWorker.java:120)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.runWorker(OrderManagerDeviceWorker.java:191)
at ru.bitel.bgbilling.kernel.event.EventWorker.internalRunWorker(EventWorker.java:154)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.runImpl(OrderManagerDeviceWorker.java:111)
at ru.bitel.common.worker.WorkerTask.run(WorkerTask.java:87)
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
at ru.bitel.common.worker.WorkerThread.run(WorkerThread.java:46)
Caused by: ru.bitel.bgbilling.modules.tv.dyn.JsonClient$JsonClientException: Ошибка при получении ответа (403)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.requestImpl0(JsonClient.java:261)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.invokeAndGetArray(JsonClient.java:498)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.invokeAndGetArray(JsonClient.java:552)
at ru.bitel.bgbilling.modules.tv.dyn.lfstrm.LifeStreamV2OrderManager.invokeAndGetArray(LifeStreamV2OrderManager.java:91)
at ru.bitel.bgbilling.modules.tv.dyn.lfstrm.LifeStreamV2OrderManager.productsModifySyncFull(LifeStreamV2OrderManager.java:429)
at ru.bitel.bgbilling.modules.tv.dyn.lfstrm.LifeStreamV2OrderManager.productsModify(LifeStreamV2OrderManager.java:496)
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)
... 17 more
у нас два оператора TV: iptvportal и смотрешка
в логе твакцесс
connection 02-13/09:04:38 INFO [sa-p-8-t-92] OrderManagerDeviceWorker - Command result event: ru.bitel.bgbilling.modules.tv.access.om.ProductOrderEvent@4c44a83a
connection 02-13/09:04:38 INFO [sa-p-8-t-92] OrderManagerDeviceWorker - Processing deviceId:4; command ru.bitel.bgbilling.modules.tv.access.om.ProductOrderEvent@4c44a83a
connection 02-13/09:04:38 INFO [sa-p-8-t-92] OrderManagerSet - Invoking productsModify
connection 02-13/09:04:38 DEBUG [sa-p-8-t-92] IptvPortalOrderManager - productsModify
connection 02-13/09:04:38 DEBUG [sa-p-8-t-92] IptvPortalOrderManager - productsModifyFullSync
connection 02-13/09:04:38 INFO [sa-p-8-t-92] JsonClient - post:
https://*****.iptvportal.ru:443/api/jsonsql/connection 02-13/09:04:38 INFO [sa-p-8-t-92] JsonClient - {Iptvportal-Authorization=sessionid=d01bkbu74cn3478bt87gnqw7qbkc752c267e}
connection 02-13/09:04:38 INFO [sa-p-8-t-92] JsonClient - >> {"method":"select","id":78,"jsonrpc":"2.0","params":{"data":["id","name"],"from":"package"}}
connection 02-13/09:04:38 INFO [sa-p-8-t-92] JsonClient - << {"id":78,"method":"select","result":[[1,"free"],[1307,"HIP_Start"],[1308,"HIP_Home"],[1309,"HIP_Max"],[1311,"HIP_Business"],[1314,"HIP_Night"],[1315,"HIP_HD"],[1317,"HIP_Collective"],[1329,"HIP_Amedia"],[1331,"HIP_3D"],[1380,"HIP_NFootball"],[1306,"HIP_Free"],[3116,"HIP_Collective_Mini"],[3045,"TimeShift"],[3092,"cam-office"]]}
connection 02-13/09:04:38 INFO [sa-p-8-t-92] JsonClient - post:
https://*****.iptvportal.ru:443/api/jsonsql/connection 02-13/09:04:38 INFO [sa-p-8-t-92] JsonClient - {Iptvportal-Authorization=sessionid=d01bkbu74cn3478bt87gnqw7qbkc752c267e}
connection 02-13/09:04:38 INFO [sa-p-8-t-92] JsonClient - >> {"method":"select","id":79,"jsonrpc":"2.0","params":{"data":["package_id"],"from":"subscriber_package","where":{"eq":["subscriber_id","2760119"]}}}
connection 02-13/09:04:38 INFO [sa-p-8-t-92] JsonClient - << {"id":79,"method":"select","result":[[1],[1306],[1309]]}
connection 02-13/09:04:38 INFO [sa-p-8-t-92] IptvPortalOrderManager - Current packageIds: [1, 1306, 1309], need packageIds: [1, 1306, 1309]
connection 02-13/09:04:38 INFO [sa-p-8-t-92] OrderManagerDeviceWorker - Process event type[2] result=true
connection 02-13/09:04:38 INFO [sa-p-8-t-92] OrderManagerSet - Disconnecting from device
connection 02-13/09:04:38 ERROR [sa-p-8-t-92] EventWorker - class ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker: ru.bitel.oss.systems.inventory.product.common.event.ProductStateEntry.<init>(IISLjava/util/List;)V
java.lang.NoSuchMethodError: ru.bitel.oss.systems.inventory.product.common.event.ProductStateEntry.<init>(IISLjava/util/List;)V
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.fireTvProductsStateModified(OrderManagerDeviceWorker.java:573)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.taskDone(OrderManagerDeviceWorker.java:517)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.internalDoTaskImpl(AsyncEventWorker.java:266)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.notify(AsyncEventWorker.java:238)
at ru.bitel.bgbilling.kernel.event.AcknowledgeConsumer.onMessage0(AcknowledgeConsumer.java:77)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.internalDoTask(AsyncEventWorker.java:213)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.doTasks(AsyncEventWorker.java:120)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.runWorker(OrderManagerDeviceWorker.java:191)
at ru.bitel.bgbilling.kernel.event.EventWorker.internalRunWorker(EventWorker.java:154)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.runImpl(OrderManagerDeviceWorker.java:111)
at ru.bitel.common.worker.WorkerTask.run(WorkerTask.java:87)
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
at ru.bitel.common.worker.WorkerThread.run(WorkerThread.java:46)
connection 02-13/09:04:38 INFO [sa-p-8-t-92] OrderManagerDeviceWorker - Execution error (10) - waiting 60000ms for next try.
что делать с этим? как поправить?