BRSA202E Unable to connect to Zowe API Mediation Layer and register
search cancel

BRSA202E Unable to connect to Zowe API Mediation Layer and register

book

Article ID: 441473

calendar_today

Updated On:

Products

WatchTower

Issue/Introduction

After applying maintenance or performing an IPL, Alert Insights (WatchTower) fails to register with the Zowe API Mediation Layer (ML). The alert-insights-api logs may display the following error:

BRSA202E Unable to connect to Zowe API Mediation Layer and register or update the service information: [SERVICE_ID]/[HOSTNAME]:[PORT]

Environment

  • Product: WatchTower / Alert Insights
  • Platform: Kubernetes
  • Integration: Zowe API Mediation Layer

Cause

In certain Kubernetes environments, communication between the environment and the image repository (e.g., Artifactory) requires specific authorization that may have a short expiration time. If this authorization expires, the system fails to pull container images upon restart, leading to registration failures.

Additionally, if the imagePullPolicy is not optimally configured, the system may attempt to pull images unnecessarily when they are already available locally.

Resolution

Note : Resolution for this case 

The problem was that Kubernetes environment requires an specific way to authorize the communication between it and Artifactory. That authorization has an short expiration time and when it restarts pulling the container images fails with an authorization error.  Customer needs to look for a way to use a certificate instead. We did make sure that the Pull Policy is set to IfNotPresent.

 

 

Additional Information

If the issue persists, enable debug logging for the Zowe API Mediation Layer to capture detailed registration attempts:

  1. Update the zowe.yaml file to include:
    yaml
     
    components:  gateway:    debug: true
  2. Restart the Zowe API Mediation Layer.
  3. Check the Zowe logs for any entries related to Alert Insights after the restart.