How to point out the WSO2 MI from MI-DASHBOARD in version 4.0.0 on containers
See original GitHub issueDescription: Starting WSO2 MI 4.0.0 and MI-DASHBOARD 4.0.0 together in a docker compose, after browse http://localhost:9743 and set the credentials, the dashboard cannot connect to the MI Server printing the following error:
dashboard | [2021-05-13 11:41:01,891] ERROR {LoginDelegate} - No running micro integrator instances found. Please start a server and login.
Is there any environment variable to be able to set the proper value on containers?
Suggested Labels:
Suggested Assignees:
Affected Product Version: WSO2 MI 4.0.0 and WSO2 MI-DASHBOARD 4.0.0
OS, DB, other environment details and versions: MacOs Catalina
Steps to reproduce:
From the following docker-compose.yml file:
version: '3.8'
networks:
local:
services:
micro-integrator:
container_name: "micro-integrator"
image: wso2/wso2mi:4.0.0
ports:
- "8290:8290"
- "8253:8253"
- "9164:9164"
#environment:
# - JAVA_OPTS="-DenablePrometheusApi=true -Dcom.sun.management.jmxremote.port=9010 -Dcom.sun.management.jmxremote.rmi.port=9010 -Dcom.sun.management.jmxremote.local.only=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=0.0.0.0"
volumes:
- ./api/Echo.xml:/home/wso2carbon/wso2mi-4.0.0/repository/deployment/server/synapse-configs/default/api/Echo.xml
- ./api/Hello.xml:/home/wso2carbon/wso2mi-4.0.0/repository/deployment/server/synapse-configs/default/api/Hello.xml
networks:
- local
dashboard:
container_name: "dashboard"
image: wso2/wso2mi-dashboard:4.0.0
ports:
- "9743:9743"
environment:
- DASHBOARD_CONFIG_URL=http://micro-integrator:9164
networks:
- local
depends_on:
- micro-integrator
Start both products:
$ docker compose up
Then, go to https://localhost:9743/login.
Related Issues:
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Run the MI Dashboard - WSO2 API Manager Documentation ...
Upgrade Micro Integrator Dashboard to version 4.0.1 or above to enable this ... Navigate to the <MI-DASHBOARD_HOME>/bin folder from your command line.
Read more >Install the MI Dashboard - WSO2 API Manager Documentation ...
Go to the WSO2 Micro Integrator web page, click Download, and then click Other Resources/MI Dashboard to download the MI Dashboard as a...
Read more >Micro Integrator - WSO2 API Manager Documentation 4.0.0
MI performance test all-in-one deployment. Name, EC2 Instance Type, vCPU, Mem(GiB) ... The operating system is Ubuntu 18.04.5 LTS; Java version is JDK...
Read more >Set up MI Analytics - WSO2 API Manager 4.0.0
MI Analytics consists of two components: Server and Portal. The server processes the data streams that are sent from the Micro Integrator and...
Read more >MI Dashboard Config Catalog
This is the 4.0.0 documentation of the WSO2 API Manager! Please refer the latest released documentation. 4.0.0.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the suggestion @serrodcal . Updated the DockerHub with the relevant info.
Closing this issue since a resolution is achieved. Please re-open if any issue arises in future.
Yeah, finally I could connect MI server with MI dashboard. It would be great to have further information in the docker hub itself, something like a short README with some links. Sometimes, it’s a little bit difficult to find the proper information.
Thanks a lot for your help.