Hi, Ami here I am trying to connect a destination ...
# ask-ai
a
Hi, Ami here I am trying to connect a destination in Airbyte but keep getting error ``Airbyte is temporarily unavailable. Please try again. (HTTP 502)` error. Can you please help? I am running docker desktop and launching Airbyte in browser. From there, I am adding Postgres as a destination
k
Hi Ami, The “Airbyte is temporarily unavailable. Please try again. (HTTP 502)” error when adding a destination (like Postgres) in Airbyte running on Docker Desktop is a common issue, and can be caused by several factors. Based on the knowledge sources, here are the most likely causes and troubleshooting steps: 1. Resource Constraints Airbyte (especially when running locally with Docker Desktop) requires sufficient CPU and memory. If your system is low on resources, you may see 502 errors when trying to add destinations or sources. Try increasing the CPU and memory allocated to Docker Desktop and restarting Airbyte. The documentation notes that installation may require more resources and can take up to 30 minutes to complete, especially on lower-end machines. If you see readiness probe or 502 errors, allocating more resources is recommended [Quickstart Guide](https://docs.airbyte.com/platform/using-airbyte/getting-started/oss-quickstart#part-3-run-airbyte). 2. Container Startup/Health Sometimes, Airbyte containers (especially the server or worker) may not be fully started or may have crashed. You can check the status of your containers with:
Copy code
docker ps
and review logs for errors:
Copy code
docker compose logs airbyte-server    docker compose logs airbyte-worker
If you see errors or containers are not running, try restarting them:
Copy code
docker compose restart
This has resolved similar 502 issues for other users [Nginx 502 after restart](https://discuss.airbyte.io/t/3239). 3. Temporal Service Issues Airbyte relies on the Temporal service for job orchestration. If the Temporal container is stuck or consuming high CPU, it can cause 502 errors when triggering syncs or adding destinations. Restarting the Temporal container may help. Look for errors like “service rate limit exceeded” or “NOT_FOUND: query task not found” in the logs [Temporal service issues](https://github.com/airbytehq/airbyte/issues/44833). 4. Network/Proxy Issues If you are using a reverse proxy (like nginx) or accessing Airbyte through a non-standard port, ensure that the proxy is correctly forwarding requests and that Airbyte is listening on the expected port. Misconfiguration can lead to 502 errors [Nginx reverse proxy 502](https://discuss.airbyte.io/t/3239). 5. Version-Specific Bugs Some Airbyte versions have had bugs causing 502 errors when adding destinations. Upgrading to the latest version of Airbyte is recommended, as newer releases often include bug fixes for these issues [Forum post](https://discuss.airbyte.io/t/3239). Summary of steps to try: - Increase Docker Desktop’s CPU and memory allocation. - Ensure all Airbyte containers are running and healthy; restart them if needed. - Check logs for errors, especially in airbyte-server, airbyte-worker, and temporal containers. - If using a proxy, verify its configuration. - Upgrade to the latest Airbyte version if you’re not already on it. If you try these steps and still encounter the error, please provide any relevant logs from the Airbyte containers for further troubleshooting.