for google clander what is clientid and client_sec...
# ask-ai
a
for google clander what is clientid and client_secret how create one @kapa.ai
k
For the Google Calendar source connector, client_id and client_secret are the OAuth 2.0 credentials for your Google Cloud app. They identify your app to Google and are used (with a refresh token) to authorize access to a calendar. The Google Calendar connector requires these fields along with a refresh token and the calendar ID in its config (client_id, client_secret, client_refresh_token_2, calendarid) ([Google Calendar connector config](https://docs.airbyte.com/integrations/sources/google-calendar)). How to create them (high level, based on similar Google OAuth setup in Airbyte docs): - Create a Google Cloud project and set up OAuth 2.0 credentials (Client ID and Client Secret) following Google’s OAuth instructions, then obtain a refresh token with the appropriate Calendar scopes. This mirrors the OAuth process described for other Google connectors (e.g., Google Sheets destination) where you create an OAuth client in Google Cloud and use OAuth Playground to get tokens ([Google Sheets destination – Using OAuth](https://docs.airbyte.com/integrations/destinations/google-sheets#step-2-set-up-the-google-sheets-destination-connector-in-airbyte)). I'm sorry, but the Google Calendar page in the provided sources lists the required fields but does not include step-by-step instructions specific to creating the Google OAuth client for Calendar. You can follow Google’s standard OAuth client creation flow (as exemplified in the Sheets doc above) to obtain client_id, client_secret, and a refresh token, then supply them to the Calendar connector’s config along with your calendar ID ([Google Calendar connector config](https://docs.airbyte.com/integrations/sources/google-calendar), [Google Sheets destination – Using OAuth](https://docs.airbyte.com/integrations/destinations/google-sheets#step-2-set-up-the-google-sheets-destination-connector-in-airbyte)).
a
Encountered an error while checking availability of stream colors. Error: 401 Client Error: Unauthorized for url: https://oauth2.googleapis.com/tokenError traceback: Traceback (most recent call last): @kapa.ai
k
A message from kapa.ai
A 401 Unauthorized during the token request usually means the OAuth credentials or flow are misconfigured. Check the following: - Client credentials: Verify Client ID and Client Secret are correct and match the Google Cloud OAuth app you created (typos are common) ([Using OAuth to Connect](https://docs.airbyte.com/platform/using-airbyte/oauth)). - Redirect URI: Ensure the redirect URI used when you obtained the refresh token matches what was registered in your Google OAuth app. A mismatch causes 401s ([Using OAuth to Connect](https://docs.airbyte.com/platform/using-airbyte/oauth)). - Refresh token validity: If you use the legacy OAuth method in the Connector Builder, confirm you provided a valid refresh token and the required scopes. For Google Directory, users succeeded with refresh_token flow and explicit scopes; the same approach applies to Google APIs (obtain refresh token via Google OAuth Playground with needed scopes) ([Partial OAuth (legacy)](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/authentication#partial-oauth-legacy); [Google Directory example with refresh_token + scopes](https://github.com/airbytehq/airbyte/issues/54130)). - Grant type: If your setup uses client_credentials, note some implementations had issues when the system expected a refresh_token; switching to refresh_token or ensuring the correct grant type is configured can resolve errors ([OAuth grant types in Builder](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/authentication#partial-oauth-legacy); related bug report context: client_credentials handling) ([builder issue](https://github.com/airbytehq/airbyte/issues/46903)). - Transient 401s: If tokens are short‑lived, enable retry/backoff for 401 responses; this resolved Unauthorized errors for a custom source when the API needed a moment to issue a fresh token ([retry/backoff workaround](https://github.com/airbytehq/airbyte/issues/48740)). If you’re using the Google Calendar source, ensure these config fields are set with valid values: client_id, client_secret, client_refresh_token_2 (refresh token), and calendarid ([Google Calendar connector config](https://docs.airbyte.com/integrations/sources/google-calendar)).
a
File “/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/streams/http/requests_native_auth/abstract_oauth.py”, line 139, in refresh_access_token response_json = self._make_handled_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.11/site-packages/backoff/_sync.py”, line 105, in retry ret = target(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^ File “/usr/local/lib/python3.11/site-packages/airbyte_cdk/sources/streams/http/requests_native_auth/abstract_oauth.py”, line 222, in _make_handled_request response.raise_for_status() File “/usr/local/lib/python3.11/site-packages/requests/models.py”, line 1024, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://oauth2.googleapis.com/token 2025-09-02 211324,172 [main] ERROR i.a.w.i.VersionedAirbyteStreamFactory(internalLog):308 - Check failed 2025-09-02 211324, @kapa.ai
k
A message from kapa.ai
A 401 from https://oauth2.googleapis.com/token during refresh means Google rejected the refresh request. Based on our docs and similar issues, check: - Client ID/Secret: Confirm they exactly match your Google OAuth app; typos cause 401s (Invalid Client) (Using OAuth to Connect). ([Using OAuth to Connect](https://docs.airbyte.com/platform/using-airbyte/oauth)) - Refresh token: Ensure you’re supplying a valid, non‑revoked refresh token obtained with the correct scopes. For legacy/partial OAuth in Builder, the connector will auto‑refresh if the token and endpoint are correct (Partial OAuth). ([Partial OAuth (legacy)](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/authentication#partial-oauth-legacy)) - Redirect URI consistency: The refresh token must have been obtained using a redirect URI that matches what’s registered in your Google OAuth client; mismatches lead to auth failures (Using OAuth to Connect). ([Using OAuth to Connect](https://docs.airbyte.com/platform/using-airbyte/oauth)) - Google Calendar source config: Verify the required fields are set and consistent—client_id, client_secret, client_refresh_token_2, calendarid (Google Calendar connector config). ([Google Calendar](https://docs.airbyte.com/integrations/sources/google-calendar)) - Transient 401s/race conditions: If your access tokens are very short‑lived, enable retry/backoff on 401; this resolved similar Unauthorized errors in a custom source (retry after short delay). ([Custom connector 401 resolved with backoff](https://github.com/airbytehq/airbyte/issues/48740)) - Known token‑refresh pitfalls: Some connectors experienced tokens expiring mid‑sync if headers weren’t rebuilt on retry; padding token expiry or forcing refresh on 401 can help in custom connectors. ([Auth token refresh race condition](https://github.com/airbytehq/airbyte/issues/31687)) If after verifying credentials and redirect URIs you still get 401, re‑generate the refresh token (e.g., via Google’s OAuth Playground) with the required Calendar scopes and update the connector config accordingly (Partial OAuth; Google Calendar config). ([Partial OAuth (legacy)](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/authentication#partial-oauth-legacy); [Google Calendar](https://docs.airbyte.com/integrations/sources/google-calendar))
a
Authorized redirect URIs @kapa.ai what should i give.
k
A message from kapa.ai
Use the redirect URI that Airbyte shows you in the connector’s OAuth setup screen. The registered redirect URI in your Google Cloud OAuth client must exactly match the URI provided by Airbyte during setup; a mismatch causes 401/authorization errors. Airbyte’s UI provides this value when you configure OAuth—copy it verbatim into “Authorized redirect URIs” in Google Cloud ([Using OAuth to Connect](https://docs.airbyte.com/platform/using-airbyte/oauth)). If you don’t see it documented for Google Calendar specifically, follow the general rule above—the Calendar page lists required OAuth fields but doesn’t specify the URI. Obtain the exact redirect URI from the Airbyte UI and register it in Google Cloud ([Google Calendar source config](https://docs.airbyte.com/integrations/sources/google-calendar), [Using OAuth to Connect](https://docs.airbyte.com/platform/using-airbyte/oauth)).
a
i have self managed and i tryinh to connect the google calender @kapa.ai
k
A message from kapa.ai
For self-managed Airbyte, you must use your own Google OAuth app and register the exact redirect URI that Airbyte shows during connector setup. Then provide the OAuth credentials to the Google Calendar source. Steps (based on Airbyte’s OAuth and Google connector guidance): - In Google Cloud, create an OAuth 2.0 Client ID (Web application). - In Authorized redirect URIs, paste the redirect URI shown by Airbyte’s UI when configuring the connector (must match exactly). A mismatch will fail auth (Using OAuth to Connect). ([Using OAuth to Connect](https://docs.airbyte.com/platform/using-airbyte/oauth)) - Enable the Google Calendar scopes when generating a refresh token (you can follow the same pattern used for Google Sheets: create client ID/secret, then use Google OAuth Playground to authorize scopes and exchange for a refresh token) (Google Sheets setup example). ([Google Sheets – Using OAuth](https://docs.airbyte.com/integrations/destinations/google-sheets#step-2-set-up-the-google-sheets-destination-connector-in-airbyte)) - In Airbyte, configure the Google Calendar source with: - client_id - client_secret - client_refresh_token_2 (the refresh token you obtained) - calendarid (the target Calendar ID) ([Google Calendar connector config](https://docs.airbyte.com/integrations/sources/google-calendar)) If you get 401/Unauthorized during token refresh, re-check client ID/secret accuracy, ensure the redirect URI matches, and re-generate the refresh token with the proper scopes (Using OAuth to Connect). ([Using OAuth to Connect](https://docs.airbyte.com/platform/using-airbyte/oauth))
a
{ “url”: “http://localhost:62839/”, “airbyteVersion”: “1.6.2", “errorType”: “HttpError”, “errorConstructor”: “qu”, “error”: { “i18nKey”: “errors.http.notFound”, “i18nParams”: { “status”: 404 }, “name”: “HttpError”, “requestId”: “4rmEsaLRLscD6vdYvcdRL8”, “request”: { “url”: “/api/v1/instance_configuration”, “method”: “get” }, “status”: 404, “response”: “<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.27.2</center>\r\n</body>\r\n</html>\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n” }, “stacktrace”: “HttpError: errors.http.notFound\n at RRe (http://localhost:62839/assets/core-o3gxm74u91.js:121:153678)“, “userAgent”: “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36", “featureFlags”: {} } @kapa.ai
k
A message from kapa.ai
It looks like your Webapp is hitting Nginx directly and not proxying to the Airbyte Server, so requests like GET /api/v1/instance_configuration return a 404 from Nginx instead of the server. This typically happens when the webapp’s Nginx config doesn’t route /api/ to the server service, or when ingress rules send API traffic to the wrong backend. Things to check/fix: - Webapp Nginx config: Ensure there’s a location block that proxies /api/ to the server (port 8001). Example patterns mentioned in issues: - For general API: proxy_pass http://api-server/api/; and upstream api-server pointing at airbyte-server:8001. [[Host not found](https://discuss.airbyte.io/t/3203)] - For connector builder API, ensure a dedicated rule exists; missing it causes 403/404 on those paths. [[403 on builder](https://github.com/airbytehq/airbyte/issues/61677)] - Ingress routing (Kubernetes/self-managed): If you use an Ingress/controller or external proxy, make sure: - /api/v1/connector_builder/ goes to the connector-builder-server service (port 80), not to the webapp. [[403 on builder](https://github.com/airbytehq/airbyte/issues/61677); [v1.7.1 ingress fix](https://github.com/airbytehq/airbyte/issues/63770)] - All other /api/ paths (like /api/v1/instance_configuration) route to the server service (port 8001), not to the webapp. Several users fixed 404s by changing the backend service/port to the server (8001) instead of webapp 80. [[Ingress example](https://github.com/airbytehq/airbyte/issues/61677); [helm upgrade 404](https://github.com/airbytehq/airbyte/issues/49843); [external DB 404](https://github.com/airbytehq/airbyte/issues/49304)] - Port correctness: Docs and community notes call out that the server listens on 8001; verify your routing uses 8001 for the server backend. [[Ingress example](https://github.com/airbytehq/airbyte/issues/61677)] - If you’re editing the webapp pod’s Nginx config for a temporary fix, reload Nginx after changes (nginx -s reload), and remember changes won’t persist across pod restarts. [[403 on builder](https://github.com/airbytehq/airbyte/issues/61677)] Why this matters: When /api/v1/instance_configuration is sent to the webapp’s Nginx without a proxy rule, Nginx tries to serve it as a static file and returns 404 (exactly the error you pasted). Routing it to the server resolves it. [[helm upgrade 404](https://github.com/airbytehq/airbyte/issues/49843)] Also, for OSS users, use the /api/public/v1 path prefix when calling the API directly (e.g., curl). The UI uses internal routes, but if you’re testing API calls yourself, the prefix matters. [[API docs](https://docs.airbyte.com/platform/api-documentation)]
a
in UI { “url”: “http://localhost:65368/”, “airbyteVersion”: “1.6.2", “errorType”: “HttpError”, “errorConstructor”: “qu”, “error”: { “i18nKey”: “errors.http.notFound”, “i18nParams”: { “status”: 404 }, “name”: “HttpError”, “requestId”: “ntx4bj88PadtoqsfW5eH9e”, “request”: { “url”: “/api/v1/instance_configuration”, “method”: “get” }, “status”: 404, “response”: “html\r\nheadtitle404 Not Found/title/head\r\nbody\r\ncenterh1404 Not Found/h1/center\r\nhrcenternginx/1.27.2/center\r\n/body\r\n/html\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n<!-- a padding to disable MSIE and Chrome friendly error page -->\r\n” }, “stacktrace”: “HttpError: errors.http.notFound\n at RRe (http://localhost:65368/assets/core-o3gxm74u91.js:121:153678)“, “userAgent”: “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36", “featureFlags”: {} } webserver is giving this @kapa.ai
k
A message from kapa.ai
Thanks for sharing the error. The 404 from nginx for GET /api/v1/instance_configuration means your UI is being served, but API requests are not reaching the Airbyte Server. They’re likely being routed to the webapp’s nginx instead of the server service. What to check/fix (pick the one that matches your setup): - If you’re using port-forwarding: - Make sure you port-forward the webapp only for static UI, but route API to the server. If you only forward the webapp pod and open the UI at that port, nginx will try to serve /api/... as a file and return 404. The fix is to ensure /api/ is proxied to the server (8001) or instead access Airbyte through an Ingress that splits traffic correctly. Users seeing exactly this 404 fixed it by routing API to the server rather than webapp. [[helm upgrade 404](https://github.com/airbytehq/airbyte/issues/49843); [external DB 404](https://github.com/airbytehq/airbyte/issues/49304)] - If you’re on Kubernetes with an Ingress: - Route all general API paths (e.g., /api/ or /) to the airbyte-server service on port 8001. - Route only the Connector Builder API path to the connector-builder service. - Example from docs (NGINX Ingress): - /api/v1/connector_builder/ → ${RELEASE_NAME}-airbyte-connector-builder-server-svc:80 - / → ${RELEASE_NAME}-airbyte-server-svc:8001 This pattern prevents 404s from the webapp. [[Ingress docs](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress); [Next ingress](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/ingress)] - If you used abctl and got an ingress that points to webapp: - There’s a known misconfiguration where ingress targeted the non-existent webapp-svc, causing 503/404 until changed to server-svc. Update the ingress backend to the server service. [[abctl ingress bug](https://github.com/airbytehq/airbyte/issues/65539)] Why this happens: when /api/v1/instance_configuration goes to the webapp nginx instead of the server, nginx looks for a static file and returns 404—matching the exact error you pasted. Routing the API to airbyte-server:8001 resolves it. [[helm upgrade 404](https://github.com/airbytehq/airbyte/issues/49843)] If you want a working Ingress template, use the one from docs and ensure the server service is the default route, with a specific rule for the connector builder API path. [[Ingress docs](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress)]
a
@kapa.ai deployment is on EKS
k
A message from kapa.ai
Thanks—that helps. On EKS, the fix is to route UI/API traffic through an Ingress that sends: - /api/v1/connector_builder/ → connector builder service (port 80) - everything else (/) → server service (port 8001) Here are ALB and NGINX Ingress examples you can adapt. Replace host and service names with your release names. AWS ALB Ingress (recommended on EKS):
Copy code
yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata:   name: airbyte-ingress   annotations:     kubernetes.io/ingress.class: "alb"     alb.ingress.kubernetes.io/ssl-redirect: "443"     alb.ingress.kubernetes.io/scheme: internal            # or "internet-facing" if appropriate     alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:us-east-x:xxxxxxxxx:certificate/xxxxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxxxxx     alb.ingress.kubernetes.io/load-balancer-attributes: idle_timeout.timeout_seconds=30     # Optionally pin to specific subnets / security groups:     # alb.ingress.kubernetes.io/subnets: subnet-12345,subnet-67890     # alb.ingress.kubernetes.io/security-groups: sg-0123456789abcdef0 spec:   rules:     - host: airbyte.example.com       http:         paths:           - path: /api/v1/connector_builder/             pathType: Prefix             backend:               service:                 name: airbyte-airbyte-connector-builder-server-svc                 port:                   number: 80           - path: /             pathType: Prefix             backend:               service:                 name: airbyte-airbyte-server-svc                 port:                   number: 8001
This pattern is documented for Airbyte 1.7+ and the “Next” docs; it ensures the UI calls like GET /api/v1/instance_configuration hit airbyte-server (8001), avoiding your 404 from nginx. Also ensure your ALB controller’s ServiceAccount has the required IAM policy. [[Platform 1.7 ingress](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/ingress); [Next ingress](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/ingress); [IAM policy](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/ingress#ingress)] NGINX Ingress (if you use NGINX on EKS):
Copy code
yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata:   name: airbyte-ingress   annotations:     nginx.ingress.kubernetes.io/ssl-redirect: "false" spec:   ingressClassName: nginx   rules:     - host: airbyte.example.com       http:         paths:           - path: /api/v1/connector_builder/             pathType: Prefix             backend:               service:                 name: airbyte-airbyte-connector-builder-server-svc                 port:                   number: 80           - path: /             pathType: Prefix             backend:               service:                 name: airbyte-airbyte-server-svc                 port:                   number: 8001
[[Update ingress 1.7+](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress-1-7#deploying-with-helm)] Notes for EKS: - Ensure the AWS Load Balancer Controller is installed and configured; once installed, Airbyte can create an ALB via this Ingress. [[EKS ALB guidance](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/ingress)] - If you’re on Enterprise, use the corresponding enterprise service names (airbyte-enterprise-…); the routing paths are the same. [[Enterprise ingress 1.7](https://docs.airbyte.com/platform/1.7/enterprise-setup/implementation-guide#configuring-ingress)] - If you’re on Airbyte 1.6, older examples may still point the UI to webapp; for 1.7+ the webapp service was removed and routing must target airbyte-server. If you upgrade later, remember to update the ingress accordingly. [[Update ingress 1.7](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/ingress-1-7)] Once applied, your UI’s /api/v1/instance_configuration should resolve via the server service instead of returning 404 from nginx. [[Platform ingress](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress)]
a
@kapa.ai i don’t need external acceess just forward port will work.
k
A message from kapa.ai
Got it — if you don’t need external access, you can use kubectl port-forward. The key is to forward to the right component so UI requests reach the Airbyte Server (not just the webapp’s nginx), which avoids the 404 on /api/v1/instance_configuration. Use one of these, depending on your Helm chart version: - Helm chart v1 (namespaced “airbyte”): 1) Get the webapp pod and its port, then forward:
Copy code
export POD_NAME=$(kubectl get pods --namespace airbyte -l "app.kubernetes.io/name=webapp" -o jsonpath="{.items[0].metadata.name}")   export CONTAINER_PORT=$(kubectl get pod --namespace airbyte $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")   echo "Visit http://127.0.0.1:8080 to use your application"   kubectl --namespace airbyte port-forward $POD_NAME 8080:$CONTAINER_PORT
Then open http://127.0.0.1:8080. [[1.6 deploy guide](https://docs.airbyte.com/platform/1.6/deploying-airbyte#6-set-up-port-forward-for-ui-access); [1.7 deploy guide](https://docs.airbyte.com/platform/1.7/deploying-airbyte#6-set-up-port-forward-for-ui-access); [Deploying Airbyte](https://docs.airbyte.com/platform/deploying-airbyte#6-set-up-port-forward-for-ui-access)] - Helm chart v2 (namespace often airbyte-v2):
Copy code
echo "Visit http://127.0.0.1:8080 to use your application"   kubectl -n airbyte-v2 port-forward deployment/airbyte-webapp 8080:8080
Then open http://127.0.0.1:8080. [[Next deploy guide](https://docs.airbyte.com/platform/next/deploying-airbyte#6-set-up-port-forward-for-ui-access); [Deploying Airbyte](https://docs.airbyte.com/platform/deploying-airbyte#6-set-up-port-forward-for-ui-access)] Notes: - If you installed into a non-default namespace, include --namespace <your-namespace> (or -n) in the command; missing the namespace is a common cause of “service not found.” [[Port forward in namespace](https://discuss.airbyte.io/t/259)] - If you instead port-forward a Service (older setups used airbyte-webapp-svc), make sure you point to the correct Service in your namespace. [[Port forward in namespace](https://discuss.airbyte.io/t/259)] - If you ever port-forward only the webapp without the server routing, the UI may load but API calls return Nginx 404. Using the commands above ensures the webapp correctly reaches the server. Users seeing that 404 resolved it by routing to the server component rather than the webapp service alone. [[Helm upgrade 404](https://github.com/airbytehq/airbyte/issues/49843)] If you share your namespace and Helm chart (v1 vs v2), I can tailor the exact command.
a
will upgrade to 1.7 works?? @kapa.ai
k
A message from kapa.ai
Short answer: Yes, upgrading to 1.7 will work, but you must update your routing. Without it, the UI (and especially the Connector Builder) will break with 403/404/503 errors. What you need to do when upgrading to 1.7+: - Update ingress/routing so: - /api/v1/connector_builder/ → airbyte-connector-builder-server-svc (port 80) - everything else (/) → airbyte-server-svc (port 8001) [[Update ingress 1.7+](https://docs.airbyte.com/platform/deploying-airbyte/integrations/ingress-1-7#deploying-with-helm); [Breaking change](https://docs.airbyte.com/release_notes/v-1.7#breaking-change-to-ingress)]. - This change is required because Airbyte started removing the webapp service in 1.7 and finished in 1.8; old ingress rules that still target webapp will cause 404s (like your /api/v1/instance_configuration error). [[Breaking changes](https://docs.airbyte.com/release_notes/breaking-changes); [Update ingress 1.7+](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/ingress-1-7)]. - Several users on EKS confirmed that adding a specific rule for /api/v1/connector_builder and routing the rest to server fixed the 404/503/Forbidden errors after upgrading. [[Issue 65568](https://github.com/airbytehq/airbyte/issues/65568)]. If you only use kubectl port-forward (no external ingress), make sure the UI’s API requests reach the server. After upgrading, forwarding only the webapp service leads to 404s; route API to server:8001 or use an ingress with the rules above. This exact 404 behavior was reported when upgrading charts and resolved by routing to server instead of webapp. [[Issue 49843](https://github.com/airbytehq/airbyte/issues/49843)]. Tip: Follow the Helm upgrade steps and then verify UI works via port-forward as documented. [[Upgrading on K8s](https://docs.airbyte.com/platform/1.7/operator-guides/upgrading-airbyte)].
a
i am using 1.6.2 @kapa.ai never got this error.
k
A message from kapa.ai
a
@kapa.ai i dont see error in log
k
A message from kapa.ai
Thanks for clarifying. On 1.6.2, a 404 for GET /api/v1/instance_configuration typically means the UI is reaching the webapp’s Nginx but the API calls aren’t being proxied to the Airbyte Server. This has been reported when port-forwarding or ingress routes send /api requests to the webapp instead of the server service. The fix is routing API traffic to the server (port 8001). What to do on 1.6.x with port-forwarding - Use the documented port-forward command to the webapp pod so the built-in Nginx proxies API calls correctly: - Get the webapp pod and forward as shown in the 1.6 docs, then open http://127.0.0.1:8080. [[Install guide 1.6](https://docs.airbyte.com/platform/1.6/deploying-airbyte#6-set-up-port-forward-for-ui-access)] - If you’re forwarding a Service or a different Pod, ensure /api/ is actually reaching the server component; otherwise Nginx serves it as a static path and returns 404—exactly the error you’re seeing. This symptom matches prior reports that were resolved by routing /api to the server instead of the webapp. [[Helm upgrade 404](https://github.com/airbytehq/airbyte/issues/49843); [External DB 404](https://github.com/airbytehq/airbyte/issues/49304)] If you switch to 1.7+ - 1.7 introduced a breaking change to routing: you must explicitly route - /api/v1/connector_builder/ → airbyte-connector-builder-server-svc:80 - everything else (/) → airbyte-server-svc:8001 Missing this causes 403/404 in the UI and Connector Builder. [[Ingress 1.7 update](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/ingress-1-7)] - Multiple users fixed 404s by making this exact change. [[61677](https://github.com/airbytehq/airbyte/issues/61677); [65568](https://github.com/airbytehq/airbyte/issues/65568)] Given you’re on 1.6.2 and “never got this error” before, the most likely cause now is that your port-forward or local routing is pointed at the webapp without proxying to the server. Re-run the 1.6 port-forward steps, or ensure your route for /api goes to the server (8001). [[Install guide 1.6](https://docs.airbyte.com/platform/1.6/deploying-airbyte#6-set-up-port-forward-for-ui-access); [Helm upgrade 404](https://github.com/airbytehq/airbyte/issues/49843)]
If you’re not seeing an error in the Airbyte logs but the UI shows 404s (e.g., GET /api/v1/instance_configuration), it’s likely a routing/misconfiguration issue rather than an application error—so the server never receives the request and nothing appears in server logs. What to check for your EKS + port-forward setup: - Port-forward target: Make sure the UI/API traffic ultimately reaches the airbyte-server on port 8001. If you only forward to the webapp pod, NGINX serves static files and returns 404 for /api/... paths, and the server logs stay empty. The install docs show how to port-forward the webapp for UI access; use that, but ensure API calls are routed to server:8001 behind it, or use an Ingress that routes correctly. [[Install guide (port-forward)](https://docs.airbyte.com/platform/1.7/deploying-airbyte#6-set-up-port-forward-for-ui-access)]. - If you use an Ingress (even for local access): For Airbyte 1.7+, route: - /api/v1/connector_builder/ to ${RELEASE_NAME}-airbyte-connector-builder-server-svc:80 - all other paths (/) to ${RELEASE_NAME}-airbyte-server-svc:8001 Missing these rules causes 404/403/503 at the edge and nothing in server logs. [[Update ingress 1.7](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/ingress-1-7); [Breaking change note](https://docs.airbyte.com/release_notes/v-1.7#breaking-change-to-ingress)]. - On EKS using ALB or NGINX: Use the sample Ingress from the docs and adjust service names. This ensures the UI path /api/v1/instance_configuration reaches the server and you’ll see logs if something else fails. [[Enterprise ingress (EKS examples)](https://docs.airbyte.com/platform/enterprise-setup/implementation-guide#configuring-ingress); [Next ingress guide](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/ingress-1-7)]. Why no logs: the edge (NGINX/Ingress/ALB) is returning 404 before the request gets to airbyte-server, so the server has nothing to log—this is expected with the ingress change in 1.7+ if routing isn’t updated. [[Update ingress 1.7](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/ingress-1-7)].
a
i want to stay on this version @kapa.ai how do i fix this issue.
k
A message from kapa.ai
You can stay on 1.6.2. The 404 from nginx for GET /api/v1/instance_configuration means your browser is reaching the webapp’s nginx, but API requests aren’t being forwarded to the Airbyte Server. This is a routing/port-forwarding issue, not an app bug—so you won’t see errors in server logs because the requests never reach the server. Users hitting the same symptom resolved it by routing API traffic to the server instead of the webapp. [[issue 49304](https://github.com/airbytehq/airbyte/issues/49304); [issue 49843](https://github.com/airbytehq/airbyte/issues/49843)] What to do on 1.6.2 (no external access, just port-forward): - Use the documented port-forward to the webapp pod as shown in the 1.6 install guide:
Copy code
export POD_NAME=$(kubectl get pods --namespace airbyte -l "app.kubernetes.io/name=webapp" -o jsonpath="{.items[0].metadata.name}")   export CONTAINER_PORT=$(kubectl get pod --namespace airbyte $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")   echo "Visit http://127.0.0.1:8080 to use your application"   kubectl --namespace airbyte port-forward $POD_NAME 8080:$CONTAINER_PORT
Then open http://127.0.0.1:8080. [[1.6 port-forward](https://docs.airbyte.com/platform/1.6/deploying-airbyte#6-set-up-port-forward-for-ui-access)] - If you prefer port-forwarding a Service instead of the Pod, ensure you target the correct Service in the right namespace. A common mistake is missing the namespace flag, which points to a non-existent or wrong service. Use: - kubectl -n airbyte port-forward svc/airbyte-webapp-svc 8080:80 (adjust names/namespace to your install). [[forum namespace tip](https://discuss.airbyte.io/t/259)] - If you still see the nginx 404, it means /api is not being proxied to the server behind the webapp. In that case, bypass the webapp service and instead port-forward the airbyte-server service directly to your localhost, and access the UI via an ingress-like split is not available for pure port-forward. The cleaner approach on 1.6.2 is to stick to the official webapp Pod port-forward above, which includes the correct nginx proxying. The 404s reported in similar threads were resolved by ensuring API calls hit the server (port 8001) rather than being handled as static files by nginx. [[issue 49843](https://github.com/airbytehq/airbyte/issues/49843); [issue 49304](https://github.com/airbytehq/airbyte/issues/49304)] If you later move to an ingress (even internally), make sure general API/UI traffic routes to airbyte-server and, if you enable the Connector Builder, route /api/v1/connector_builder/ to the connector-builder service; users confirmed this prevents 404s. [[ingress 1.6 example](https://docs.airbyte.com/platform/1.6/deploying-airbyte/integrations/ingress)]
a
2025-09-25 023450,802 [Thread-2] ERROR i.a.w.l.StartupApplicationEventListener(onApplicationEvent$lambda$1):43 - Failed to retrieve and resume claimed workloads, exiting. io.airbyte.workload.api.client.generated.infrastructure.ClientException: Client error : 400 Bad Request {“message”:“Bad Request”,“logref”null,“path”null,“_links”{“self”{“href”“/api/v1/workload/list”,“templated”false,“profile”null,“deprecation”null,“title”null,“hreflang”null,“type”null,“name”null}},“_embedded”{“errors”[{“message”:“Failed to obtain JDBC Connection”,“logref”null,“path”null,“_links”{},“ embedded”{}}]}} at io.airbyte.workload.api.client.generated.WorkloadApi.workloadList(WorkloadApi.kt:794) at io.airbyte.workload.launcher.ClaimedProcessor.getWorkloadList$lambda$8(ClaimedProcessor.kt:122) at dev.failsafe.Functions.lambda$toCtxSupplier$11(Functions.java:243) at dev.failsafe.Functions.lambda$get$0(Functions.java:46) at dev.failsafe.internal.RetryPolicyExecutor.lambda$apply$0(RetryPolicyExecutor.java:74) at dev.failsafe.SyncExecutionImpl.executeSync(SyncExecutionImpl.java:187) at dev.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:376) at dev.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:112) at io.airbyte.workload.launcher.ClaimedProcessor.getWorkloadList(ClaimedProcessor.kt:121) at io.airbyte.workload.launcher.ClaimedProcessor.retrieveAndProcess(ClaimedProcessor.kt:63) at io.airbyte.workload.launcher.StartupApplicationEventListener.onApplicationEvent$lambda$1(StartupApplicationEventListener.kt:39) at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30). @kapa.ai
k
A message from kapa.ai
The error message:
Copy code
Failed to retrieve and resume claimed workloads, exiting. Client error : 400 Bad Request ... "Failed to obtain JDBC Connection"
indicates that the Airbyte workload launcher is unable to connect to the database. This is a JDBC connection issue, which is commonly caused by one of the following: 1. Database credentials or configuration are incorrect Double-check your database host, port, name, user, and password. Make sure these are correctly set in your Airbyte configuration (either in your
values.yaml
or in the referenced Kubernetes secret). The password must be set in the
airbyte-config-secrets
secret as described in the documentation. [See: External Database setup](https://docs.airbyte.com/platform/1.6/deploying-airbyte/integrations/database) 2. Database is not reachable from the Airbyte pods Ensure that your database is accessible from your Kubernetes cluster. If you are using a managed database (like AWS RDS), check your security groups, firewall rules, and network policies to allow connections from your Airbyte pods to the database. 3. Database does not exist or is not initialized If the database specified does not exist, you will see connection errors. Logs from similar issues show errors like
FATAL: database "db-airbyte" does not exist
when the database is missing. [See: Unable to connect to the database](https://github.com/airbytehq/airbyte/issues/45456) 4. Database is not ready yet Sometimes, the database may still be initializing when Airbyte tries to connect. The logs may show repeated attempts to connect and warnings about waiting for the database to become available. [See: Failed to connect to external postgres DB](https://discuss.airbyte.io/t/1264) What you should do: - Verify your database configuration and credentials. - Ensure the database is running and accessible from your cluster. - Check that the database exists and is initialized. - Review your Kubernetes secrets and
values.yaml
for typos or missing fields. If you continue to see this error after checking the above, review the full logs for more specific error messages (such as authentication failures or network timeouts) to further diagnose the root cause. If you need more detailed troubleshooting steps, please provide your database configuration (redact sensitive info) and any related logs from the Airbyte server or workload launcher pods.
a
only airbyte-workload-launcher is getting this issue @kapa.ai
k
A message from kapa.ai
If only the airbyte-workload-launcher is experiencing the "Failed to obtain JDBC Connection" error, while other Airbyte components are not, this typically points to a configuration or connectivity issue specific to the workload-launcher pod. Based on the knowledge sources, here are the most likely causes and steps to check: 1. Database Credentials or Environment Variables The workload-launcher may have incorrect or missing database credentials or environment variables. Double-check that the environment variables (such as
CONFIG_DATABASE_URL
,
CONFIG_DATABASE_USER
, and
CONFIG_DATABASE_PASSWORD
) are correctly set for the workload-launcher, and that they match those used by other working components. This issue has been observed in other Airbyte deployments where only certain pods failed to connect due to misconfigured secrets or environment variables ([source](https://discuss.airbyte.io/t/2589)). 2. Network Policies or Pod Access There could be a network policy or security group that is preventing the workload-launcher from accessing the database, even if other pods can. Ensure that the workload-launcher pod is running in the same namespace and has the same network access as the other Airbyte pods. 3. Database Initialization or Availability If the database is not fully initialized or available at the time the workload-launcher starts, it may fail to connect. However, this would typically affect all components, not just the workload-launcher. Still, check the logs for any timing or readiness issues ([source](https://discuss.airbyte.io/t/1264)). 4. Pod-Specific Configuration There may be a pod-specific configuration or override in your Helm values or Kubernetes manifests that affects only the workload-launcher. Compare the configuration of the workload-launcher with other Airbyte pods to ensure consistency. 5. Known Issues There are reports of similar issues where only the workload-launcher pod fails due to missing or incorrect secrets, especially after upgrades or manual changes to secrets ([source](https://github.com/airbytehq/airbyte/issues/58587)). What to do: - Compare the environment variables and secrets for the workload-launcher pod with those of other Airbyte pods. - Ensure the workload-launcher has network access to the database. - Check for any pod-specific overrides or misconfigurations. - If you recently upgraded or changed secrets, ensure all required secrets (such as database credentials) are present and correct. If the problem persists after these checks, please provide the relevant environment variables and secret configuration for the workload-launcher pod (with sensitive information redacted) for further troubleshooting.
a
“status”: 409 }, “name”: “HttpError”, “requestId”: “mXnPmwcQpZoq6SqXuPG6PG”, “request”: { “url”: “/api/v1/web_backend/connections/list”, “method”: “post”, “headers”: { “Content-Type”: “application/json” }, “data”: { “workspaceId”: “846149a4-fd0b-42ab-9145-1c66e3f58b72" } }, “status”: 409, “response”: { “message”: “Failed to access database. Check the server logs for more information”, “exceptionClassName”: “io.airbyte.commons.server.errors.ConflictException”, “exceptionStack”: [], “rootCauseExceptionStack”: [] } } @kapa.ai getting in web app pod
k
A message from kapa.ai
The error you are seeing in the web app pod:
Copy code
"status": 409, "response": {   "message": "Failed to access database. Check the server logs for more information",   "exceptionClassName": "io.airbyte.commons.server.errors.ConflictException" }
means that the Airbyte web application is unable to access the database. This is confirmed by the
ConflictException
and the message "Failed to access database." This error is not unique to your setup and has been reported by other users as well, especially after upgrades or changes to the database configuration. Possible causes based on the knowledge sources: - Database connection issues: The Airbyte server or webapp cannot connect to the configured database. This could be due to incorrect credentials, wrong database host/port, or network issues between the pod and the database ([Github Issue 54150](https://github.com/airbytehq/airbyte/issues/54150)). - Database schema/version mismatch: If the database schema is not compatible with the Airbyte version you are running (for example, after an incomplete upgrade or downgrade), you may see this error ([Github Issue 54150](https://github.com/airbytehq/airbyte/issues/54150)). - Database not available or not initialized: If the database is down, not reachable, or not properly initialized, Airbyte will not be able to access it ([Github Issue 54150](https://github.com/airbytehq/airbyte/issues/54150)). What you should do: 1. Check the Airbyte server logs for more detailed error messages about why the database connection is failing. 2. Verify your database configuration (host, port, user, password, database name) in your Airbyte deployment. Make sure these match what is actually running and accessible. 3. Ensure the database is running and reachable from your Kubernetes cluster or wherever your Airbyte pods are running. 4. Check for schema or version mismatches if you recently upgraded or downgraded Airbyte. There are known issues if the database schema does not match the Airbyte version ([Github Issue 54150](https://github.com/airbytehq/airbyte/issues/54150)). If you continue to see this error after checking the above, please provide the relevant server logs for more targeted troubleshooting.
a
2025-09-25 201519,045 [io-executor-thread-6] ERROR i.a.c.s.e.h.KnownExceptionHandler(handle):34 - Known Exception: class KnownExceptionInfo { message: Failed to access database. Check the server logs for more information exceptionClassName: io.airbyte.commons.server.errors.ConflictException exceptionStack: [io.airbyte.commons.server.errors.ConflictException: Failed to access database. Check the server logs for more information, at io.airbyte.server.apis.ApiHelper.execute(ApiHelper.kt:45), at io.airbyte.server.apis.controllers.WebBackendApiController.webBackendListConnectionsForWorkspace(WebBackendApiController.kt:130), at io.airbyte.server.apis.controllers.$WebBackendApiController$Definition$Exec.dispatch(Unknown Source), at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461), at io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4354), at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:272), at io.micronaut.web.router.DefaultUriRouteMatch.execute(DefaultUriRouteMatch.java:38), at io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:488), at io.micronaut.http.server.RouteExecutor.lambda$callRoute$5(RouteExecutor.java:465), at io.micronaut.core.execution.ExecutionFlow.lambda$async$1(ExecutionFlow.java:87), at io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211), at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144), at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642), at java.base/java.lang.Thread.run(Thread.java:1583)] rootCauseExceptionClassName: null rootCauseExceptionStack: [] details: null } @kapa.ai
k
A message from kapa.ai
The error message you are seeing:
Copy code
Known Exception: class KnownExceptionInfo {     message: Failed to access database. Check the server logs for more information     exceptionClassName: io.airbyte.commons.server.errors.ConflictException     ... }
indicates that the Airbyte server is unable to access the database. This is a common issue and is typically related to one of the following causes: 1. Database Connection Configuration: The most frequent cause is incorrect database connection details (host, port, username, password, or database name) in your Airbyte deployment. Double-check your configuration and Kubernetes secrets to ensure all values are correct and match your actual database setup. This issue has been reported by other users and is often resolved by correcting the database credentials or connection string ([Github Issue 54150](https://github.com/airbytehq/airbyte/issues/54150)). 2. Database Availability: The database might not be running, or it may not be reachable from your Airbyte pods due to network policies, firewall rules, or security group settings. Make sure your database is up and accessible from within your Kubernetes cluster ([Github Issue 54150](https://github.com/airbytehq/airbyte/issues/54150)). 3. Database Schema/Version Mismatch: If you have recently upgraded or downgraded Airbyte, there could be a mismatch between the expected database schema and the actual schema. This can cause the server to fail when trying to access certain tables or fields ([Github Issue 54150](https://github.com/airbytehq/airbyte/issues/54150)). 4. Pod-Specific Configuration: Sometimes, only specific pods (like the workload-launcher) experience this issue due to missing or incorrect environment variables or secrets. Compare the environment variables and secrets for the affected pod with those of the working pods to ensure consistency ([Forum Post](https://discuss.airbyte.io/t/2589)). What you should do: - Check the Airbyte server logs for more detailed error messages about the database connection failure. - Verify your database configuration and credentials in your deployment and Kubernetes secrets. - Ensure the database is running and accessible from your Airbyte pods. - If you recently changed Airbyte versions, check for schema or migration issues. If you continue to see this error after these checks, please provide more details from the server logs for further troubleshooting. The knowledge sources do not provide a more specific root cause without additional log details.
a
025-09-25 202055,746 [main] INFO i.a.s.DatabaseEventListener(onApplicationEvent):33 - Checking jobs database flyway migration version... 2025-09-25 202055,747 [main] WARN i.a.d.c.DatabaseAvailabilityCheck(check):38 - Waiting for database to become available... 2025-09-25 202055,747 [main] INFO i.a.d.c.DatabaseAvailabilityCheck(lambda$isDatabaseConnected$1):75 - Testing airbyte jobs database connection... 2025-09-25 202055,750 [main] INFO i.a.d.c.DatabaseAvailabilityCheck(check):57 - Database available. 2025-09-25 202055,764 [main] INFO o.f.c.i.l.s.Slf4jLog(info):37 - Database: jdbc:postgresql://datagol-uat-eks-cluster-new-postgresql-rds-instance..rds.amazonaws.com:5432/airbyte (PostgreSQL 16.8) 2025-09-25 202055,833 [main] INFO i.a.d.c.DatabaseMigrationCheck(check):46 - Current database migration version 1.1.0.004. 2025-09-25 202055,833 [main] INFO i.a.d.c.DatabaseMigrationCheck(check):47 - Minimum Flyway version required 0.29.15.001. 2025-09-25 202055,833 [main] INFO i.a.d.c.DatabaseMigrationCheck(check):62 - Verified that database has been migrated to the required minimum version 0.29.15.001. 2025-09-25 202055,838 [main] INFO i.m.r.Micronaut(start):101 - Startup completed in 18956ms. Server Running: http://airbyte-server-5b59795f59-th7pm:8001 2025-09-25 202244,532 [io-executor-thread-9] INFO i.a.c.s.RemoteDefinitionsProvider(getRemoteConnectorRegistry):211 - Fetched latest remote definitions (-1208440820) 2025-09-25 202244,554 [io-executor-thread-10] ERROR i.a.c.s.e.h.KnownExceptionHandler(handle):34 - Known Exception: class KnownExceptionInfo { message: Failed to access database. Check the server logs for more information exceptionClassName: io.airbyte.commons.server.errors.ConflictException exceptionStack: [io.airbyte.commons.server.errors.ConflictException: Failed to access database. Check the server logs for more information, at io.airbyte.server.apis.ApiHelper.execute(ApiHelper.kt:45), at io.airbyte.server.apis.controllers.WebBackendApiController.webBackendListConnectionsForWorkspace(WebBackendApiController.kt:130), at io.airbyte.server.apis.controllers.$WebBackendApiController$Definition$Exec.dispatch(Unknown Source), at io.micronaut.context.AbstractExecutableMethodsDefinition$DispatchedExecutableMethod.invokeUnsafe(AbstractExecutableMethodsDefinition.java:461), at io.micronaut.context.DefaultBeanContext$BeanContextUnsafeExecutionHandle.invokeUnsafe(DefaultBeanContext.java:4354), at io.micronaut.web.router.AbstractRouteMatch.execute(AbstractRouteMatch.java:272), at io.micronaut.web.router.DefaultUriRouteMatch.execute(DefaultUriRouteMatch.java:38), at io.micronaut.http.server.RouteExecutor.executeRouteAndConvertBody(RouteExecutor.java:488), at io.micronaut.http.server.RouteExecutor.lambda$callRoute$5(RouteExecutor.java:465), at io.micronaut.core.execution.ExecutionFlow.lambda$async$1(ExecutionFlow.java:87), at io.micronaut.core.propagation.PropagatedContext.lambda$wrap$3(PropagatedContext.java:211), at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144), at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642), at java.base/java.lang.Thread.run(Thread.java:1583)] rootCauseExceptionClassName: null rootCauseExceptionStack: [] details: null } @kapa.ai
k
A message from kapa.ai
Based on your logs, Airbyte is able to connect to your PostgreSQL database and complete the Flyway migration check successfully at startup:
Copy code
Database: jdbc:postgresql://datagol-uat-eks-cluster-new-postgresql-rds-instance..rds.amazonaws.com:5432/airbyte (PostgreSQL 16.8) Current database migration version 1.1.0.004. Verified that database has been migrated to the required minimum version 0.29.15.001.
However, shortly after, you are seeing:
Copy code
Known Exception: class KnownExceptionInfo {     message: Failed to access database. Check the server logs for more information     exceptionClassName: io.airbyte.commons.server.errors.ConflictException     ... }
This pattern—successful initial connection and migration check, but subsequent "Failed to access database" errors—has been reported by other users and is typically related to: - Intermittent database connectivity issues: The database may be temporarily unreachable due to network issues, security group changes, or resource constraints. This can cause Airbyte to lose its connection after startup, even if the initial check passes. - Database connection pool exhaustion or misconfiguration: If too many connections are opened and not properly closed, or if the database has a low connection limit, new requests may fail to obtain a connection. - Schema or permission issues: If the Airbyte user does not have the necessary permissions for all required tables or operations, some API calls may fail even though the migration check passes. What you should do: 1. Check your database logs for any signs of refused connections, authentication failures, or resource exhaustion at the time of the error. 2. Verify network stability between your Airbyte pods and the database, especially if you are using AWS RDS and EKS—ensure security groups, VPC settings, and NACLs allow persistent connectivity. 3. Review your database user permissions to ensure the Airbyte user has full access to the Airbyte database and all required tables. 4. Check for connection limits on your PostgreSQL instance and increase them if necessary. This issue is consistent with reports from other users who saw "Failed to access database" errors after initial successful startup, often due to network, permissions, or connection pool issues, not a fundamental misconfiguration or migration problem ([Github Issue 54150](https://github.com/airbytehq/airbyte/issues/54150)). If the problem persists, more detailed logs from both Airbyte and your database at the time of the error will help pinpoint the root cause. The knowledge sources do not provide a more specific solution for this exact scenario.
a
skip schedule deleting pod: airbyte/replication-job-493-attempt-2 Reason FailedScheduling Source default-scheduler @kapa.ai it is not tigring the scaleup
k
A message from kapa.ai
The message
skip schedule deleting pod: airbyte/replication-job-493-attempt-2
with
Reason: FailedScheduling
from the
default-scheduler
indicates that the Kubernetes scheduler was unable to schedule the Airbyte replication job pod, likely due to resource constraints or node affinity/taints. If the pod is not triggering a scale-up (i.e., new nodes are not being added to accommodate the pod), this is typically due to one of the following reasons: 1. Cluster Autoscaler Not Configured or Enabled: If you are using EKS and want pods to trigger node scale-up, you must have the Kubernetes Cluster Autoscaler deployed and properly configured. If it is not running, or if your node group does not allow scaling, pods will remain unscheduled. 2. Resource Requests Too High: If the pod requests more CPU or memory than any node can provide, the autoscaler will not scale up, and the pod will remain unscheduled. 3. Node Affinity or Taints/Tolerations: If your Airbyte job pods have node affinity or tolerations that do not match any available nodes, the scheduler will not be able to place the pod, and autoscaler may not act if no node group matches the requirements. This has been reported in Airbyte deployments where sync job pods were not scheduled due to missing or misconfigured node selectors or tolerations ([Schedule Sync Job pods on Dedicated Node](https://github.com/airbytehq/airbyte/issues/18104)). 4. Persistent Volume Issues: If the pod requires a PersistentVolume that cannot be bound (e.g., due to zone/affinity conflicts), scheduling will fail and autoscaler will not help. This is a common issue on EKS with zonal PVs ([EKS pods running into Pending state due to PV](https://discuss.airbyte.io/t/3211)). What you can do: - Check the pod's
describe
output (
kubectl describe pod <pod-name>
) for detailed scheduling errors. - Ensure your EKS node group is configured for autoscaling and that the Cluster Autoscaler is running. - Review resource requests/limits for your Airbyte jobs. - Check for node affinity, taints, or tolerations that may prevent scheduling. - If using PVs, ensure there are available volumes in the correct zone. The knowledge sources do not mention Airbyte itself triggering scale-up; this is managed by your Kubernetes/EKS setup. If you need Airbyte jobs to trigger node scale-up, ensure your cluster autoscaler and node group configuration support it. If you need more specific help, please provide the output of
kubectl describe pod <pod-name>
for the affected pod.