Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
410 views
in Technique[技术] by (71.8m points)

WSO2 Error: Unable to retrieve custom url info from APIM Admin API

I am using WSO2 3.2.0/docker-compose

And i have this setup for APIM (as reverse proxy using Nginx)

https://apim.mydomain.com/devportal

https://apim.mydomain.com/publisher

also i have this reverse proxy for the analytics dashboard:

https://apim-analytics.mydomain.com

however, when i open the dashboard i see this error in the web console and dark screen:

{"error":"Internal_Server_Error","description":"Error in login to the uri u0027analytics-dashboardu0027. Error: Unable to retrieve custom url info from APIM Admin API"}

i suspect the issue is here apim-analytics-dashboard/conf/dashboard/deployment.yaml (wrong configuration):

auth.configs:
  type: apim
  ssoEnabled: true
  properties:
    adminScope: apim_analytics:admin_carbon.super
    allScopes: apim_analytics:admin openid apim:api_view apim:subscribe apim_analytics:monitoring_dashboard:own apim_analytics:monitoring_dashboard:edit apim_analytics:monitoring_dashboard:view apim_analytics:business_analytics:own apim_analytics:business_analytics:edit apim_analytics:business_analytics:view apim_analytics:api_analytics:own apim_analytics:api_analytics:edit apim_analytics:api_analytics:view apim_analytics:application_analytics:own apim_analytics:application_analytics:edit apim_analytics:application_analytics:view
    adminUsername: admin
    adminPassword: admin
    kmDcrUrl: https://api-manager:9443/client-registration/v0.17/register
    kmTokenUrlForRedirection: https://api-manager:9443/oauth2
    kmTokenUrl: https://api-manager:9443/oauth2
    kmUsername: admin
    kmPassword: admin
    portalAppContext: analytics-dashboard
    businessRulesAppContext : business-rules
    cacheTimeout: 30
    baseUrl: https://apim-analytics.mydomain.com
    grantType: authorization_code
    publisherUrl: https://apim.mydomain.com/publisher
    devPortalUrl: https://apim.mydomain.com/devportal
    externalLogoutUrl: https://api-manager:9443/oidc/logout
    adminServiceBaseUrl: https://api-manager:9443
question from:https://stackoverflow.com/questions/65646752/wso2-error-unable-to-retrieve-custom-url-info-from-apim-admin-api

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

56.9k users

...