I created the sample micro-integrator project using integration studio which runs fine while running in Embedded Micro-Integrator. But when deployed the same via docker, the endpoint seems to be unreachable.
Deployment command:
docker run -it -p 8290:8290 -p 8253:8253 --name micro-integrator oprabin/wso2mi:1.0.0
There is no issue with the deployment but when the integrated project is triggered via postman, the following log shows up.
[2022-03-20 04:01:01,129] INFO {TimeoutHandler} - This engine will expire all callbacks after GLOBAL_TIMEOUT: 120 seconds, irrespective of the timeout action, after the specified or optional timeout
[2022-03-20 04:01:01,137] WARN {ConnectCallback} - Connection refused or failed for : localhost/127.0.0.1:9090
[2022-03-20 04:01:01,142] WARN {EndpointContext} - Endpoint : GrandOakEP with address http://localhost:9090/grandoaks/categories/{uri.var.category}/reserve will be marked SUSPENDED as it failed
[2022-03-20 04:01:01,143] WARN {EndpointContext} - Suspending endpoint : GrandOakEP with address http://localhost:9090/grandoaks/categories/{uri.var.category}/reserve - current suspend duration is : 30000ms - Next retry after : Sun Mar 20 04:01:31 GMT 2022
The endpoint has no issue and is up and running when checked separately. The endpoint URL is:
http://localhost:9090/grandoaks/categories/{uri.var.category}/reserve