Error while installing notifications plugin

27 views
Skip to first unread message

Леонид Иванов

unread,
Jul 20, 2024, 12:14:41 PM (7 days ago) Jul 20
to Kill Bill users mailing-list
Hi Team,

I am trying to install notification plugin in killbill server using kpm and getting below error , can someone please help me to resolve it.

Error when install pluginKey: 'email-notifications' with coordinate. Exception: No account information found for authentication token [org.apache.shiro.authc.UsernamePasswordToken - admin, rememberMe=false] by this Authenticator instance. Please check that it is configured correctly.

killbill/killbill                          0.24.10
killbill/kaui                              latest
I changed the default administrator password and set environment variables in docker-compose:

  killbill:
    #image: killbill/killbill:0.24.4
    image: killbill/killbill:0.24.10
    container_name: killbill
    ports:
      - "8080:8080"
    environment:
      - KB_ADMIN_PASSWORD=555555

kaui:
    image: killbill/kaui:latest
    container_name: kaui
    ports:
      - "9090:8080"
    environment:
      - KILLBILL_KPM_USERNAME=admin
      - KILLBILL_KPM_PASSWORD=555555



karan bansal

unread,
Jul 21, 2024, 12:39:37 PM (6 days ago) Jul 21
to Kill Bill users mailing-list
Hi there,

Are you facing issue with installing any other plugin as well? Could you try using this image killbill/kaui:3.0.9 instead of latest tag and let me know if it helps.

Regards
Karan

Леонид Иванов

unread,
Jul 23, 2024, 12:07:26 AM (4 days ago) Jul 23
to Kill Bill users mailing-list
I installed a version 3.0.9 of kaui, but I still couldn't install the plugin. It was also not possible to install the catalog-test plugin:

2024-07-23T03:58:53.228Z ERROR
Exception thrown by subscriber method handleKillbillEvent(org.killbill.billing.notification.plugin.api.ExtBusEvent) on subscriber org.killbill.billing.osgi.KillbillEventRetriableBusHandler@1601798f when dispatching event: DefaultBusExternalEvent{objectId=null, accountId=null, tenantId=null, objectType=SERVICE_BROADCAST, eventType=BROADCAST_SERVICE}
2024-07-23T03:58:53.212Z ERROR
Error when install pluginKey: 'email-notifications' with coordinate. Exception: No account information found for authentication token [org.apache.shiro.authc.UsernamePasswordToken - admin, rememberMe=false] by this Authenticator instance.  Please check that it is configured correctly.
2024-07-23T03:58:53.209Z INFO
Notifying Kill Bill: state='NEW_VERSION', pluginKey='email-notifications', pluginVersion=0.8.0

2024-07-23T04:01:32.241Z ERROR
Fatal NotificationQ dispatch error, data corruption...
2024-07-23T04:01:32.240Z ERROR
Exception thrown by subscriber method handleKillbillEvent(org.killbill.billing.notification.plugin.api.ExtBusEvent) on subscriber org.killbill.billing.osgi.KillbillEventRetriableBusHandler@1601798f when dispatching event: DefaultBusExternalEvent{objectId=null, accountId=null, tenantId=null, objectType=SERVICE_BROADCAST, eventType=BROADCAST_SERVICE}
2024-07-23T04:01:32.226Z ERROR
Error when install pluginKey: 'catalog-test' with coordinate. Exception: No account information found for authentication token [org.apache.shiro.authc.UsernamePasswordToken - admin, rememberMe=false] by this Authenticator instance.  Please check that it is configured correctly.

  killbill:

    image: killbill/killbill:0.24.10
    container_name: killbill
    ports:
      - "8080:8080"
    environment:
      - KILLBILL_DAO_URL=jdbc:postgresql://db2:5432/killbill
      - KILLBILL_DAO_USER=billing
      - KILLBILL_DAO_PASSWORD=1111
      - KILLBILL_CATALOG_URI=SpyCarAdvanced.xml
      - KB_ADMIN_PASSWORD=55555
    depends_on:
      - db2                  

  kaui:
    image: killbill/kaui:3.0.9

    container_name: kaui
    ports:
      - "9090:8080"
    environment:
      - KAUI_DB_ADAPTER=postgresql
      - KAUI_DB_URL=jdbc:postgresql://db2:5432/kaui
      - KAUI_DB_USERNAME=billing
      - KAUI_DB_PASSWORD=1111
      - KAUI_CONFIG_DAO_URL=jdbc:postgresql://db2:5432/kaui
      - KAUI_CONFIG_DAO_USER=billing
      - KAUI_CONFIG_DAO_PASSWORD=1111
      - KAUI_KILLBILL_URL=http://killbill:8080
      - KILLBILL_KPM_USERNAME=admin
      - KILLBILL_KPM_PASSWORD=55555
    depends_on:
      - db2   

воскресенье, 21 июля 2024 г. в 19:39:37 UTC+3, karan bansal:

Леонид Иванов

unread,
Jul 23, 2024, 4:26:45 AM (4 days ago) Jul 23
to Kill Bill users mailing-list
When I restore the default password (admin, password), the plugins are installed normally.

  killbill:
    #image: killbill/killbill:0.24.4
    image: killbill/killbill:0.24.10
    container_name: killbill
    ports:
      - "8080:8080"
    environment:
      - KILLBILL_DAO_URL=jdbc:postgresql://db2:5432/killbill
      - KILLBILL_DAO_USER=billing
      - KILLBILL_DAO_PASSWORD=111
      - KILLBILL_CATALOG_URI=SpyCarAdvanced.xml
      #- KB_ADMIN_PASSWORD=55555

    depends_on:
      - db2                  

  kaui:
    image: killbill/kaui:3.0.9
    #image: killbill/kaui:latest

    container_name: kaui
    ports:
      - "9090:8080"
    environment:
      - KAUI_DB_ADAPTER=postgresql
      - KAUI_DB_URL=jdbc:postgresql://db2:5432/kaui
      - KAUI_DB_USERNAME=billing
      - KAUI_DB_PASSWORD=111
      - KAUI_CONFIG_DAO_URL=jdbc:postgresql://db2:5432/kaui
      - KAUI_CONFIG_DAO_USER=billing
      - KAUI_CONFIG_DAO_PASSWORD=111
      #- KAUI_CONFIG_DAO_URL=jdbc:mysql://db:3306/kaui
      #- KAUI_CONFIG_DAO_USER=root
      #- KAUI_CONFIG_DAO_PASSWORD=killbill
      - KAUI_KILLBILL_URL=http://killbill:8080
      #- KILLBILL_KPM_USERNAME=admin
      #- KILLBILL_KPM_PASSWORD=55555
    depends_on:
      - db2  

вторник, 23 июля 2024 г. в 07:07:26 UTC+3, Леонид Иванов:

Леонид Иванов

unread,
Jul 23, 2024, 4:43:58 AM (4 days ago) Jul 23
to Kill Bill users mailing-list
1.png


When I restore a new password, the plugin is disabled when restarting docker:

2.png

 
Reply all
Reply to author
Forward
0 new messages