Delivery errors occur when Modalius cannot successfully send a file to its destination. This guide explains the different error types and how to resolve them.
Delivery Error Types
| Error | Severity | Description |
|---|---|---|
| DNS Lookup Error | Critical | Server hostname cannot be resolved |
| Connection Timeout | Critical | Server did not respond in time |
| Connection Refused | Critical | Server actively rejected the connection |
| Host Key Mismatch | Critical | SFTP server's host key changed unexpectedly |
| Authentication Failed | Recoverable | Could not authenticate with server credentials |
| Bad Response | Recoverable | Server returned an invalid or unexpected response |
| Missing Directory | Recoverable | Configured directory doesn't exist on server |
Resolving Critical Errors
DNS Lookup Error
The server hostname cannot be found.
Steps to resolve:
- Verify the server address is spelled correctly in your connection settings
- Confirm the hostname with your partner - it may have changed
- Check if the partner's DNS records are properly configured
Connection Timeout
The server did not respond within the allowed time.
Steps to resolve:
- Check if your partner's server is online and operational
- Verify there are no network issues between systems
- Contact your partner to confirm their server is accessible
- Retry after a few minutes - this may be a temporary issue
Connection Refused
The server actively rejected the connection attempt.
Steps to resolve:
- Verify the port number is correct (default SFTP port is 22)
- Check if your partner's firewall allows connections from Modalius
- Confirm the SFTP service is running on the partner's server
- Your IP may need to be added to the partner's allowlist
Host Key Mismatch (HOST_KEY_MISMATCH)
Security Alert: The server's identity key has changed. This could indicate a security issue or a legitimate server change by your partner.
A HOST_KEY_MISMATCH error occurs when the SFTP server's host key no longer matches the key Modalius has on record. This typically happens when a partner migrates to a new server, reinstalls their SFTP software, or rotates their server keys.
Steps to resolve:
- Contact your partner to confirm they intentionally changed their server key (e.g., server migration, key rotation, or software reinstall)
- If confirmed, update the host key in your connection settings to match the partner's new key
- If not confirmed, do not update the key - this could be a security threat and should be investigated further
- Once the host key is updated, retry delivery for any files that failed with this error
Resolving Recoverable Errors
Authentication Failed
The username or password was rejected by the server.
Steps to resolve:
- Verify the credentials haven't changed or expired
- Check for extra spaces in the username or password
- Contact your partner to confirm the business unit's SFTP credentials are still active
- Update the credentials in your connection settings if needed
Missing Directory
The configured delivery directory doesn't exist on the server.
Steps to resolve:
- Verify the directory path in your connection rule settings
- Contact your partner to confirm the correct path
- Check if the business unit has permission to access the directory
- Update the directory path if it has changed
Connection Enable/Disable
Connections in Modalius can be enabled or disabled. Understanding this behavior helps explain why files may not be delivering as expected.
When a connection is disabled: Files destined for that connection are queued, not errored. They will remain in the queue until the connection is re-enabled.
When a connection is re-enabled: All queued files are automatically delivered without any manual intervention.
If files appear stuck in a delivering state but are not producing errors, check whether the destination connection has been temporarily disabled. A disabled connection is different from a connection error -- files are intentionally held rather than failing.
Connection Health Monitoring
Modalius monitors all connections and shows their health status:
| Status | Meaning | Action |
|---|---|---|
| Green | Operational - no issues | No action needed |
| Yellow | Reachable but has issues | Review connection activity for details |
| Red | Unreachable | Immediate attention required |
| Gray | Never tested | Test the connection |
Automatic Recovery
When a connection becomes unreachable, Modalius automatically:
- Queues files - Files waiting for delivery are held until the connection recovers
- Tests periodically - The system automatically tests the connection until it recovers
- Releases queued files - When the connection recovers, queued files are automatically delivered
- Notifies you - You'll receive notifications about connection issues and recovery
Tip: Check the Connection Activity log for detailed history of all connection attempts and their results.
Comments
0 comments
Please sign in to leave a comment.