BiTel

Форум BiTel
bgbilling.ru     docs.bitel.ru     wiki.bitel.ru     dbinfo.bitel.ru     bgcrm.ru     billing.bitel.ru     bitel.ru    
Текущее время: 21 ноя 2024, 23:22

Часовой пояс: UTC + 5 часов [ Летнее время ]




Начать новую тему Ответить на тему  [ Сообщений: 5 ] 
Автор Сообщение
 Заголовок сообщения: Интеграция с iptvportal
СообщениеДобавлено: 09 ноя 2015, 12:08 
Не в сети

Зарегистрирован: 26 ноя 2007, 13:35
Сообщения: 122
Карма: 0
Добрый день.

Все настроил по мануалу.

При попытке добавить аккаунт получаю в лог

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.


собственно в портале аккаунт не появляется.

статус в биллинге удален, пакеты добавить не дает, мотивирует что невозможно добавить продукт на приостановленном аккаунте

что не сделал, или сделал нет так?


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Интеграция с iptvportal
СообщениеДобавлено: 09 ноя 2015, 19:00 
Не в сети
Разработчик
Аватара пользователя

Зарегистрирован: 19 дек 2006, 21:04
Сообщения: 5970
Карма: 256
Цитата:
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}}
При попытке логина пишет not found - может имя пользователя другое?


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Интеграция с iptvportal
СообщениеДобавлено: 10 ноя 2015, 07:47 
Не в сети

Зарегистрирован: 26 ноя 2007, 13:35
Сообщения: 122
Карма: 0
Проблема со стороны портала. Что то поправили все заработало.


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Интеграция с iptvportal
СообщениеДобавлено: 05 май 2016, 06:59 
Не в сети
Клиент

Зарегистрирован: 10 окт 2012, 17:00
Сообщения: 339
Карма: 0
Настраиваю работу с iptvportal, ситуация аналогичная. Пока ответа от техподдержки портала нет, прошу уточнить (лог - мой) :
Цитата:
connection 05-05/09:34:52 INFO [sa-p-7-t-2] OrderManagerSet - Connecting to device
connection 05-05/09:34:54 INFO [sa-p-7-t-2] JsonClient - post: https://91.106.207.179:443/api/jsonrpc/
connection 05-05/09:34:54 INFO [sa-p-7-t-2] JsonClient - >> {"method":"authorize_user","id":1,"jsonrpc":"2.0","params":{"password":"*****","username":"admin"}}

Это прилетает от портала ответ:
Цитата:
connection 05-05/09:34:56 INFO [sa-p-7-t-2] JsonClient - << {"jsonrpc":"2.0","id":1,"error":{"message":"not found","code":-32002}}
?

Цитата:
connection 05-05/09:34:56 ERROR [sa-p-7-t-2] IptvPortalJsonClient - Error while connecting to device: not found
connection 05-05/09:34:56 INFO [sa-p-7-t-2] OrderManagerDeviceWorker - Do task deviceId: 2; Event[ru.bitel.bgbilling.modules.tv.access.om.event.OmTvAccountModifyEvent] moduleId: 10; pluginId
: no; cid: global; scid: -1; userId: -1; deviceId: 0; oldTvAccount: Аккаунт:12345; newTvAccount: Аккаунт:12345; newState: 1; timestamp: 1462345699987
connection 05-05/09:34:56 INFO [sa-p-7-t-2] OrderManagerDeviceWorker - Command result event: ru.bitel.bgbilling.modules.tv.access.om.AccountOrderEvent@1305d07
connection 05-05/09:34:56 INFO [sa-p-7-t-2] OrderManagerDeviceWorker - Processing deviceId:2; command ru.bitel.bgbilling.modules.tv.access.om.AccountOrderEvent@1305d07
connection 05-05/09:34:56 INFO [sa-p-7-t-2] OrderManagerSet - Invoking accountModify
connection 05-05/09:34:56 INFO [sa-p-7-t-2] IptvPortalOrderManager - accountModify
connection 05-05/09:34:56 INFO [sa-p-7-t-2] IptvPortalOrderManager - accountModify0


а здесь отправляется еще один запрос, несмотря на то, что авторизация не прошла:
Цитата:
connection 05-05/09:34:56 INFO [sa-p-7-t-2] JsonClient - post: https://91.106.207.179:443/api/jsonsql/
connection 05-05/09:34:56 INFO [sa-p-7-t-2] JsonClient - >> {"method":"insert","id":2,"jsonrpc":"2.0","params":{"into":"subscriber","columns":["username","password","max_terminal","email","l
anguage_id","disabled","first_name","middle_name","surname"],"returning":"id","values":["12345","12345",3,"",1,false,"договор","для","Тестовый"]}}
connection 05-05/09:34:57 INFO [sa-p-7-t-2] JsonClient - Response code = 401
connection 05-05/09:34:57 ERROR [sa-p-7-t-2] 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:222)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.requestImpl(JsonClient.java:241)
at ru.bitel.bgbilling.modules.tv.dyn.JsonClient.invoke(JsonClient.java:319)
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.access.om.OrderManagerSet.accountModify(OrderManagerSet.java:272)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.doCommand(OrderManagerDeviceWorker.java:370)
at ru.bitel.bgbilling.modules.tv.access.om.OrderManagerDeviceWorker.doTask(OrderManagerDeviceWorker.java:328)
... 17 more
connection 05-05/09:34:57 INFO [sa-p-7-t-2] OrderManagerSet - Disconnecting from device
connection 05-05/09:34:57 INFO [sa-p-7-t-2] OrderManagerDeviceWorker - Execution error (1) - waiting 60000ms for next try.
?


Вернуться к началу
 Профиль  
 
 Заголовок сообщения: Re: Интеграция с iptvportal
СообщениеДобавлено: 05 май 2016, 14:48 
Не в сети
Клиент

Зарегистрирован: 10 окт 2012, 17:00
Сообщения: 339
Карма: 0
Получил ответ от техподдержки портала:

Цитата:
Адрес авторизации должен быть вида https://DOMAIN.iptvportal.ru/api/jsonrpc/ <https://domain.iptvportal.ru/api/jsonrpc/> т.е. не ip, а домен.
В настройках устройства прописываю доменное имя для авторизации. В логах отображается ip-адрес, не доменное имя.
Цитата:
В логах по вашему домену ничего нет. Потому что адрес авторизации неверный. Вероятно bgbilling выдали вам какую-то версию для локального mw. В облаке такой вариант адреса работать не может.
При этом в логах биллинга ответ об ошибке есть, tcpdump показывает, что ответ от адреса авторизации приходит.

UPD проблема авторизации решилась прописью в конфиге устройства:

om.url=https://domain.iptvportal.ru:443/api/jsonrpc/

Мб, стОит внести это в документацию, так как в ней говорится, что достаточно в поле "Хост/порт" на устройстве, вписать адрес, а в моем случае такой вариант не работал?


Вернуться к началу
 Профиль  
 
Показать сообщения за:  Поле сортировки  
Начать новую тему Ответить на тему  [ Сообщений: 5 ] 

Часовой пояс: UTC + 5 часов [ Летнее время ]


Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 1


Вы не можете начинать темы
Вы не можете отвечать на сообщения
Вы не можете редактировать свои сообщения
Вы не можете удалять свои сообщения
Вы не можете добавлять вложения

Найти:
Перейти:  
cron
POWERED_BY
Русская поддержка phpBB
[ Time : 0.044s | 28 Queries | GZIP : On ]