I keep getting the error: "Connection fail. Please check Source Host. "
The error message "Connection fail. Please check Source Host" appears when Stock Sync cannot connect to your configured data source after running a feed. This typically indicates an issue with how the source URL, credentials, or server settings are configured.
How to Resolve "Connection Fail" Error
- Check Hostname Format: Ensure the hostname does not include
http://,https://, or any folder paths — it should only be the server address (e.g.,ftp.example.com) or an IP address. - Verify Protocol Selection: Confirm that the correct protocol type is selected (FTP, FTPS, or SFTP). An incorrect protocol will cause connection failures.
- Validate Credentials: Ensure the username and password are correct and not missing. Note: passwords will not display in the UI, so verify them carefully.
- Confirm File Path Accuracy: Check that the directory path and filename do not contain typos and that the file actually exists on the server.
- Check IP Whitelisting: If your server requires IP whitelisting, ensure Stock Sync's IP address (
52.20.189.51) is whitelisted on your end. - Test Connection Independently: Use an FTP/SFTP client to test the connection from your end and confirm you can retrieve the inventory data successfully.
Troubleshooting Steps
- Issue: "Connection fail. Please check Source Host." error appears after running the feed → Solution: Check hostname format, protocol type, and credentials in Feed Settings.
- Issue: Connection fails due to server restrictions → Solution: Whitelist Stock Sync's IP address (
52.20.189.51) on your server or contact your hosting provider. - Issue: Username or password is incorrect or missing → Solution: Re-enter the correct credentials in the feed configuration (passwords are hidden in the UI).
- Issue: File or directory path contains a typo → Solution: Verify the exact file path and filename on the server, ensuring no typos exist.
- Issue: Connection succeeds but feed cannot be found → Solution: Confirm the file exists at the specified path and check if a specific template format is required.
Good Articles to Continue
- How to Set Up FTP/FTPS/SFTP Connections → Learn how to correctly configure your file transfer protocol settings in Stock Sync.
- Troubleshooting Feed Sync Errors → Common feed sync issues and their solutions for various data sources.
- How to Test Your Data Source Connection → Step-by-step guide to verify your source connection works independently of Stock Sync.
Updated on: 17/11/2026
Thank you!
