forum.bitel.ru http://forum.bitel.ru/ |
|
Проблема обрыва сессий до/по таймауту. [РЕШЕНО] http://forum.bitel.ru/viewtopic.php?f=44&t=8817 |
Страница 1 из 1 |
Автор: | Магнитка.RU [ 09 янв 2014, 17:39 ] |
Заголовок сообщения: | Проблема обрыва сессий до/по таймауту. [РЕШЕНО] |
Здравствуйте настроили bgbilling 6й (1268 от 26.11.2013) версии для схемы IPOE+dhcp.82+Redback(SE100). Проблема: При подключении клиента ему выдается адрес, но после 15минут(=900сек) когда с redback'a уходит interim запрос радиус обрывает соединение POD пакетом, хотя таймауты выставлены вроде бы верно connection.close.timeout=1200 > interim=900 , подскажите пожалуйста в чем может заключаться проблема ? Конфиг биллинга: Цитата: connection.start.fromUpdate=2 connection.start.fromAccept=1 connection.suspend.timeout=1200 connection.close.timeout=1200 connection.finish.timeout=3 connection.close.timeout.forceClose=1 const.access.attributes=IP-Interface-Name=CLIENTS;DHCP-Max-Leases=1;Acct-Interim-Interval=900 redirect.attributes=HTTP-Redirect-Profile-Name=NOAUTH;Forward-Policy=in:NOAUTH-IPOE;Acct-Interim-Interval=900 Конфиг редбэка: Цитата: aaa update subscriber 10 radius accounting timeout 10 radius service profile RSE-SVC-EXT seq 10 attribute Service-Interim-Accounting 900 radius service profile RSE-SVC-INT seq 10 attribute Service-Interim-Accounting 900 Лог inet-access на момент таймаута сессии. Цитата: connection 01-09/17:00:08 INFO [sa-p-13-t-4] ServiceActivatorSet - Connecting to device [148/4570]
connection 01-09/17:00:08 DEBUG [sa-p-13-t-4] AcknowledgeConsumer - Caught BGInetAccounting:Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModi fyEvent] moduleId: 1; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 3; inetServId: 6; connectionId: 48079; state: 0; accessCode: 63; timestamp: 1389265208 340 connection 01-09/17:00:08 INFO [sa-p-13-t-4] ServiceActivatorDeviceWorker - Do task deviceId: 3; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaSta teModifyEvent] moduleId: 1; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 3; inetServId: 6; connectionId: 48079; state: 0; accessCode: 63; timestamp: 1389 265208340 connection 01-09/17:00:08 INFO [sa-p-13-t-4] InetApplication - TariffOptionMap: {} connection 01-09/17:00:08 INFO [sa-p-13-t-4] InetApplication - OptionSet: [1] connection 01-09/17:00:08 INFO [sa-p-13-t-4] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=2; inetServId: 6; call: true; oldSt ate: 1; newState: 0; oldOptionSet: 1; newOptionSet: 1 connection 01-09/17:00:08 INFO [sa-p-13-t-4] ServiceActivatorDeviceWorker - Processing deviceId:3; command ServiceActivatorEvent type=2; inetServId: 6; call: tr ue; oldState: 1; newState: 0; oldOptionSet: 1; newOptionSet: 1 connection 01-09/17:00:08 INFO [sa-p-13-t-4] ServiceActivatorSet - Invoking connectionModify connection 01-09/17:00:08 INFO [sa-p-13-t-4] SmartEdgeServiceActivator - Connection modify: oldState: 1; newState: 0; oldOptionSet: [1]; newOptionSet: [1] connection 01-09/17:00:08 INFO [sa-p-13-t-4] SmartEdgeServiceActivator - Connection close connection 01-09/17:00:08 INFO [sa-p-13-t-4] SmartEdgeServiceActivator - Send PoD: Packet type: Disconnect-Request Identifier: 1 Authenticator: {A1 A2 56 F5 DD A9 76 57 21 A5 79 26 64 14 35 66} Attributes: Acct-Session-Id=0101FFFF780052D2-52CE7DB0 connection 01-09/17:00:08 INFO [sa-p-13-t-4] RadiusClient - Sending to /10.0.0.11:3799 Packet type: Disconnect-Request Identifier: 1 Authenticator: {A1 A2 56 F5 DD A9 76 57 21 A5 79 26 64 14 35 66} Attributes: Acct-Session-Id=0101FFFF780052D2-52CE7DB0 connection 01-09/17:00:08 INFO [sa-p-13-t-4] DatagramChannelListener - ru.bitel.bgbilling.kernel.network.radius.RadiusClient$RadiusDatagramChannelListener socke t init ok. connection 01-09/17:00:08 INFO [sa-p-13-t-4] ServiceActivatorDeviceWorker - Process event type[2] result=true connection 01-09/17:00:08 INFO [rds-clnt-/10.0.0.11-3799] RadiusClient - Recieved from /10.0.0.11:3799 Packet type: Disconnect-ACK Identifier: 1 Authenticator: {7C CC 74 06 1C 4E 7D 92 46 7D 3B DD 9D 17 B6 E0} Attributes: Error-Cause=200 Event-Timestamp=1389265208 connection 01-09/17:00:09 DEBUG [sa-p-13-t-4] AcknowledgeConsumer - Caught BGInetAccounting:Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaAccountin gEvent] moduleId: 1; pluginId: no; cid: 1; scid: -1; userId: 0; type: 2; deviceId: 3; connectionId: 48080; timestamp: 1389265209342 connection 01-09/17:00:09 INFO [sa-p-13-t-4] ServiceActivatorDeviceWorker - Do task deviceId: 3; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaAcc ountingEvent] moduleId: 1; pluginId: no; cid: 1; scid: -1; userId: 0; type: 2; deviceId: 3; connectionId: 48080; timestamp: 1389265209342 connection 01-09/17:00:09 INFO [sa-p-13-t-4] InetApplication - TariffOptionMap: {} connection 01-09/17:00:09 INFO [sa-p-13-t-4] InetApplication - OptionSet: [1] connection 01-09/17:00:09 INFO [sa-p-13-t-4] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=5; inetServId: 6; call: true; oldSt ate: 1; newState: 1; oldOptionSet: 1; newOptionSet: 1 connection 01-09/17:00:09 INFO [sa-p-13-t-4] ServiceActivatorDeviceWorker - Processing deviceId:3; command ServiceActivatorEvent type=5; inetServId: 6; call: tr ue; oldState: 1; newState: 1; oldOptionSet: 1; newOptionSet: 1 connection 01-09/17:00:09 INFO [sa-p-13-t-4] ServiceActivatorSet - Invoking onAccountingStop connection 01-09/17:00:09 INFO [sa-p-13-t-4] ServiceActivatorDeviceWorker - Process event type[5] result=true connection 01-09/17:00:09 DEBUG [sa-p-13-t-4] AcknowledgeConsumer - Caught BGInetAccounting:Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaAccountin gEvent] moduleId: 1; pluginId: no; cid: 1; scid: -1; userId: 0; type: 2; deviceId: 3; connectionId: 48079; timestamp: 1389265209373 connection 01-09/17:00:09 INFO [sa-p-13-t-4] ServiceActivatorDeviceWorker - Do task deviceId: 3; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaAcc ountingEvent] moduleId: 1; pluginId: no; cid: 1; scid: -1; userId: 0; type: 2; deviceId: 3; connectionId: 48079; timestamp: 1389265209373 connection 01-09/17:00:09 INFO [sa-p-13-t-4] InetApplication - TariffOptionMap: {} connection 01-09/17:00:09 INFO [sa-p-13-t-4] InetApplication - OptionSet: [1] connection 01-09/17:00:09 INFO [sa-p-13-t-4] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=5; inetServId: 6; call: true; oldSt ate: 1; newState: 1; oldOptionSet: 1; newOptionSet: 1 connection 01-09/17:00:09 INFO [sa-p-13-t-4] ServiceActivatorDeviceWorker - Processing deviceId:3; command ServiceActivatorEvent type=5; inetServId: 6; call: tr ue; oldState: 1; newState: 1; oldOptionSet: 1; newOptionSet: 1 connection 01-09/17:00:09 INFO [sa-p-13-t-4] ServiceActivatorSet - Invoking onAccountingStop connection 01-09/17:00:09 INFO [sa-p-13-t-4] ServiceActivatorDeviceWorker - Process event type[5] result=true |
Автор: | Amir [ 09 янв 2014, 19:50 ] |
Заголовок сообщения: | Re: Проблема обрыва сессий до/по таймауту. |
Цитата: Caught BGInetAccounting:Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModi accessCode - если не 0 - это ошибка авторизации: http://bgbilling.ru/v6.0/doc/ch17s20.htmlfyEvent] moduleId: 1; pluginId: no; cid: 1; scid: -1; userId: 0; deviceId: 3; inetServId: 6; connectionId: 48079; state: 0; accessCode: 63; timestamp: 1389265208 340 С первым UPDATE-пакетом приходит информация по трафику, которая извлекается с помощью привязки трафика, указанной в типе сервиса Inet. Далее идет попытка этот трафик протарифицировать, но т.к. в тарифе нет цены, возникает ошибка, поэтому идет отключение сессии. В конфигурации модуля есть параметр (применяется после перезапуска): Цитата: # Проверка цены в тарифе: 0 - проверка отсутствует, 1 - ошибка только если у сессии есть трафик определённого типа,
# но для него нет цены, 2 - ошибка если хотя бы для одного типа трафика в привязке типа сервиса нет цены (по умолчанию - 1) #accounting.tariffication.checkPrice=1 |
Автор: | Магнитка.RU [ 10 янв 2014, 14:58 ] |
Заголовок сообщения: | Re: Проблема обрыва сессий до/по таймауту. |
Спасибо решили проблему, выставление параметра в accounting.tariffication.checkPrice=0 непомогло для 6ой версии биллинга, а вот выставление цен в тарифе решило проблему. |
Страница 1 из 1 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |