Добрый день.
Все настроил по мануалу.
При попытке добавить аккаунт получаю в лог
connection 11-09/14:04:13 INFO [sa-p-8-t-45] OrderManagerSet - Connecting to device
connection 11-09/14:04:13 INFO [sa-p-8-t-45] JsonClient - post:
https://192.168.227.2:443/api/jsonrpc/connection 11-09/14:04:13 INFO [sa-p-8-t-45] JsonClient - >> {"method":"authorize_user","id":101,"jsonrpc":"2.0","params":{"password":"***","username":"admin"}}
mq 11-09/14:04:13 DEBUG [event-proc-p-2-t-1] Consumer - Caught from BGBillingServer Event[ru.bitel.bgbilling.modules.tv.api.common.event.TvAccountModifiedEvent] moduleId: 18; pluginId: no; cid: 5758; scid: -1; userId: 5; timestamp: 1447049053867
mq 11-09/14:04:13 INFO [event-proc-p-2-t-1] TvAccountRuntimeMap - Caught event: Event[ru.bitel.bgbilling.modules.tv.api.common.event.TvAccountModifiedEvent] moduleId: 18; pluginId: no; cid: 5758; scid: -1; userId: 5; timestamp: 1447049053867
mq 11-09/14:04:13 INFO [event-proc-p-2-t-1] TvAccountRuntimeMap - Adding new accountRuntime: 78
mq 11-09/14:04:13 INFO [event-proc-p-2-t-1] TvAccountRuntimeMap - Loading TvAccount from database.
mq 11-09/14:04:13 DEBUG [event-proc-p-2-t-1] ProductRuntimeList - Create:
mq 11-09/14:04:13 DEBUG [event-proc-p-2-t-1] ServiceRuntimeList - Create:
mq 11-09/14:04:13 DEBUG [event-proc-p-2-t-1] ProductPeriodRuntimeList - Create:
mq 11-09/14:04:13 INFO [event-proc-p-2-t-1] TvAccountRuntimeMap - Adding TvAccountRuntime: 78
mq 11-09/14:04:13 INFO [event-proc-p-2-t-1] TvAccountRuntimeMap - ContractId: 5758; tvAccountId: 78
???????: 66554
Products [] TariffModuleTreeSet [266:08.06.2015-?; ]
Device state: 0; serviceIds:
connection 11-09/14:04:14 INFO [sa-p-8-t-45] JsonClient - << {"jsonrpc":"2.0","id":101,"error":{"message":"not found","code":-32002}}
connection 11-09/14:04:14 ERROR [sa-p-8-t-45] IptvPortalJsonClient - Error while connecting to device: not found
connection 11-09/14:04:14 DEBUG [sa-p-8-t-45] AcknowledgeConsumer - Caught BGBillingServer:Event[ru.bitel.bgbilling.modules.tv.access.om.event.OmTvAccountModifyEvent] moduleId: 18; pluginId: no; cid: global; scid: -1; userId: -1; deviceId: 0; oldTvAccount: null; newTvAccount: ???????: 66554; newState: 1; timestamp: 1447049053861
connection 11-09/14:04:14 INFO [sa-p-8-t-45] OrderManagerDeviceWorker - Do task deviceId: 3; Event[ru.bitel.bgbilling.modules.tv.access.om.event.OmTvAccountModifyEvent] moduleId: 18; pluginId: no; cid: global; scid: -1; userId: -1; deviceId: 0; oldTvAccount: null; newTvAccount: ???????: 66554; newState: 1; timestamp: 1447049053861
connection 11-09/14:04:14 DEBUG [sa-p-8-t-45] TvTarifficationManager - TariffRequest:
PARAMS: mid: 18; cid: 5758
HIST:
connection 11-09/14:04:14 DEBUG [sa-p-8-t-45] TvTarifficationManager - Executed TariffRequest:
PARAMS: mid: 18; cid: 5758
HIST:
connection 11-09/14:04:14 INFO [sa-p-8-t-45] OrderManagerDeviceWorker - Command result event: ru.bitel.bgbilling.modules.tv.access.om.AccountOrderEvent@10a16cc8
connection 11-09/14:04:14 INFO [sa-p-8-t-45] OrderManagerDeviceWorker - Processing deviceId:3; command ru.bitel.bgbilling.modules.tv.access.om.AccountOrderEvent@10a16cc8
connection 11-09/14:04:14 INFO [sa-p-8-t-45] OrderManagerSet - Invoking accountCreate
connection 11-09/14:04:14 INFO [sa-p-8-t-45] IptvPortalOrderManager - accountCreate
connection 11-09/14:04:14 INFO [sa-p-8-t-45] IptvPortalOrderManager - accountModify
connection 11-09/14:04:14 INFO [sa-p-8-t-45] IptvPortalOrderManager - accountModify0
connection 11-09/14:04:14 DEBUG [sa-p-8-t-45] IptvPortalOrderManager -
connection 11-09/14:04:14 INFO [sa-p-8-t-45] JsonClient - post:
https://192.168.227.2:443/api/jsonsql/connection 11-09/14:04:14 INFO [sa-p-8-t-45] JsonClient - >> {"method":"insert","id":102,"jsonrpc":"2.0","params":{"into":"subscriber","columns":["username","password","max_terminal","email","language_id","disabled","first_name","middle_name","surname"],"returning":"id","values":["66554","66554",3,"",1,false,"???????","","??????"]}}
connection 11-09/14:04:14 INFO [sa-p-8-t-45] JsonClient - Response code = 401
connection 11-09/14:04:14 ERROR [sa-p-8-t-45] AcknowledgeConsumer - java.io.IOException: Stream closed
ru.bitel.bgbilling.common.BGException: java.io.IOException: Stream closed
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.notify(AsyncEventWorker.java:201)
at ru.bitel.bgbilling.kernel.event.AcknowledgeConsumer.onMessage0(AcknowledgeConsumer.java:83)
at ru.bitel.bgbilling.kernel.event.AsyncEventWorker.internalDoTask(AsyncEventWorker.java:176)
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: java.io.IOException: Stream closed
at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:159)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at ru.bitel.common.Utils.readByBlock(Utils.java:1316)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.requestImpl0(JsonClient.java:195)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.requestImpl(JsonClient.java:214)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.invoke(JsonClient.java:282)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalJsonClient.invoke(IptvPortalJsonClient.java:64)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalJsonClient.invoke(IptvPortalJsonClient.java:46)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalJsonClient.insert(IptvPortalJsonClient.java:109)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalOrderManager.accountModify0(IptvPortalOrderManager.java:317)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalOrderManager.accountModify(IptvPortalOrderManager.java:226)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalOrderManager.accountCreate(IptvPortalOrderManager.java:217)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerSet.accountCreate(OrderManagerSet.java:246)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.doCommand(OrderManagerDeviceWorker.java:384)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.doTask(OrderManagerDeviceWorker.java:328)
... 17 more
connection 11-09/14:04:14 INFO [sa-p-8-t-45] OrderManagerSet - Disconnecting from device
connection 11-09/14:04:14 INFO [sa-p-8-t-45] OrderManagerDeviceWorker - Execution error - waiting 6000ms for next try.
connection 11-09/14:04:20 INFO [sa-p-8-t-100] OrderManagerSet - Connecting to device
connection 11-09/14:04:20 INFO [sa-p-8-t-100] JsonClient - post:
https://192.168.227.2:443/api/jsonrpc/connection 11-09/14:04:20 INFO [sa-p-8-t-100] JsonClient - >> {"method":"authorize_user","id":103,"jsonrpc":"2.0","params":{"password":"***","username":"admin"}}
connection 11-09/14:04:21 INFO [sa-p-8-t-100] JsonClient - << {"jsonrpc":"2.0","id":103,"error":{"message":"not found","code":-32002}}
connection 11-09/14:04:21 ERROR [sa-p-8-t-100] IptvPortalJsonClient - Error while connecting to device: not found
connection 11-09/14:04:21 INFO [sa-p-8-t-100] OrderManagerDeviceWorker - Do task deviceId: 3; Event[ru.bitel.bgbilling.modules.tv.access.om.event.OmTvAccountModifyEvent] moduleId: 18; pluginId: no; cid: global; scid: -1; userId: -1; deviceId: 0; oldTvAccount: null; newTvAccount: ???????: 66554; newState: 1; timestamp: 1447049053861
connection 11-09/14:04:21 DEBUG [sa-p-8-t-100] TvTarifficationManager - TariffRequest:
PARAMS: mid: 18; cid: 5758
HIST:
connection 11-09/14:04:21 DEBUG [sa-p-8-t-100] TvTarifficationManager - Executed TariffRequest:
PARAMS: mid: 18; cid: 5758
HIST:
connection 11-09/14:04:21 INFO [sa-p-8-t-100] OrderManagerDeviceWorker - Command result event: ru.bitel.bgbilling.modules.tv.access.om.AccountOrderEvent@6918a754
connection 11-09/14:04:21 INFO [sa-p-8-t-100] OrderManagerDeviceWorker - Processing deviceId:3; command ru.bitel.bgbilling.modules.tv.access.om.AccountOrderEvent@6918a754
connection 11-09/14:04:21 INFO [sa-p-8-t-100] OrderManagerSet - Invoking accountCreate
connection 11-09/14:04:21 INFO [sa-p-8-t-100] IptvPortalOrderManager - accountCreate
connection 11-09/14:04:21 INFO [sa-p-8-t-100] IptvPortalOrderManager - accountModify
connection 11-09/14:04:21 INFO [sa-p-8-t-100] IptvPortalOrderManager - accountModify0
connection 11-09/14:04:21 DEBUG [sa-p-8-t-100] IptvPortalOrderManager -
connection 11-09/14:04:21 INFO [sa-p-8-t-100] JsonClient - post:
https://192.168.227.2:443/api/jsonsql/connection 11-09/14:04:21 INFO [sa-p-8-t-100] JsonClient - >> {"method":"insert","id":104,"jsonrpc":"2.0","params":{"into":"subscriber","columns":["username","password","max_terminal","email","language_id","disabled","first_name","middle_name","surname"],"returning":"id","values":["66554","66554",3,"",1,false,"???????","","??????"]}}
connection 11-09/14:04:21 INFO [sa-p-8-t-100] JsonClient - Response code = 401
connection 11-09/14:04:21 ERROR [sa-p-8-t-100] EventWorker - java.io.IOException: Stream closed
ru.bitel.bgbilling.common.BGException: java.io.IOException: Stream closed
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: java.io.IOException: Stream closed
at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:159)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at ru.bitel.common.Utils.readByBlock(Utils.java:1316)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.requestImpl0(JsonClient.java:195)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.requestImpl(JsonClient.java:214)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.invoke(JsonClient.java:282)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalJsonClient.invoke(IptvPortalJsonClient.java:64)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalJsonClient.invoke(IptvPortalJsonClient.java:46)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalJsonClient.insert(IptvPortalJsonClient.java:109)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalOrderManager.accountModify0(IptvPortalOrderManager.java:317)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalOrderManager.accountModify(IptvPortalOrderManager.java:226)
at ru.bitel.bgbilling.modules.tv.dyn.ares.iptvportal.IptvPortalOrderManager.accountCreate(IptvPortalOrderManager.java:217)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerSet.accountCreate(OrderManagerSet.java:246)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.doCommand(OrderManagerDeviceWorker.java:384)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.doTask(OrderManagerDeviceWorker.java:328)
... 15 more
connection 11-09/14:04:21 INFO [sa-p-8-t-100] OrderManagerSet - Disconnecting from device
connection 11-09/14:04:21 INFO [sa-p-8-t-100] OrderManagerDeviceWorker - Execution error - waiting 6000ms for next try.
собственно в портале аккаунт не появляется.
статус в биллинге удален, пакеты добавить не дает, мотивирует что невозможно добавить продукт на приостановленном аккаунте
что не сделал, или сделал нет так?