MuleSoft · Mule runtime
MULE:CONNECTIVITY
Short answer
MULE:CONNECTIVITY means there was a problem establishing a connection. It is the parent of connector errors such as DB:CONNECTIVITY and FTP:CONNECTIVITY, so find the connector named in the log and fix or retry its connection.
VerifiedLast verified
01Error text
Error type: MULE:CONNECTIVITY02Likely causes
- There was a problem establishing a connection.
- With no reconnection strategy, the default behavior is for the operation to fail immediately and return a connectivity error.
03How to fix it
- Read the namespace of the error in the log, such as
DBorFTP, to see which connector failed. - Check that connector's connection configuration for this environment.
- Add a reconnection strategy to the connection:
<reconnect>retries a set number of times (count, default 2, everyfrequencymilliseconds, default 2000), and<reconnect-forever>keeps trying. - Set
failsDeployment="true"on<reconnection>if the app should not deploy when the connection test fails.
04Official documentation
→Related errors
- DB:CONNECTIVITYDB:CONNECTIVITY covers several possible connection problems in Database Connector, including a poorly configured connection, no response from the database and a lost connection. Check the connection configuration first, then add a reconnection strategy.
- HTTP:CONNECTIVITYHTTP:CONNECTIVITY means the HTTP Request operation could not establish a connection to the server. Check the host, port, protocol and TLS settings, and add your own retry because the operation does not use the reconnection strategy for retries.
- MULE:RETRY_EXHAUSTEDMULE:RETRY_EXHAUSTED means every retry of an execution block failed, most often an Until Successful scope whose final retry did not succeed. Fix the error that the processors inside the scope keep raising, or adjust maxRetries and millisBetweenRetries.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for MuleSoft work:Open MuleSoft jobsMuleSoft rates and salariesHire a senior MuleSoft developer