Rohit Katiyar
07/14/2025, 3:26 AMAirbyte is temporarily unavailable. Please try again. (HTTP 502)
I’m trying to refresh stream for postgresql based RDS but facing the above errorkapa.ai
07/14/2025, 3:26 AMAirbyte is temporarily unavailable. Please try again. (HTTP 502) when refreshing a stream for a PostgreSQL-based RDS is a generic connectivity or service error. Based on the knowledge sources, this type of error can be caused by several underlying issues: 1. Network or Firewall Issues: If Airbyte is deployed in a different environment (e.g., on-premises or a different cloud region) than your RDS instance, firewall rules or network policies may block or intermittently disrupt connectivity. One user resolved a similar issue by fixing firewall rules that were rejecting some packets between Airbyte and the RDS instance. Double-check your security groups, VPC settings, and firewall rules to ensure full connectivity between Airbyte and your RDS instance, especially on port 5432 for PostgreSQL traffic [Forum Post: Error deploying Airbyte with an external Postgres database (AWS RDS)](https://discuss.airbyte.io/t/2179). 2. Service Startup/Order Issues: If you are using a reverse proxy (like Nginx) or running Airbyte in Docker/Kubernetes, a 502 error can occur if the Airbyte backend services (such as airbyte-server) are not fully started or are restarting. Restarting the containers sometimes resolves the issue, but it may indicate a deeper problem with service dependencies or startup order [Forum Post: Nginx reverse proxy tells 502 until containers restarted](https://discuss.airbyte.io/t/3239). 3. Resource Constraints: Insufficient CPU or memory resources, especially for the Temporal service, can cause Airbyte to become unresponsive and return 502 errors. Check your resource allocations and monitor the health of all Airbyte pods/containers [Github Issue: Airbyte Temporal context deadline exceeded on eks](https://github.com/airbytehq/airbyte/issues/59730). 4. Temporal or Database Connectivity Issues: Airbyte relies on Temporal and its own database. If there are timeouts or connection issues with the database (such as RDS), you may see 502 errors. Ensure that the database is reachable from all Airbyte components and that credentials and connection strings are correct [Forum Post: Error deploying Airbyte with an external Postgres database (AWS RDS)](https://discuss.airbyte.io/t/2179). Recommended Steps: - Verify network connectivity between Airbyte and your RDS instance. - Check firewall rules and security groups for any restrictions. - Ensure all Airbyte services are running and healthy. - Review logs for airbyte-server, airbyte-worker, and airbyte-temporal for more specific errors. - If using a reverse proxy, ensure it is correctly configured and that backend services are available before proxying requests. If after these checks the issue persists, please provide relevant logs from the Airbyte components for more targeted troubleshooting.Rohit Katiyar
07/14/2025, 3:27 AMjsonSchema={"type":"object","properties":{"rpt_last_run_error_cd":{"type":"string"},"rpt_last_run_status_cd":{"type":"string"},"trade_item_list_nbr_txt":{"type":"string"},"promo_src_id":{"type":"number","airbyte_type":"integer"},"trade_item_source_file_nm":{"type":"string"},"brand_list_grp_nbr_txt":{"type":"string"},"linked_promo_key":{"type":"number","airbyte_type":"integer"},"rpt_typ_cd":{"type":"string"},"trial_brand_grp_list_txt":{"type":"string"},"promo_data_src_cd":{"type":"string"},"batch_ld_nbr":{"type":"number","airbyte_type":"integer"},"rpt_run_on_demand_ind":{"type":"string"},"linked_promo_data_src_cd":{"type":"string"},"promo_profit_margin_pct":{"type":"number"},"rec_dt":{"type":"string","format":"date"},"analytic_red_factor_pct":{"type":"number"},"owner_list_grp_nbr_txt":{"type":"string"},"linked_promo_src_id":{"type":"number","airbyte_type":"integer"},"rpt_next_sched_run_dt":{"type":"string","format":"date"},"rpt_last_run_msg_txt":{"type":"string"},"mngng_cntry_cd":{"type":"string"},"cat_list_grp_nbr_txt":{"type":"string"},"trade_item_uom":{"type":"string"},"promo_selected_ind":{"type":"string"},"rdb_promo_rpt_param_key":{"type":"number","airbyte_type":"integer"},"promo_key":{"type":"number","airbyte_type":"integer"},"repeat_brand_grp_list_txt":{"type":"string"},"trade_item_list_src_typ_cd":{"type":"string"},"trade_item_list_create_user_id":{"type":"string"},"rpt_last_run_dt":{"type":"string","format":"date"}}},supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=,defaultCursorField=[],sourceDefinedPrimaryKey=[],namespace=public,isResumable=,additionalProperties={}],syncMode=full_refresh,cursorField=[],destinationSyncMode=overwrite,primaryKey=[],generationId=,minimumGenerationId=,syncId=,additionalProperties={}] will not sync in resumeable full refresh mode.
2025-07-07 01:15:07 platform > Schema validation was performed to a max of 10 records with errors per stream.kapa.ai
07/14/2025, 3:28 AMkapa.ai
07/14/2025, 3:29 AM...supportedSyncModes=[full_refresh, incremental],sourceDefinedCursor=,defaultCursorField=[],sourceDefinedPrimaryKey=[],namespace=public,isResumable=,additionalProperties={}],syncMode=full_refresh,cursorField=[],destinationSyncMode=overwrite,primaryKey=[],generationId=,minimumGenerationId=,syncId=,additionalProperties={}] will not sync in resumeable full refresh mode. 2025-07-07 01:15:07 platform > Schema validation was performed to a max of 10 records with errors per stream. ### Explanation - Resumable Full Refresh Not Enabled: The log states that the stream "will not sync in resumable full refresh mode." According to Airbyte documentation, for a stream to use resumable full refresh, both the source and destination must support it. For database sources, this typically requires a compatible connector version and, for some databases, the presence of a primary key. If these conditions are not met, Airbyte falls back to standard full refresh, which does not support resuming from partial progress if a sync fails [Resumable Full Refresh](https://docs.airbyte.com/platform/next/understanding-airbyte/resumability#resumable-full-refresh). - Schema Validation: The message about schema validation indicates that Airbyte checked up to 10 records per stream for schema compliance and found errors. This is a standard validation step and may not be directly related to the resumability feature, but schema mismatches can cause sync failures. ### Why Resumable Full Refresh Is Not Enabled Based on the log and the knowledge sources, possible reasons include: - The source connector version may not support resumable full refresh. - The table may lack a primary key (required for some sources). - The destination may not support refresh-enabled syncs. - The stream configuration may not meet the requirements for artificial/synthetic cursors (needed for resumable full refresh) [Resumable Full Refresh](https://docs.airbyte.com/platform/next/understanding-airbyte/resumability#resumable-full-refresh). ### What To Do - Check Source and Destination Compatibility: Ensure your source and destination connectors are on versions that support resumable full refresh. For example, Postgres source >= 3.4.10 is required, and the table must have a primary key [Resumable Full Refresh](https://docs.airbyte.com/platform/next/understanding-airbyte/resumability#resumable-full-refresh). - Review Table Schema: If your table does not have a primary key, resumable full refresh will not be enabled for that stream. - Review Connector and Platform Logs: Look for additional log lines that may indicate why resumable full refresh was not enabled. If you need more specific troubleshooting, please provide the connector versions and table schema details. --- Summary: The log indicates that resumable full refresh is not enabled for this stream, likely due to connector version, table schema, or configuration limitations. Schema validation errors are also present but are a separate issue. For more details, check your connector versions and ensure your tables have primary keys as required by Airbyte’s resumable full refresh feature [Resumable Full Refresh](https://docs.airbyte.com/platform/next/understanding-airbyte/resumability#resumable-full-refresh).