Loading
Connect in real time with the Trailblazer Community in Slack Open BetaRead More

Agent Network 2.0 broker fails "connection validation" — managed egress gateway not listening on port 8082 after Anypoint Code Builder upgrade

Publish Date: Sep 25, 2026
Description
The Agent Network 2.0 broker entered a crash and restart loop after deployment because connection validation failed at startup for all configured LLM and MCP connections. All failed connections targeted http://agent-network-gw:8082, which appeared unreachable from the CloudHub 2.0 replica.
Resolution

1. In API Manager, open the agent network API instances for the affected environment and verify which port each connection is registered on. Confirm whether the broker is targeting port 8082 for its LLM and MCP connections.
2. Delete the existing older egress connections for the agent network in API Manager so that stale registrations on an earlier port do not block the current egress port from being used.
3. Redeploy the agent network project so the connections are recreated and re-registered on the current egress port 8082.
4. Restart the broker and confirm the startup log no longer shows failed connection validation and that the broker starts successfully.
5. If needed, use the documented gateway setup command for recovery and reference the product documentation: anypoint-cli-agent-fabric-plugin agent-network setup gateways --target-space my-space. Documentation: https://docs.mulesoft.com/agent-network/2.0/af-build-agent-networks-in-a-ci-cd-environment and https://docs.mulesoft.com/general/agent-fabric-release-notes

Knowledge Article Number

005459376

 
Loading
Salesforce Help | Article