Horia
09/26/2025, 11:18 AMAn unknown error occurred. (HTTP 504)kapa.ai
09/26/2025, 11:19 AMyaml metadata: annotations: nginx.ingress.kubernetes.io/proxy-read-timeout: "120" This increases the timeout to 120 seconds, which can help prevent premature 504 errors during connector checks or syncs. For ALB, you can set the idle timeout via the annotation: alb.ingress.kubernetes.io/load-balancer-attributes: idle_timeout.timeout_seconds=120 Adjust the value as needed for your environment. [See example ingress configuration](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/ingress) 2. Check ALB and Security Group Settings: Ensure your ALB is correctly routing traffic to your Airbyte services and that security groups allow the necessary traffic. Misconfigured security groups or target groups can also result in 504 errors. 3. Airbyte Version and Known Issues: There are reports of 504 errors in various Airbyte versions, sometimes related to network issues, timeouts, or even bugs in specific releases. If you recently upgraded Airbyte, consider testing with a previous version to see if the issue persists, as some users have found downgrading resolves the problem in certain cases. [See related issue](https://github.com/airbytehq/airbyte/issues/62463) 4. Logs and Error Details: Check the logs of your Airbyte pods/services and the ALB for more detailed error messages. Sometimes, the root cause is only visible in the backend logs, especially if the ingress proxy times out before Airbyte can return a detailed error. [See discussion on logging and timeouts](https://github.com/airbytehq/airbyte/issues/45156) 5. S3 Storage Configuration (if used): If you are using S3 for logs or state, ensure your region and credentials are correct. Misconfiguration here can also cause 504 errors during syncs or checks. [See S3 configuration issue](https://github.com/airbytehq/airbyte/issues/48407) Summary: Review and increase your ingress and ALB timeout settings, verify your network and security group configuration, and check Airbyte and ALB logs for more details. If the problem persists after these steps, consider testing with a different Airbyte version or connector version, as some issues may be version-specific. If you need example ingress YAML or further details, let me know your specific setup (Kubernetes, Docker, etc.) and I can provide more targeted guidance.Horia
09/26/2025, 12:09 PMAn unknown error occurred. (HTTP 524)kapa.ai
09/26/2025, 12:09 PMkapa.ai
09/26/2025, 12:09 PMHoria
09/29/2025, 7:28 AMkapa.ai
09/29/2025, 7:28 AMkapa.ai
09/29/2025, 7:28 AMabctl or Kubernetes. A recurring root cause is a mismatch or missing authentication token between the Airbyte worker, server, and workload API server. When these tokens are not aligned, API calls are rejected with a 401 Unauthorized error, which ultimately results in a 502 error in the UI after a long wait. Solution: You need to ensure that the WORKLOAD_API_BEARER_TOKEN (and sometimes INTERNAL_API_AUTH_TOKEN) environment variables are set to the same value across all relevant Airbyte deployments (worker, server, workload API server). Here’s a summary of the steps provided in the knowledge sources: 1. Generate a token: bash BEARER_TOKEN=$(openssl rand -hex 16) echo "Generated token: $BEARER_TOKEN" 2. Set the token on all relevant deployments: bash kubectl -n airbyte-abctl set env deployment/airbyte-abctl-worker \ WORKLOAD_API_BEARER_TOKEN="$BEARER_TOKEN" \ INTERNAL_API_AUTH_TOKEN="$BEARER_TOKEN" kubectl -n airbyte-abctl set env deployment/airbyte-abctl-workload-api-server \ WORKLOAD_API_BEARER_TOKEN="$BEARER_TOKEN" 3. Restart the deployments: bash kubectl -n airbyte-abctl rollout restart deployment airbyte-abctl-worker kubectl -n airbyte-abctl rollout restart deployment airbyte-abctl-workload-api-server 4. Wait for the rollouts to complete: bash kubectl -n airbyte-abctl rollout status deployment airbyte-abctl-worker kubectl -n airbyte-abctl rollout status deployment airbyte-abctl-workload-api-server This process has resolved the 502 error for multiple users in similar situations [see here](https://github.com/airbytehq/airbyte/issues/65567) [and here](https://github.com/airbytehq/airbyte/issues/66692). If you are not using Kubernetes or abctl, or if you are running Airbyte with Docker Compose, the root cause may be different, and the knowledge sources do not provide a specific solution for that scenario. If you continue to experience issues, please check the logs for "Unauthorized" errors or other authentication-related messages, as these are strong indicators of the token mismatch problem described above.Horia
09/29/2025, 7:54 AMkapa.ai
09/29/2025, 7:54 AMkapa.ai
09/29/2025, 7:55 AMWORKLOAD_API_BEARER_TOKEN and related environment variables. The root cause is that, in some cases, these tokens are not automatically synchronized across all components during installation or upgrades. This can happen even if you use the recommended abctl local install process. As a result, when you try to set up a source or destination, internal API calls are rejected with a 401 Unauthorized error, which surfaces as a 502 error in the UI after a delay. This issue has been observed and discussed in multiple GitHub issues, where users had to manually set and synchronize the bearer token across deployments to resolve it [see here](https://github.com/airbytehq/airbyte/issues/65567) [and here](https://github.com/airbytehq/airbyte/issues/66692). In summary, even when following the EC2 installation guide exactly, this mismatch can occur due to a gap in the automatic configuration of internal authentication tokens between Airbyte services. The recommended fix is to manually generate and set the same token for all relevant deployments, as described in the previous answer.