<@U04S8PLJWMT> Experiencing a bad Gateway timeout ...
# ask-ai
s
@kapa.ai Experiencing a bad Gateway timeout when attempting to update a connection from an MSSQL source to a ClickHouse destination (v2). I can only see in the pod logs:
Copy code
2025-11-18 13:33:00,699 [main] WARN i.a.c.ConnectorWatcher(waitForConnectorOutput):110 - Failed to find output files from connector within timeout of 9 minute(s). Is the connector still running?
k
Based on the knowledge sources, the error you're experiencing is related to a connector sidecar timeout. The warning message "Failed to find output files from connector within timeout of 9 minute(s)" indicates that the connector didn't produce output files within the default 9-minute timeout period. ## Understanding the Issue The connector sidecar has timeout settings that control how long Airbyte waits for a connector to produce output. According to the [Allow Connector Sidecar container timeouts configuration changes](https://github.com/airbytehq/airbyte/issues/48855) issue, these timeouts are controlled by environment variables: -
SIDECAR_FILE_TIMEOUT_MINUTES
(default: 9 minutes) -
SIDECAR_FILE_TIMEOUT_WITHIN_SYNC_MINUTES
## Possible Solutions ### 1. Increase the Sidecar Timeout As documented in the GitHub issue, you can create a custom Docker image with increased timeout values:
Copy code
dockerfile FROM airbyte/connector-sidecar:1.2.0  ENV SIDECAR_FILE_TIMEOUT_MINUTES=30 ENV SIDECAR_FILE_TIMEOUT_WITHIN_SYNC_MINUTES=60
### 2. Check for ClickHouse-Specific Timeout Issues The [Clickhouse target connector - timeout](https://discuss.airbyte.io/t/482) forum post mentions that ClickHouse connections can experience HTTP timeouts. If you're using ClickHouse, you may need to adjust JDBC driver parameters like
socket_timeout
to prevent connection timeouts during data loading. ### 3. Investigate the Root Cause The timeout could be caused by: - Large schema discovery operations - Slow network connections - Database performance issues - The connector actually hanging or failing silently Check your connector logs more thoroughly to see if there are any errors before the timeout occurs, and verify that your MSSQL source and ClickHouse destination are both accessible and performing normally. Note: The knowledge sources indicate this is a known limitation, and there have been requests to make these timeout values configurable via Helm charts, though the specific GitHub issue about this was closed due to inactivity.