API key and Application deployment fails on Portal
search cancel

API key and Application deployment fails on Portal

book

Article ID: 380887

calendar_today

Updated On:

Products

CA API Developer Portal

Issue/Introduction

API key and Application deployment fails on proxy gateway's.

Environment

API Portal 5.2.x

Resolution

Take Snapshot of Portal VM before doing changes to the application.

  1. Log in into the rabbitmq container shell as shown below:
docker exec -it <container id of the  rabbitmq container> sh

     2. Run this command to check the MQTT subcriptions for tenantid.

$ rabbitmqctl list_queues name messages consumers | grep "proxy_uuid"

     3. Delete all MQTT subcriptions which DO NOT have a consumer.

$ rabbitmqctl delete_queue <mqtt-subscription-name> -if-unused

     4. Connect to Policy Manager on Tenant Gateway Master Node and toggle "portal.deployer.enabled" cluster-wide-property from "true" to "false" and back to "true".