SFTP/FTP: Common Errors and Troubleshooting
When using the FTP or SFTP connector in Skyvia, you may encounter various errors due to connection misconfiguration or server access issues. Below are the most common errors, their likely causes, and steps to resolve them.
1. Invalid Private Key (SFTP)
Skyvia requires OpenSSH-format private keys for SFTP connections. If you see this error, make sure your key is properly converted. To convert a private key using PuTTY Key Generator tool: - Open PuTTY Key Generator.
- Go to File > Load private key and select your key.
- Navigate to Conversions > Export OpenSSH key and save the file.
- Use the newly generated key in your Skyvia SFTP connection.
2. No such file
This error typically occurs due to incomplete IP whitelisting on your server. Even if the Skyvia website can connect, the runtime environment may be blocked.
Solution: Make sure all Skyvia IP addresses are whitelisted on your FTP/SFTP server:
- 40.118.246.204
- 13.86.253.112
- 52.190.252.0
3. No such host is known
This usually indicates that Skyvia cannot resolve your FTP/SFTP server’s hostname.
Solution:
- Check that your server’s DNS name is correct and publicly accessible.
- Whitelist all three Skyvia IP addresses listed above.
Below are the articles that provide a deeper look into the topic:
4. Permission Denied / Access Denied
This error occurs when the FTP/SFTP user lacks access rights to the specified folder or file.
Solution:
- Verify user permissions on the server.
- Ensure the file path is correct.
- Confirm all Skyvia IPs are whitelisted:
- 40.118.246.204
- 13.86.253.112
- 52.190.252.0
5. Timed out trying to read data from the socket stream
This error can happen if ports are blocked by your server or firewall.
Solution:
- Ensure the server is accessible on standard ports: 21 for FTP, 22 for SFTP.
- Check firewall rules and server network settings.
You can follow this link to learn more about the possible causes of timeout issues.
Following these steps will help you quickly identify and resolve the most common FTP/SFTP connector issues in Skyvia.