Figured out your issue. Simply
- You are using different versions of
- WSO2 API Manager (E.g: wso2am-3.2.0)
- WSO2 APIM Analytics Dashboard and Worker (E.g: wso2am-analytics-3.1.0)
In order to verify if above is the issue you have,
Goto deployment.toml of wso2am-analytics: dashboard profile (E.g: /home/wso2carbon/wso2am-analytics-3.1.0/conf/dashboard/deployment.yaml)
Change following param values of each key value pair of auth.configs:
publisherUrl: https://mgt-apim:9443
devPortalUrl: https://mgt-apim:9443
You should get an error similar to bewlow,
Exception occurred :No subject alternative DNS name matching mgt-apim found. executing GET https://mgt-apim:9443/api/am/admin/v0.16/custom-urls/carbon.super
Reason for above error is mismatching versions of API Manager and API Manager analytics.
Note: If further help is needed please refer to this sample config,
sample_wso2_apim_analytics_dashboard.yaml