when I'm enter into airbyte UI, there's an message...
# ask-ai
u
when I'm enter into airbyte UI, there's an message like this, {"message":"Internal Server Error: not yet implemented","exceptionClassName":"java.lang.UnsupportedOperationException","exceptionStack":[],"rootCauseExceptionStack":[]} and I can't connect with source db 504 error. I'm using abctl to install airbyte.
k
The error message you are seeing:
Copy code
{
  "message": "Internal Server Error: not yet implemented",
  "exceptionClassName": "java.lang.UnsupportedOperationException",
  "exceptionStack": [],
  "rootCauseExceptionStack": []
}
is a known issue in recent Airbyte versions (1.7.x and 1.8.0) when installed using
abctl
. This typically occurs when refreshing the UI, opening links in new tabs, or navigating directly to pages other than the root (
/
). The root cause is related to changes in how the Airbyte web application is served, specifically the removal of the
webapp
service and the need to update ingress configuration to point to the
server
service instead. If the ingress is not updated correctly, you will encounter this error throughout the UI, even before authentication. This is confirmed by multiple users and contributors in the Airbyte community and GitHub issues [see here](https://github.com/airbytehq/airbyte/issues/61677), [here](https://github.com/airbytehq/airbyte/issues/65070). Additionally, the 504 error when connecting to a source database is often reported alongside this UI issue. Some users have found that downgrading to an earlier Airbyte version (e.g., 1.6.4) resolves the connectivity problems, suggesting a regression or breaking change in the newer releases when using
abctl
[source](https://github.com/airbytehq/airbyte/issues/62463). What you can do: - Make sure you are using the latest
abctl
version (
brew upgrade abctl
if installed via Homebrew). - If you are using Airbyte 1.7.x or 1.8.0, check the release notes and GitHub issues for any required ingress or configuration changes. - If the problem persists, consider downgrading to Airbyte 1.6.4 using the
--chart-version
flag with
abctl
, as some users have reported this as a workaround. - The Airbyte team is aware of these issues and is working on improving error messages and documentation for these breaking changes. If you need to keep your data, be cautious with uninstall/reinstall steps, as some users have reported data loss when not using the
--persisted
flag during uninstall [source](https://github.com/airbytehq/airbyte/issues/62463). In summary, your issue is a known problem with recent Airbyte releases and
abctl
deployments, primarily due to changes in the webapp/ingress setup. Updating your ingress configuration or downgrading Airbyte may help as a temporary workaround until a permanent fix is released.
u
@kapa.ai and I have more issue. when I test the source, there's an 504 error. but I already edit the time . but its not fixed
Copy code
nginx.ingress.kubernetes.io/proxy-read-timeout: "120"
k
A message from kapa.ai
If you are still getting a 504 error when testing the source in Airbyte, even after increasing the
nginx.ingress.kubernetes.io/proxy-read-timeout
annotation, there are a few important things to consider: 1. Timeouts in Multiple Places: The 504 error is often caused by the ingress proxy timing out before the backend process (like a source check or schema discovery) completes. While increasing
proxy-read-timeout
is necessary, you may also need to increase other related timeouts, such as: -
nginx.ingress.kubernetes.io/proxy-send-timeout
-
nginx.ingress.kubernetes.io/proxy-connect-timeout
-
nginx.ingress.kubernetes.io/proxy-body-size
(if large payloads are involved) Example configuration:
Copy code
yaml    metadata:      annotations:        nginx.ingress.kubernetes.io/proxy-read-timeout: "300"        nginx.ingress.kubernetes.io/proxy-send-timeout: "300"        nginx.ingress.kubernetes.io/proxy-connect-timeout: "300"        nginx.ingress.kubernetes.io/proxy-body-size: 16m
[See example from GitHub discussion](https://github.com/airbytehq/airbyte/issues/45156) 2. Check All Relevant Services: Make sure you are editing the correct ingress resource for your Airbyte deployment. If you are using
abctl
, the ingress may be named something like
ingress-abctl
in the
airbyte-abctl
namespace. You can edit it with:
Copy code
kubectl --namespace airbyte-abctl edit ingresses.networking.k8s.io ingress-abctl
[Source](https://github.com/airbytehq/airbyte/issues/45156) 3. Backend/Pod Timeouts: If the backend pod (the connector or worker) itself has a shorter timeout than the ingress, the process may still fail. Make sure the Airbyte job and worker timeouts are also set appropriately high. 4. Underlying Connector Issues: Sometimes, the connector itself may be slow or stuck, especially with large databases or complex schema discovery. If possible, test with a smaller or simpler source to see if the problem persists. 5. Logs and Error Messages: Unfortunately, if the ingress times out, the actual error from the backend may not be logged or visible in the UI. You may need to check the logs of the relevant Airbyte pods (worker, server, etc.) for more details about what is happening during the source test. Summary: - Double-check and increase all relevant NGINX ingress timeouts. - Ensure you are editing the correct ingress resource. - Consider increasing backend/worker timeouts if possible. - Check Airbyte pod logs for more details. - If the issue persists, it may be a connector or resource issue, not just a timeout. If you have already increased the timeouts as above and the issue is not resolved, the knowledge sources do not provide a more specific solution for your case. You may need to investigate the backend logs or try with a different source to isolate the problem further. [Reference: Github Issue 45156](https://github.com/airbytehq/airbyte/issues/45156)