I have airbyte installed in google vm using abctl....
# ask-ai
e
I have airbyte installed in google vm using abctl. Previously I can add and run connectors without any issue but now even adding connector or doing connection test fails when the same connector runs previously fine. I am getting this failure: Failure in source: Checking source connection failed - please review this connection's configuration to prevent future syncs from failing When I go VM i can connect to the API using "curl -I https://api.hyros.com/... returns 401 immediately" but when i run inside the node "docker exec airbyte-abctl-control-plane curl -I ... never returns" there was no change in the vm or firewall
k
Based on your description and the provided knowledge sources, here are some possible causes and troubleshooting steps for your issue: ### Observations - You can connect to the API from the VM host using
curl
, but not from inside the Airbyte container (
docker exec ... curl ...
hangs). - Airbyte previously worked, but now all connector tests fail, even with no changes to the VM or firewall. ### Possible Causes 1. Network Connectivity from Container If
curl
works on the VM but hangs inside the container, this suggests a networking issue between the Airbyte containers and the outside world. This could be due to: - Docker networking misconfiguration. - Changes in the underlying Docker or Kubernetes networking stack. - Resource exhaustion or container restarts causing network stack issues. 2. Airbyte Internal Issues There are reports of similar issues where Airbyte, installed via
abctl
, suddenly cannot connect to sources or destinations, even though the VM itself has connectivity. In some cases, users reported that downgrading Airbyte (e.g., to 1.6.4) temporarily resolved the issue, suggesting a possible regression or bug in recent versions or in the abctl deployment process. However, no root cause is confirmed in the knowledge sources [[source]](https://github.com/airbytehq/airbyte/issues/62463). 3. Workload API Token Issues In some recent Airbyte versions, there have been issues with internal authentication tokens between Airbyte services (e.g., 401/502 errors). If the internal tokens are not aligned, connections can fail. The fix involves setting the same bearer token across relevant deployments and restarting them [[source]](https://github.com/airbytehq/airbyte/issues/65567). ### Troubleshooting Steps 1. Test Network from Inside the Container - Run a shell inside the relevant Airbyte pod/container and try to
curl
the API endpoint. If it hangs, the issue is with container networking. - Example:
Copy code
docker exec -it airbyte-abctl-control-plane /bin/bash      curl -I https://api.hyros.com/
- If this fails, check Docker network settings, or restart Docker and the Airbyte containers. 2. Restart Airbyte and Docker - Sometimes, restarting the Docker service and redeploying Airbyte can resolve transient networking issues. 3. Check for Resource Exhaustion - Ensure the VM has enough free memory and CPU. Resource exhaustion can cause containers to misbehave. 4. Review Airbyte Version and Consider Downgrade - If the issue started after an upgrade, consider downgrading to a previous version that worked for you:
Copy code
abctl local uninstall      abctl local install --chart-version 1.6.4
- Note: This may wipe your data unless you use the
--persisted
flag [[source]](https://github.com/airbytehq/airbyte/issues/62463). 5. Check Internal Airbyte Tokens (if using Kubernetes) - If you see 401/502 errors in logs, align the
WORKLOAD_API_BEARER_TOKEN
across Airbyte deployments as described in the knowledge source [[source]](https://github.com/airbytehq/airbyte/issues/65567). ### Summary Your issue is most likely related to container networking or an internal Airbyte service misconfiguration. Since you can reach the API from the VM but not from inside the container, focus on Docker networking and resource health. If the problem persists, consider downgrading Airbyte or aligning internal tokens as described above. If you need more specific guidance, please provide Airbyte version, deployment logs, and any recent changes to Docker or the VM environment.