We've deployed Airbyte on Kubernetes. When I try t...
# ask-ai
s
We've deployed Airbyte on Kubernetes. When I try to send a GET request to
api/public/v1/connections
, the
next
field in the response body (which directs you to the next paginated page) uses the base url
http://localhost:8001
even though I'm querying it from
http://airbyte-airbyte-server-svc.airbyte.svc.cluster.local:8001/api/public/v1/connections
.
k
The behavior you're seeing—where the
next
field in the paginated response uses
http://localhost:8001
as the base URL—is a known issue in Airbyte deployments. The Airbyte API sometimes generates paging links using the internal service address or defaults like
localhost:8001
, rather than the external or ingress-exposed URL you are using to access the API. This issue has been reported by other users as well. For example, in [this GitHub issue](https://github.com/airbytehq/airbyte/issues/39420), a user describes how the Airbyte API returns paging links with the pod DNS name and port, rather than the externally accessible URL. The expectation is that the API should use the value of
AIRBYTE_URL
(or a similar configuration) to construct these links, but this is not currently the case. As of the latest information in the knowledge sources, there is no documented configuration or workaround that allows you to change the base URL used in the
next
field of paginated responses. The issue was marked as stale and closed due to inactivity, suggesting it has not been prioritized or resolved in recent Airbyte versions. If this behavior is critical for your use case, you may want to follow or comment on the referenced GitHub issue to express continued interest and check for any updates or community workarounds. For now, you may need to rewrite the
next
URLs in your client code to use the correct base URL for your environment. I'm sorry, but the knowledge sources do not provide a direct solution or configuration to change this behavior at this time.