Slackbot
07/30/2025, 9:24 AMkapa.ai
07/30/2025, 9:24 AMCould not connect with provided configuration. Error: HikariPool-1 - Connection is not available, request timed out after 60000ms. This can be caused by: - Network issues (e.g., VPC/firewall not allowing Airbyte to reach MySQL) - Incorrect host/port configuration - MySQL server not accepting connections from Airbyte's IP - SSL/TLS misconfiguration Troubleshooting: - Ensure your MySQL instance is accessible from the Airbyte deployment (test with mysql CLI from the same host/container). - For Amazon RDS, check VPC and security group settings. See [AWS troubleshooting checklist](https://aws.amazon.com/premiumsupport/knowledge-center/rds-cannot-connect/) for more details. - If using SSL, ensure the correct certificates and parameters are set. - For RDS, add enabledTLSProtocols=TLSv1.2 in JDBC parameters if you see Cannot create a PoolableConnectionFactory error or similar connection issues [Troubleshooting MySQL Sources](https://docs.airbyte.com/integrations/sources/mysql/mysql-troubleshooting#troubleshooting). ### 2. "Bad Handshake" or "Non-JSON Response" Errors Some users report "bad handshake" or "non-json response" errors, especially with newer MySQL versions (8.x) or certain configurations. This can be due to: - Incompatibility between MySQL server/client versions - SSL/TLS negotiation issues - Authentication plugin mismatches Troubleshooting: - Try downgrading MySQL server to 5.7 or 5.6 if possible, as some users have found this resolves handshake issues with Airbyte [Source MySQL - Bad Handshake](https://discuss.airbyte.io/t/3099). - Double-check SSL settings and try both with and without SSL. - Ensure the MySQL user is allowed to connect from the Airbyte host and is using a supported authentication plugin (e.g., mysql_native_password) [Source MYSQL - BAD HANDSHAKE](https://github.com/airbytehq/airbyte/issues/18673). ### 3. SSH Tunnel Issues If connecting via SSH tunnel, ensure: - SSH credentials are correct - The SSH server allows tunneling - The MySQL host/port is correct from the SSH server's perspective ### 4. Permissions and Configuration - The MySQL user must have CREATE, INSERT, SELECT, DROP permissions. - For MySQL destination, set local_infile=1 and ensure the user has SYSTEM_VARIABLES_ADMIN privilege if using Airbyte's default loading method [MySQL Destination Docs](https://docs.airbyte.com/integrations/destinations/mysql#mysql). ### 5. Other Common Issues - For MariaDB, similar connection issues can occur; check JDBC driver compatibility and network access [Source MySQL - Maridb connect for source and destination fails](https://github.com/airbytehq/airbyte/issues/18307). - If you see "Communications link failure" or "Connection refused," double-check network/firewall settings and MySQL server logs. --- If you provide the specific error message or log snippet, I can help narrow down the root cause further. If the above steps do not resolve your issue, please share more details about your Airbyte version, MySQL version, deployment method, and the exact error message.kapa.ai
07/30/2025, 9:25 AMkapa.ai
07/30/2025, 9:25 AM2025-07-30 14:51:04 info Connector exited with exit code 0 ... 2025-07-30 14:51:05 info Marking workload ... as successful 2025-07-30 14:51:05 info Deliberately exiting process with code 0. This suggests that, from Airbyte's perspective, the connection check completed successfully and no explicit error was encountered during the process. However, if you are still experiencing issues connecting to MySQL (for example, if the connection is not actually established or data is not syncing), here are some possible next steps based on similar issues in the knowledge sources: 1. Check for Downstream Errors: Sometimes, even if the check step passes, issues can occur during schema discovery or sync. Review the logs for subsequent steps for any errors or warnings. 2. SSL Configuration: Your logs mention SSL mode: required. There are known issues with SSL enforcement and MySQL, especially if the user is set to REQUIRE SSL. In some cases, Airbyte or its underlying libraries may not handle SSL correctly for all operations, particularly for CDC (Change Data Capture) or binlog access. If you encounter errors related to SSL or authentication, review your MySQL user and SSL settings. Temporarily disabling REQUIRE SSL for the user has resolved issues for some users, but this may not be acceptable for your security policy. There is an open question about full SSL support for CDC in Airbyte with MySQL [Mysql CDC is not working when option user require ssl is enabled](https://discuss.airbyte.io/t/2958). 3. Non-JSON Response or Handshake Errors: If you see "non-json response" or "bad handshake" errors in other logs, this can be due to authentication plugin mismatches or SSL negotiation issues. Ensure your MySQL user is using a supported authentication plugin (e.g., mysql_native_password) and that your Airbyte connector version is compatible with your MySQL server version [Source MYSQL - BAD HANDSHAKE](https://github.com/airbytehq/airbyte/issues/18673). 4. Network and Firewall: If the connector check passes but sync fails, double-check that your Airbyte deployment can reach the MySQL server on the required port from all relevant pods or containers. If you have a specific error message or issue after this "successful" check, please provide those details for more targeted troubleshooting. Otherwise, based on the logs, the connection check itself appears to be successful. If you are expecting a failure or are seeing issues elsewhere, please clarify where the problem occurs.Vishal Garg
07/30/2025, 9:31 AMkapa.ai
07/30/2025, 9:31 AMkapa.ai
07/30/2025, 9:31 AMCould not connect with provided configuration. Error: State code: 08S01; Message: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. is a common MySQL connection issue in Airbyte. Based on the knowledge sources, here are the most likely causes and recommended troubleshooting steps: --- ### 1. Network/Firewall Issues - This error often means Airbyte cannot reach your MySQL server due to network restrictions, firewall rules, or incorrect host/port configuration. - If you are using AWS RDS, ensure your VPC and security group settings allow inbound connections from the Airbyte host or container. See the [AWS troubleshooting checklist](https://aws.amazon.com/premiumsupport/knowledge-center/rds-cannot-connect/) for more details. - If running Airbyte in Docker, ensure the Docker network is set up correctly so containers can reach the MySQL host. Users have resolved this by fixing their Docker network configuration [Maridb connect for source and destination fails](https://discuss.airbyte.io/t/2863). --- ### 2. JDBC/SSL Parameters - For Amazon RDS or MariaDB, you may need to add enabledTLSProtocols=TLSv1.2 to your JDBC parameters if you see connection errors or "Cannot create PoolableConnectionFactory" errors [Source MySQL PoolableConnectionFactory Error](https://discuss.airbyte.io/t/244). - If you are using SSL, ensure the MySQL server is configured to accept SSL connections and that your Airbyte configuration matches. --- ### 3. MySQL Server Listening Address - If your MySQL server is bound to localhost or 127.0.0.1, it may not accept external connections. Make sure it is listening on the correct network interface (e.g., 0.0.0.0 for all interfaces). --- ### 4. Version Compatibility - There are known compatibility issues with some MySQL and MariaDB versions. If you recently upgraded, try using a different version or updating your Airbyte MySQL connector to the latest version [Maridb connect for source and destination fails](https://discuss.airbyte.io/t/2863). --- ### 5. Other Common Issues - Double-check your username, password, and database name. - Ensure the MySQL user has the necessary privileges and is allowed to connect from the Airbyte host. --- If you have checked all of the above and the issue persists, please provide more details about your deployment (Airbyte version, MySQL version, network setup, and any relevant logs). The knowledge sources do not mention a single universal fix, but most connection issues are resolved by addressing network/firewall settings or JDBC parameters. For more details, see the official Airbyte MySQL troubleshooting guide: [Troubleshooting MySQL Sources](https://docs.airbyte.com/integrations/sources/mysql/mysql-troubleshooting#troubleshooting).