This article provides a solution for the issue where the Magento Order Management System (OMS) for Adobe Commerce cannot register the locally installed micro-service with MOM using ngrok, because MOM times out when trying to callback.
Disclaimer: Adobe Commerce does not recommend or endorse any particular tool for establishing tunnels. The preceding are suggestions only. For more information, consult the ngrok documentation.
Steps to reproduce
Connection established successfully.
MCOM seems to timeout when trying to callback to the ngrok URL.
One of the possible reasons for the timeout is that servers are located geographically too far away, and connection takes too much time.
Add a parameter specifying your region when starting ngrok. Like the following:
./ngrok http 80 -region eu
The default region is US. See all possible values.