Hello everyone. I have installed Airbyte version 1...
# replication-troubleshooting
k
Hello everyone. I have installed Airbyte version 1.8.1 using Helm on Kubernetes. I wanted to change CPU and memory values and tried to upgrade Airbyte, and this is the error that I am seeing: 2025-08-28 162952,437 [main] ERROR i.a.b.ApplicationKt(main):28 - Unable to bootstrap Airbyte environment. java.lang.RuntimeException: Failed to fetch connector registry entry for airbyte/destination-snowflake:3.15.10
k
It looks like your upgrade is failing while Airbyte tries to reach the remote connector registry to resolve the destination-snowflake definition. This is consistent with recent issues where the server/bootloader can’t fetch registry entries (403/timeout) or related “stubs”/compatibility files, causing bootstrapping or updates to fail. Common causes and fixes: - No/limited egress to the internet from your cluster: ensure the Airbyte server/bootloader pods can reach connectors.airbyte.com. In air‑gapped or restricted networks, proxy the registry JSON locally and point Airbyte to it via CONNECTOR_REGISTRY_BASE_URL, then restart the server so cache is cleared (users confirmed this unblocks upgrades) ([list_enterprise_source_stubs issue](https://github.com/airbytehq/airbyte/issues/51511)). - Transient/bad registry content caching: restarting the airbyte-server after the registry is corrected clears cache and lets bootstrapping proceed ([list_enterprise_source_stubs issue](https://github.com/airbytehq/airbyte/issues/51511)). - General guidance: upgrade via Helm as usual after fixing connectivity; Airbyte attempts to refresh connector definitions during boot and can fail if the registry isn’t reachable ([Upgrading Airbyte](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte)). If your cluster cannot access the public internet, use the proxy workaround: - Download the required registry JSON and serve it from an internal endpoint; set CONNECTOR_REGISTRY_BASE_URL to that endpoint, apply the config (Helm values or ConfigMap), and restart the server/bootloader. Users reported this resolved “Failed to fetch connector registry entry …” and allowed the upgrade to complete ([list_enterprise_source_stubs issue](https://github.com/airbytehq/airbyte/issues/51511); similar air‑gapped symptoms described here: [air‑gap upgrade issue](https://github.com/airbytehq/airbyte/issues/44441)). Once bootstrapping succeeds, you can proceed to adjust CPU/memory via Helm values and redeploy as per the upgrade docs ([Upgrading Airbyte](https://docs.airbyte.com/platform/operator-guides/upgrading-airbyte)).
k
@kapa.ai - Can you provide more information on downloading the JSON and setting up the CONNECTOR_REGISTRY_BASE_URL?
k
A message from kapa.ai
Here’s the documented approach to work around restricted/no-internet clusters by hosting the connector registry JSON yourself and pointing Airbyte to it: - Download the registry JSON and serve it internally - Fetch the connector stubs/registry JSON (e.g., connector_stubs.json) and host it on an internal HTTP endpoint (small proxy or static file server). A user confirmed hosting the file internally and then redirecting Airbyte to it resolved boot/upgrade failures when public egress was blocked (they referenced using CONNECTOR_REGISTRY_BASE_URL) ([list_enterprise_source_stubs issue](https://github.com/airbytehq/airbyte/issues/51511)). - Point Airbyte to your internal URL - Set the environment variable to your hosted URL and restart the server so it reloads the cache: - Variable: CONNECTOR_REGISTRY_BASE_URL - How to apply: - If you set env via Helm values, ensure you use the correct key (users noted to double‑check extraEnv vs extraEnvs), then redeploy or roll the server pod so it picks up the new value ([list_enterprise_source_stubs issue](https://github.com/airbytehq/airbyte/issues/51511)). - Alternatively, manually edit the server ConfigMap to include the variable and let the server restart; users confirmed this works ([list_enterprise_source_stubs issue](https://github.com/airbytehq/airbyte/issues/51511)). Notes and limitations: - The knowledge sources do not provide the exact public URL of the JSON to download, nor a step‑by‑step Helm snippet for setting CONNECTOR_REGISTRY_BASE_URL. They only confirm that hosting the JSON internally and pointing Airbyte via CONNECTOR_REGISTRY_BASE_URL, followed by a server restart, unblocked upgrades in restricted‑egress environments ([list_enterprise_source_stubs issue](https://github.com/airbytehq/airbyte/issues/51511)).
k
@kapa.ai- Is there a way to disable these connector fetches?
k
A message from kapa.ai
I’m sorry, but the knowledge sources do not mention a supported way to fully disable connector registry fetches. They indicate that Airbyte attempts to load connector definitions/stubs and compatibility data at startup/upgrade, which can fail without internet, and suggest workarounds like hosting the JSON internally and pointing Airbyte to it via CONNECTOR_REGISTRY_BASE_URL (or similar envs) rather than disabling the fetch entirely ([list_enterprise_source_stubs issue](https://github.com/airbytehq/airbyte/issues/51511)). Related reports from air‑gapped users show failures when Airbyte can’t reach connectors.airbyte.com during boot/upgrade, with no documented “disable fetch” flag; the recommended path is to provide an internal mirror/proxy of the registry files instead ([air‑gap upgrade issue](https://github.com/airbytehq/airbyte/issues/44441); [startup in air‑gapped env](https://github.com/airbytehq/airbyte/issues/44762); [GKE without internet](https://discuss.airbyte.io/t/763)).
k
@kapa.ai - It only fails for the destination-snowflake connector, it seems to be working fine for some of the other connectors.
k
A message from kapa.ai
It’s plausible that only destination-snowflake is failing because Airbyte must fetch that specific connector’s registry entry/version metadata during boot/upgrade, and the request is being blocked or returning an error for that image while others succeed. Similar logs show “Failed to fetch connector registry entry …” and boot failures when the registry isn’t reachable or returns 4xx/timeout; users resolved by ensuring egress or by hosting the registry JSON internally and pointing Airbyte to it, rather than disabling the fetches ([platform fetch failures](https://github.com/airbytehq/airbyte/issues/51511); [air‑gapped upgrade errors](https://github.com/airbytehq/airbyte/issues/44441)). What you can do: - Verify network access from your Airbyte pods to the connector registry endpoints; intermittent 403/timeout can affect just some connectors (e.g., destination-snowflake). If you’re rate-limited or behind a firewall, configure a mirror/proxy or allow-list as needed. Users with rate limits fixed pulls by routing connectors through an internal registry cache via newer Helm charts (v1.2.0+), though that affects image pulls; you still need the registry metadata fetch to succeed ([image registry proxy discussion](https://github.com/airbytehq/airbyte/discussions/57509); [Helm v1.5.1 confirmation](https://github.com/airbytehq/airbyte/issues/21123#issuecomment-2486001497)). - If internet access is restricted, host the registry JSON internally and set CONNECTOR_REGISTRY_BASE_URL to your internal endpoint, then restart Airbyte so it reloads definitions. This workaround unblocked similar “Failed to fetch connector registry entry …” errors during upgrades ([platform fetch failures](https://github.com/airbytehq/airbyte/issues/51511); [air‑gapped upgrade errors](https://github.com/airbytehq/airbyte/issues/44441)). If you need exact steps/URLs for the JSON, the knowledge sources don’t provide them; they only confirm the approach and env override.
k
@kapa.ai - Connections are running very slow. Which component's CPU and memory need to be tweaked?
k
A message from kapa.ai
Primarily the connector job pods for your syncs: - Source (read) and destination (write) workers: these do the heavy lifting during Sync jobs; increasing their CPU/memory can improve throughput. You can raise default job pod requests/limits via Helm values and/or configure connector-specific resource profiles (Enterprise) ([What to scale](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale); [Configuring connector resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources#configuring-connector-specific-requirements)). - How to set defaults for all jobs (Helm): set global.jobs.resources limits/requests to raise CPU/memory for connector pods ([Scaling Airbyte After Installation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte)). - If you’re hitting pod scheduling or OOM during checks/discovers, also set the per-job env vars (JOB_MAIN_*, CHECK_JOB_MAIN_*, DISCOVER_JOB_MAIN_*, SPEC_JOB_MAIN_*; plus SIDECAR_*) so non-sync jobs get adequate resources ([GitHub issue workaround](https://github.com/airbytehq/airbyte/issues/48816)). Also consider reducing concurrency (MAX_SYNC_WORKERS / MAX_CHECK_WORKERS) or increasing worker replicas if you run many syncs concurrently, since each sync spins up multiple connector pods ([Scaling Airbyte After Installation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte)).
k
@kapa.ai - What CPU value should be set to workers?
k
A message from kapa.ai
There isn’t a single “correct” CPU value; it depends on your workload and connector mix. The docs recommend: - Start with a mid-sized instance and tune based on observed usage; Sync jobs are the main CPU consumers (source/destination workers) ([What to scale](https://docs.airbyte.com/platform/operator-guides/scaling-airbyte#what-to-scale)). - Set instance-wide defaults for all job containers via Helm envs: - JOB_MAIN_CONTAINER_CPU_REQUEST and JOB_MAIN_CONTAINER_CPU_LIMIT (and corresponding MEMORY vars) in values.yaml, then adjust based on monitoring ([Configuring connector resources](https://docs.airbyte.com/platform/operator-guides/configuring-connector-resources)). - For enterprise Helm, you can also set global job pod defaults (applies to replication pod containers): - global.jobs.resources.requests.cpu and limits.cpu (e.g., 75m–250m as starting points shown) and raise as needed if pods are CPU bound ([Scaling Airbyte After Installation](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte)). - If available to you (Enterprise), use connector-specific resource profiles (e.g., Database connectors default ~2 CPU; larger profiles allocate more) when a particular connector needs more CPU ([Connector-specific requirements](https://docs.airbyte.com/platform/next/operator-guides/configuring-connector-resources#configuring-connector-specific-requirements)). In short: begin with modest CPU (e.g., a few hundred millicores per worker via global/jobs or JOB_MAIN_*), monitor Requested/Used CPU, then increase only for the connectors that are CPU-bound ([Scaling guidance](https://docs.airbyte.com/platform/enterprise-setup/scaling-airbyte)).
k
@kapa.ai - 2 CPU is same as what value in m?
k
A message from kapa.ai
2000m CPU (2 cores = 2000 millicores).