<@U04S8PLJWMT> when I do this, curl -X POST <https...
# ask-ai
u
@kapa.ai when I do this, curl -X POST https://domain/api/public/v1/applications/token \ -H "Content-Type: application/json" \ -d '{ "client_id": "<YOUR_CLIENT_ID>", "client_secret": "<YOUR_CLIENT_SECRET>" }', curl -X POST https://domain/api/public/v1/applications/token 이걸햇을 때 처음 발급받은 client_id, client_secret을 사용했는데 Invalid client id or token 에러가 발생해
k
When you receive an "Invalid client id or token" error after making a request like:
Copy code
bash curl -X POST https://domain/api/public/v1/applications/token \   -H "Content-Type: application/json" \   -d '{     "client_id": "<YOUR_CLIENT_ID>",     "client_secret": "<YOUR_CLIENT_SECRET>"   }'
using the client_id and client_secret you received when creating the application in the Airbyte UI, there are a few things to check: 1. Endpoint URL: For Self-Managed Airbyte, the correct endpoint is:
Copy code
POST <YOUR_WEBAPP_URL>/api/v1/applications/token
For Airbyte Cloud, the endpoint is:
Copy code
POST https://api.airbyte.com/api/v1/applications/token
The
/api/public/v1/applications/token
endpoint is not documented for token retrieval. Please use
/api/v1/applications/token
instead [see docs](https://docs.airbyte.com/platform/using-airbyte/configuring-api-access). 2. Credentials: Double-check that you are using the exact
client_id
and
client_secret
generated in the Airbyte UI under Settings → Account → Applications. The
client_secret
is only visible once when you create the application, so ensure you have copied it correctly. 3. Request Body: The JSON body should be:
Copy code
json    {      "client_id": "<YOUR_CLIENT_ID>",      "client_secret": "<YOUR_CLIENT_SECRET>"    }
4. Token Expiry: The access token you receive is short-lived (3 minutes for most versions), but the
client_id
and
client_secret
themselves do not expire unless you delete the application in the UI. 5. Self-Managed URL: If you are running Airbyte Self-Managed, replace
<YOUR_WEBAPP_URL>
with the actual URL you use to access the Airbyte UI (e.g.,
http://localhost:8000
or your domain). Summary of what to do: - Use the correct endpoint:
/api/v1/applications/token
- Ensure your credentials are correct and not expired or deleted - Use the correct JSON body format If you still get the error after these checks, try creating a new application in the Airbyte UI and use the new credentials to see if the issue persists [see documentation](https://docs.airbyte.com/platform/using-airbyte/configuring-api-access). If the problem continues, there may be an issue with your Airbyte deployment or configuration. In that case, please provide more details about your Airbyte version and deployment type. [Reference: Airbyte API Access Configuration](https://docs.airbyte.com/platform/using-airbyte/configuring-api-access)
u
@kapa.ai https://airbyte.domain/api/v1/scheduler/sources/check_connection 에서 504 error가 발생해. 어떻게 해야해? abctl을 사용한 kubectl을 사용하고 있어.
k
A message from kapa.ai
Airbyte에서
/api/v1/scheduler/sources/check_connection
호출 시 504 Gateway Timeout 에러가 발생하는 경우, abctl 및 kubectl 환경에서 자주 보고되는 문제입니다. 아래와 같은 원인과 해결 방법이 있습니다. ### 주요 원인 1. Ingress Proxy Timeout Airbyte의 ingress proxy(예: nginx)의 기본 timeout(60초 등)이 source/destination 체크 작업보다 짧을 때, 작업이 끝나기 전에 proxy가 연결을 끊으면서 504 에러가 발생합니다. 실제로 connector pod에서는 정상적으로 체크가 끝났더라도, 클라이언트(브라우저 등)에는 504만 전달됩니다. 이 문제는 여러 이슈와 포럼에서 반복적으로 언급되었습니다 [관련 이슈](https://github.com/airbytehq/airbyte/issues/45156) [포럼](https://discuss.airbyte.io/t/1207). 2. 네트워크/리소스 문제 클러스터 내 리소스 부족, 네트워크 연결 문제, pod 스케줄링 지연 등도 원인이 될 수 있습니다 [참고](https://github.com/airbytehq/airbyte/issues/44443). ### 해결 방법 #### 1. Ingress Proxy Timeout 늘리기 (nginx 기준) Ingress의 timeout을 connector 작업 시간보다 길게 설정해야 합니다.
Copy code
yaml apiVersion: networking.k8s.io/v1 kind: Ingress metadata:   annotations:     nginx.ingress.kubernetes.io/proxy-read-timeout: "120"     nginx.ingress.kubernetes.io/proxy-send-timeout: "120"
적용 방법:
Copy code
bash kubectl -n <airbyte-namespace> edit ingresses.networking.k8s.io <ingress-name>
위와 같이 annotation을 추가/수정 후 저장하면 됩니다. abctl로 설치한 경우 ingress 이름은 `ingress-abctl`일 수 있습니다 [참고](https://github.com/airbytehq/airbyte/issues/45156). #### 2. 직접 서비스로 접근해 테스트 Ingress를 거치지 않고, port-forward 등으로 직접 webapp에 접근하면 timeout 없이 동작하는지 확인해볼 수 있습니다. 이 경우 정상 동작한다면 ingress 설정 문제일 가능성이 높습니다 [포럼](https://discuss.airbyte.io/t/594). #### 3. 리소스/네트워크 점검 - 클러스터 리소스(CPU, 메모리) 부족 여부 확인 - 관련 pod(특히 worker, server, connector pod) 상태 확인 - 네트워크 정책, 방화벽 등으로 인한 통신 차단 여부 확인 #### 4. 로그 확인 - connector pod, server, worker, scheduler pod의 로그를 확인해 실제로 작업이 정상적으로 끝났는지, 에러가 있는지 확인하세요. --- 요약: Ingress proxy의 timeout을 충분히 늘려주고, 리소스 및 네트워크 상태를 점검하세요. 대부분의 504 에러는 proxy timeout이 원인입니다. 자세한 방법은 위 이슈와 포럼의 실제 사례를 참고하시면 도움이 됩니다. - [Ingress timeout 설정 방법](https://github.com/airbytehq/airbyte/issues/45156) - [포럼 내 유사 사례](https://discuss.airbyte.io/t/1207)
u
@kapa.ai ingress 안으로는 로그가 들어왔어. 그다음은?
k
A message from kapa.ai
Ingress 안으로 로그가 들어왔다는 것은, 클라이언트의 요청이 Ingress까지는 정상적으로 도달했다는 의미입니다. 그 다음 단계에서 확인해야 할 것은 다음과 같습니다: 1. Ingress에서 백엔드 서비스로 트래픽 전달 확인 Ingress가 올바른 서비스(예: airbyte-server, airbyte-webapp 등)로 트래픽을 전달하고 있는지 확인해야 합니다. Ingress 리소스의 `rules`와
backend
설정이 올바른지, 그리고 서비스 이름과 포트가 실제로 존재하는지 점검하세요. 예시(Ingress 설정):
Copy code
yaml    rules:      - host: airbyte.example.com        http:          paths:            - backend:                service:                  name: airbyte-airbyte-server-svc                  port:                    number: 8001              path: /              pathType: Prefix
[Ingress 설정 예시](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/ingress) 2. 서비스와 파드 상태 확인 Ingress가 트래픽을 전달하는 서비스와 해당 서비스가 연결된 파드(예: airbyte-server, airbyte-worker 등)가 정상적으로 동작 중인지 확인하세요. -
kubectl get pods -n <namespace>
-
kubectl get svc -n <namespace>
3. 파드 로그 확인 요청이 Ingress를 통과한 후, 실제로 백엔드 파드에서 요청을 받고 처리하는지 로그를 확인해야 합니다. -
kubectl logs <airbyte-server-pod> -n <namespace>
-
kubectl logs <airbyte-worker-pod> -n <namespace>
- 요청 시각에 맞는 에러나 경고 메시지가 있는지 확인 4. Timeout/504 발생 시 만약 Ingress에서 백엔드로 요청이 전달되었지만, 백엔드가 응답을 제때 주지 못해 504가 발생한다면, - 백엔드 파드가 실제로 요청을 처리하고 있는지 - 작업이 오래 걸리는지 - 리소스 부족이나 네트워크 이슈가 있는지 - Ingress의 timeout 설정이 충분히 긴지 등을 추가로 점검해야 합니다. [Ingress timeout 관련 이슈](https://github.com/airbytehq/airbyte/issues/45156) 정리: Ingress까지 로그가 들어왔다면, 그 다음은 서비스와 파드가 정상적으로 요청을 받고 처리하는지, 그리고 응답이 Ingress를 통해 다시 클라이언트로 잘 전달되는지 단계별로 확인해야 합니다. 파드 로그와 서비스 연결 상태를 집중적으로 점검하세요. 만약 파드에서 정상적으로 처리되는데도 504가 발생한다면, Ingress timeout 설정을 늘려야 할 수 있습니다.
u
@kapa.ai ingress까지 로그가 들어왔고, 백엔드 서비스로 트래픽 전달 확인했어. 근데 worker 에서 에러가 발생하고, server pod에는 로그가 안들어왔어. worker pod log는 ApiException Unauthroized 야.
k
A message from kapa.ai
Ingress까지 요청이 들어왔고, 백엔드 서비스로 트래픽도 전달되었으나, **worker pod에서
ApiException Unauthorized
에러가 발생하고, server pod에는 로그가 남지 않는 상황**이라면, 다음과 같은 원인과 해결책을 고려할 수 있습니다. --- ### 원인 분석 1. ServiceAccount/권한 문제 - Airbyte의 worker pod가 Kubernetes API에 접근할 때 필요한 권한(ServiceAccount, Role, RoleBinding 등)이 부족하거나 잘못 설정된 경우, Unauthorized(401) 에러가 발생할 수 있습니다. - 실제로 여러 이슈에서 업그레이드, Helm 차트 변경, 혹은 서비스 계정 설정 오류로 인해 worker pod가 default service account로 실행되거나, 필요한 권한이 없어 pod 생성/패치 등에 실패하는 사례가 보고되었습니다 ([참고 이슈](https://github.com/airbytehq/airbyte/issues/50979), [권한 관련 이슈](https://github.com/airbytehq/airbyte/issues/42859), [Helm upgrade 이슈](https://github.com/airbytehq/airbyte/issues/18731), [KubeClientException 사례](https://github.com/airbytehq/airbyte/issues/39512)). 2. ServiceAccount가 올바르게 적용되지 않음 - worker pod가 Airbyte에서 지정한 service account가 아닌 default service account로 실행되고 있을 수 있습니다. 이 경우, 필요한 권한이 없어 Unauthorized가 발생합니다 ([Helm 차트 관련](https://github.com/airbytehq/airbyte/issues/50979)). --- ### 해결 방법 1. ServiceAccount 및 RoleBinding 확인 - Airbyte가 사용하는 namespace에서 아래 명령어로 worker pod의 service account가 올바른지 확인하세요.
Copy code
bash      kubectl get pod <worker-pod-name> -o yaml | grep serviceAccount
-
serviceAccount: airbyte
또는 설정한 이름이 나와야 하며, `default`로 되어 있다면 Helm values 또는 abctl 설정을 점검해야 합니다. 2. Helm values/abctl 설정 점검 - Helm 또는 abctl로 설치했다면,
global.serviceAccountName
및 `serviceAccount.name`이 올바르게 지정되어 있는지 확인하세요. - 예시:
Copy code
yaml      global:        serviceAccountName: airbyte      airbyte:        serviceAccount:          name: airbyte          annotations:            eks.amazonaws.com/role-arn: arn:aws:iam::<ACCOUNT_ID>:role/<ROLE_NAME>
- 설정 변경 후에는
helm upgrade
또는 abctl로 재배포가 필요합니다. 3. Role/RoleBinding 존재 여부 확인 - 해당 service account에 필요한 권한이 부여되어 있는지 확인하세요. 예를 들어, pod 생성/조회/패치 권한이 필요합니다. 4. worker pod 재시작 - 설정을 수정한 후 worker pod를 재시작하여 변경 사항이 반영되었는지 확인하세요. --- ### 참고 - 비슷한 문제에서 service account가 올바르게 적용되지 않아 AWS S3 접근 등에서 403/401 에러가 발생한 사례가 있습니다 ([이슈](https://github.com/airbytehq/airbyte/issues/50979)). - Helm upgrade 시 service account가 삭제/재생성되면서 권한이 꼬이는 경우도 있으니, upgrade 후 권한이 유지되는지 확인이 필요합니다 ([이슈](https://github.com/airbytehq/airbyte/issues/18731)). --- 정리: worker pod의 service account 및 권한 설정을 점검하고, 필요한 경우 Helm/abctl 설정을 수정하여 재배포하세요. 대부분의 Unauthorized 에러는 service account 권한 문제에서 발생합니다. 만약 위 조치 후에도 문제가 지속된다면, worker pod의 전체 로그와 service account, role, rolebinding 리소스 정의를 추가로 확인해보는 것이 좋습니다. [관련 이슈1](https://github.com/airbytehq/airbyte/issues/50979) [관련 이슈2](https://github.com/airbytehq/airbyte/issues/42859)
u
@kapa.ai ServiceAccount 는 airbyte-admin 이라고 나와. 그리고 ServiceAccountName 역시 airbyte-admin이라고 나와.
k
A message from kapa.ai
현재 worker pod의 `serviceAccount`와 `serviceAccountName`이 모두 `airbyte-admin`으로 나오고 있다는 점을 확인하셨습니다. 이 상황에서 발생하는 대표적인 문제는 다음과 같습니다: - Helm values에서 custom service account를 지정했음에도 불구하고, Airbyte가 여전히
airbyte-admin
service account를 사용하려고 한다.
- 이로 인해 AWS IRSA, GCP Workload Identity 등 클라우드 권한 연동이 제대로 동작하지 않거나, 권한 부족(Unauthorized) 에러가 발생할 수 있습니다. ### 원인 및 해결 방법 #### 1. Helm 차트의 하드코딩/설정 문제 여러 이슈에서, Helm 차트 또는 Airbyte 내부 코드가
airbyte-admin
service account를 하드코딩해서 사용하는 문제가 보고되었습니다. 특히 1.3.0~1.4.1 버전에서 custom service account를 지정해도 replication pod 등에서 `airbyte-admin`을 찾으려다 실패하는 사례가 많았습니다 [관련 이슈](https://github.com/airbytehq/airbyte/issues/49938), [또 다른 사례](https://github.com/airbytehq/airbyte/issues/50979). #### 2. 해결 방법: Helm values에서 명시적으로 service account 지정 가장 효과적인 해결책은 Helm values에서 아래와 같이 명시적으로 service account 이름을 지정하는 것입니다.
Copy code
yaml global:   jobs:     kube:       serviceAccountName: <원하는-service-account-이름>
또는
Copy code
yaml global:   serviceAccountName: <원하는-service-account-이름>
그리고 `airbyte.serviceAccount.name`도 동일하게 맞춰주세요. 이렇게 하면 workload-launcher 및 worker pod가 올바른 service account를 사용하게 됩니다. 실제 사용자들이 이 방법으로 문제를 해결했다는 피드백이 있습니다 [참고](https://github.com/airbytehq/airbyte/issues/49938). #### 3. 차트 버전 확인 및 업그레이드 - 1.3.0~1.4.1 버전에서 이 문제가 자주 발생했으며, 1.3.1 이후 버전에서 일부 패치가 적용되었습니다. - 최신 버전으로 업그레이드하는 것도 권장됩니다 [패치 내역](https://github.com/airbytehq/airbyte/issues/48888). #### 4. workaround: airbyte-admin service account에 필요한 권한 부여 만약 위 설정이 어렵거나 즉시 반영이 안 된다면,
airbyte-admin
service account에 필요한 클라우드 권한(예: IRSA, Workload Identity 등)을 임시로 부여하는 것도 한 방법입니다. --- 요약: Helm values에서
global.jobs.kube.serviceAccountName
또는 `global.serviceAccountName`을 명시적으로 지정하고, 차트 버전도 1.3.1 이상으로 업그레이드하는 것이 가장 확실한 해결책입니다. 이렇게 하면 worker pod가 원하는 service account로 실행되어 Unauthorized 에러가 해결됩니다. [참고 이슈1](https://github.com/airbytehq/airbyte/issues/49938) [참고 이슈2](https://github.com/airbytehq/airbyte/issues/48888)
u
@kapa.ai devops@coelprodcdc02:~$ kubectl get sa,role,rolebinding -n airbyte-abctl NAME SECRETS AGE serviceaccount/airbyte-admin 0 66m serviceaccount/default 0 66m NAME CREATED AT role.rbac.authorization.k8s.io/airbyte-admin-role 2025-08-26T105347Z NAME ROLE AGE rolebinding.rbac.authorization.k8s.io/airbyte-admin-binding Role/airbyte-admin-role 66m
k
A message from kapa.ai
현재
airbyte-admin
서비스 어카운트,
airbyte-admin-role
Role, 그리고
airbyte-admin-binding
RoleBinding이 모두 정상적으로 생성되어 있는 것으로 보입니다. 하지만 여전히 worker pod에서
ApiException Unauthorized
에러가 발생한다면, 다음 사항을 점검해야 합니다. --- ### 1. Role의 권한(리소스) 확인 Airbyte 1.6 이상에서는 서비스 어카운트에
secrets
리소스에 대한 권한이 반드시 필요합니다. Role의 rules에 아래 리소스가 모두 포함되어야 합니다:
Copy code
yaml resources: ["jobs", "pods", "pods/log", "pods/exec", "pods/attach", "secrets"] verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
만약 `secrets`가 누락되어 있다면, 아래와 같이 Role을 패치해야 합니다:
Copy code
bash kubectl -n airbyte-abctl patch role airbyte-admin-role --type='json' \   -p='[{"op": "replace", "path": "/rules/0/resources", "value": ["jobs", "pods", "pods/log", "pods/exec", "pods/attach", "secrets"]}]'
[공식 문서 참고](https://docs.airbyte.com/platform/1.7/enterprise-setup/upgrade-service-account) --- ### 2. RoleBinding의 대상 확인 RoleBinding의 `subjects`에
airbyte-admin
서비스 어카운트가 정확히 지정되어 있는지 확인하세요. 예시:
Copy code
yaml subjects:   - kind: ServiceAccount     name: airbyte-admin     namespace: airbyte-abctl
네임스페이스가 일치해야 합니다. --- ### 3. 서비스 어카운트에 필요한 클라우드 권한(예: IRSA) 부여 AWS EKS 등에서 IRSA를 사용하는 경우,
airbyte-admin
서비스 어카운트에 올바른 IAM Role이 annotation으로 부여되어 있는지 확인하세요. --- ### 4. 적용 후 pod 재시작 Role/RoleBinding을 수정했다면, worker pod를 재시작해야 변경 사항이 반영됩니다. --- 정리: - Role에
secrets
리소스 권한이 포함되어 있는지 확인/추가 - RoleBinding이 올바른 서비스 어카운트와 네임스페이스를 가리키는지 확인 - 클라우드 권한(필요시) annotation 확인 - 변경 후 worker pod 재시작 이렇게 하면 Airbyte 1.6 이상에서 발생하는 Unauthorized 문제를 해결할 수 있습니다. [공식 문서: 서비스 어카운트 권한 업데이트](https://docs.airbyte.com/platform/1.7/enterprise-setup/upgrade-service-account)
u
@kapa.ai 너가 말한건 모두 같다는것을 확인했어. 근데도 ingress까지 로그가 들어왔고, 백엔드 서비스로 트래픽 전달 확인했어. 근데 worker 에서 에러가 발생하고, server pod에는 로그가 안들어왔어. worker pod log는 ApiException Unauthroized 야.
k
A message from kapa.ai
현재 상황을 요약하면: - Ingress까지 요청이 정상적으로 들어옴 - 백엔드 서비스(airbyte-server 등)로 트래픽 전달도 정상 - worker pod에서
ApiException Unauthorized
에러 발생
- server pod에는 해당 요청 로그가 없음 - ServiceAccount, Role, RoleBinding 등은 모두 정상적으로 설정되어 있음 --- ### 지식 소스 기반 분석 1. worker pod의 Unauthorized 에러 - 여러 이슈에서 Airbyte의 worker pod가 Kubernetes API에 접근할 때 필요한 권한이 부족하거나, 올바른 ServiceAccount가 적용되지 않으면
Unauthorized
에러가 발생한다고 보고되었습니다. - 특히, Airbyte 1.3.x~1.4.x 버전에서 ServiceAccount가 하드코딩되거나, Helm 차트/코드의 버그로 인해 올바른 ServiceAccount가 적용되지 않아 비슷한 문제가 반복적으로 발생했습니다 ([관련 이슈](https://github.com/airbytehq/airbyte/issues/50979), [또 다른 사례](https://github.com/airbytehq/airbyte/issues/49938)). 2. server pod에 로그가 없는 현상 - worker pod가 Kubernetes API에 접근할 때 인증 실패(Unauthorized)로 인해, 실제로 server pod까지 요청이 도달하지 못하는 경우가 있습니다. - 즉, worker가 내부적으로 Kubernetes에 pod 생성/패치 요청을 보내는 단계에서 401 에러가 발생하면, server pod에는 해당 요청이 아예 전달되지 않습니다 ([유사 사례](https://github.com/airbytehq/airbyte/issues/39512)). 3. Role/RoleBinding/ServiceAccount가 정상인데도 발생하는 경우 - 여러 이슈에서, Helm 차트의 버그 또는 Airbyte 내부 코드의 하드코딩으로 인해, 실제로는 올바른 ServiceAccount가 적용되지 않거나, worker pod가 default ServiceAccount로 동작하는 경우가 있었습니다. - 또한, ServiceAccount에 필요한 권한(특히
secrets
등)이 누락되어 있으면 동일한 Unauthorized 에러가 발생할 수 있습니다 ([권한 누락 사례](https://github.com/airbytehq/airbyte/issues/42859)). --- ### 지식 소스 기반 해결 방향 - Helm 차트 버전 및 패치 내역 확인 Airbyte 1.3.x~1.4.x 버전에서 ServiceAccount 관련 버그가 있었으며, 이후 패치가 적용되었습니다. 최신 버전(1.5.x 이상)으로 업그레이드하면 이 문제가 해결될 수 있습니다 ([패치 내역](https://github.com/airbytehq/airbyte/issues/50979)). - ServiceAccount, Role, RoleBinding 재점검 이미 확인하셨지만, 실제로 worker pod의 yaml을 다시 한 번 확인하여, 올바른 ServiceAccount가 적용되어 있는지, 그리고 해당 ServiceAccount에 필요한 모든 권한이 부여되어 있는지 재확인이 필요합니다. - worker pod 재시작 권한이나 ServiceAccount를 수정한 후에는 반드시 worker pod를 재시작해야 변경 사항이 반영됩니다. - Helm values에서 명시적으로 ServiceAccount 지정
global.serviceAccountName
또는
global.jobs.kube.serviceAccountName
값을 명시적으로 지정하고, `airbyte.serviceAccount.name`도 동일하게 맞추는 것이 중요합니다 ([설정 예시](https://github.com/airbytehq/airbyte/issues/49938)). --- 정리: 지식 소스에 따르면, 이 문제는 주로 Helm 차트/코드의 버그, ServiceAccount 권한 누락, 혹은 worker pod에 올바른 ServiceAccount가 적용되지 않아 발생합니다. 최신 버전으로 업그레이드하고, Helm values에서 ServiceAccount를 명시적으로 지정한 뒤, worker pod를 재시작하는 것이 권장되는 해결 방법입니다. 만약 이 모든 조치를 취했음에도 문제가 지속된다면, Airbyte의 버그일 가능성이 높으므로, 관련 이슈에 추가 정보를 남기거나 공식 지원을 요청하는 것이 좋습니다 ([참고 이슈](https://github.com/airbytehq/airbyte/issues/50979), [참고 이슈2](https://github.com/airbytehq/airbyte/issues/49938)).
u
@kapa.ai when I look into worker pod and server pod, there an same AIRBYTE_API_HOST env (http://localhost:8001/api/public) 이게 문제될수가 있니?
k
A message from kapa.ai
Yes, having
AIRBYTE_API_HOST
set to
http://localhost:8001/api/public
in both the worker and server pods can cause issues. According to the knowledge sources,
AIRBYTE_API_HOST
should point to the Airbyte API server's host and port, not to a path that includes
/api/public
. It should look like
http://localhost:8001
or the appropriate service address and port for your deployment, without any additional path. The application will append the necessary API paths internally. If you set
AIRBYTE_API_HOST
to
http://localhost:8001/api/public
, the internal API calls may be constructed incorrectly (e.g., resulting in URLs like `http://localhost:8001/api/public/api/v1/...`), which can lead to authentication errors or 404s, and may prevent the server from handling requests as expected. This misconfiguration is known to cause issues, including errors like
ApiException Unauthorized
or 500 errors, as seen in user reports and GitHub issues [see example](https://github.com/airbytehq/airbyte/issues/38101). Correct usage:
Copy code
yaml AIRBYTE_API_HOST=http://localhost:8001
or, in a Kubernetes environment, the internal service DNS name and port (e.g., `http://airbyte-server:8001`). Summary: Yes, the value you have for
AIRBYTE_API_HOST
is likely problematic. It should not include `/api/public`—only the host and port. Please update this environment variable accordingly in both your worker and server pods. [Reference: Airbyte API host configuration](https://github.com/airbytehq/airbyte/issues/38101)