Hello Airbyte team, We are using an SSH tunnel to ...
# replication-troubleshooting
o
Hello Airbyte team, We are using an SSH tunnel to connect to an AWS RDS MySQL database through a bastion host. The connection works intermittently, but it fails randomly with an SSH-related error. Unfortunately, the logs do not provide additional details that help us identify the root cause. We have already added all the IP addresses listed in the official Airbyte IP allowlist to our firewall and AWS security group inbound rules: https://docs.airbyte.com/platform/operating-airbyte/ip-allowlist Despite this, the SSH tunnel still fails sporadically. Could you please confirm if: • There are any additional IPs that should be allowlisted for SSH tunneling? • There is any specific configuration required on the bastion host (e.g. SSH settings, connection limits, keepalive settings)? • There are known issues or best practices to avoid intermittent SSH tunnel failures? Any guidance or troubleshooting suggestions would be greatly appreciated. I am adding the error log. Thank you for your help. Best regards,
Copy code
2025-12-18 09:45:01  INFO 2025-12-18 09:45:01 info 
2025-12-18 09:45:01  INFO 2025-12-18 09:45:01 info Transitioning workload to running state
2025-12-18 09:45:01  INFO 2025-12-18 09:45:01 info ----- START CHECK -----
2025-12-18 09:45:01  INFO 2025-12-18 09:45:01 info 
2025-12-18 09:45:01  INFO 2025-12-18 09:45:01 info Workload successfully transitioned to running state
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info Connector exited, processing output
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info Output file jobOutput.json found
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info Connector exited with exit code 0
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info Reading messages from protocol version 0.2.0
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main i.m.c.e.DefaultEnvironment(<init>):168 Established active environments: [k8s, cloud, cli, source, connector]
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main i.a.c.AirbyteConnectorRunnable(run):35 Executing class io.airbyte.cdk.check.CheckOperation operation.
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main i.a.c.c.CheckOperation(execute):33 Parsing connector configuration JSON object.
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main i.a.c.c.CheckOperation(execute):35 Building internal connector configuration object.
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main i.a.i.s.m.MySqlSourceConfigurationFactory(makeWithoutExceptionHandling):140 SSL mode: required
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main i.a.i.s.m.MySqlSourceConfigurationFactory(makeWithoutExceptionHandling):180 maxConcurrencyLegacy: 2. maxDBConnections: 20. socket paths: 0
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main i.a.i.s.m.MySqlSourceConfigurationFactory(makeWithoutExceptionHandling):199 Effective concurrency: 20
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main i.a.c.c.CheckOperation(execute):37 Connecting for config check.
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main i.a.c.s.TunnelSessionKt(createTunnelSession):57 Creating SSH client.
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main o.a.s.c.u.s.AbstractSecurityProviderRegistrar(getOrCreateProvider):112 getOrCreateProvider(EdDSA) created instance of net.i2p.crypto.eddsa.EdDSASecurityProvider
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main o.a.s.c.i.DefaultIoServiceFactoryFactory(getIoServiceProvider):70 Using MinaServiceFactoryFactory
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main i.a.c.s.TunnelSessionKt(createTunnelSession):62 Creating SSH client session.
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main o.a.s.c.c.h.ConfigFileHostEntryResolver(resolveEffectiveResolver):89 resolveEffectiveResolver(forge@3.138.132.26:22/null) no configuration file at /home/airbyte/.ssh/config
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main i.a.c.c.CheckOperation(execute):48 Config check failed.
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main i.a.c.AirbyteConnectorRunnable(run):47 Flushing output consumer prior to shutdown.
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info INFO main i.a.c.AirbyteConnectorRunnable(run):49 Completed integration: airbyte/source-mysql.
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info Checking for optional control message...
2025-12-18 09:45:13  INFO 2025-12-18 09:45:13 info Writing output of c3262778-16f8-4a42-996f-c12ad6cb9188_a1476d42-93fd-4cea-b4f8-ea1032bb276d_0_check to the doc store
2025-12-18 09:45:14  INFO 2025-12-18 09:45:14 info Marking workload c3262778-16f8-4a42-996f-c12ad6cb9188_a1476d42-93fd-4cea-b4f8-ea1032bb276d_0_check as successful
2025-12-18 09:45:14  INFO 2025-12-18 09:45:14 info Deliberately exiting process with code 0.
2025-12-18 09:45:14  INFO 2025-12-18 09:45:14 info 
2025-12-18 09:45:14  INFO 2025-12-18 09:45:14 info ----- END CHECK -----
2025-12-18 09:45:14  INFO 2025-12-18 09:45:14 info
k
New message text here