This issue is seen on MuleSoft Anypoint Flex Gateway running on Linux Servers:
Flex Gateway Nodes/replicas disconnected to the Anypoint Platform, despite the service running properly.
"journalctl -u flex-gateway" shows the output of errors such as “registration configuration is missing" for the configured policies.
When the Flex Gateway service fails to connect to the Anypoint Platform, perform the following steps:
1. Run the command "sudo /usr/local/bin/flexctl registration inspect" to check for errors in the registration configuration.
2. Restart the Flex Gateway service using "systemctl restart flex-gateway" while monitoring live logs via "journalctl -u flex-gateway -f" to identify any errors.
3. Copy the registration.yaml file from "/usr/local/share/mulesoft/flex-gateway/conf.d" to "/etc/mulesoft/flex-gateway/conf.d" to ensure proper access, only when sudo user cannot access the registration file.
4. Restart the Flex Gateway service again to confirm that the issue is resolved and the node connects to the platform.
sudo systemctl restart flex-gateway
sudo systemctl status flex-gateway
005208542

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.