Hello, when trying to rebuild a failed instance on...
# replication-troubleshooting
p
Hello, when trying to rebuild a failed instance on my EC2 using abctl, i'm getting:
Copy code
abctl local install --timeout 30m --host MY_HOST_NAME
  INFO    Using Kubernetes provider:
            Provider: kind
            Kubeconfig: /home/ec2-user/.airbyte/abctl/abctl.kubeconfig
            Context: kind-airbyte-abctl
 SUCCESS  Found Docker installation: version 25.0.6                                                                                                                                                                                                  
 SUCCESS  Port 8000 appears to be available                                                                                                                                                                                                          
  INFO    No existing cluster found, cluster 'airbyte-abctl' will be created                                                                                                                                                                         
 SUCCESS  Cluster 'airbyte-abctl' created                                                                                                                                                                                                            
  INFO    Namespace 'airbyte-abctl' created                                                                                                                                                                                                          
  INFO    Persistent volume 'airbyte-minio-pv' created                                                                                                                                                                                               
  INFO    Persistent volume 'airbyte-volume-db' created                                                                                                                                                                                              
  INFO    Persistent volume claim 'airbyte-minio-pv-claim-airbyte-minio-0' created                                                                                                                                                                   
  INFO    Persistent volume claim 'airbyte-volume-db-airbyte-db-0' created                                                                                                                                                                           
  INFO    Starting Helm Chart installation of 'airbyte/airbyte' (version: 1.8.2)                                                                                                                                                                     
 SUCCESS  Installed Helm Chart airbyte/airbyte:                                                                                                                                                                                                      
            Name: airbyte-abctl
            Namespace: airbyte-abctl
            Version: 1.8.2
            AppVersion: 1.8.2
            Release: 1
  INFO    Starting Helm Chart installation of 'nginx/ingress-nginx' (version: 4.13.2)                                                                                                                                                                
 SUCCESS  Installed Helm Chart nginx/ingress-nginx:                                                                                                                                                                                                  
            Name: ingress-nginx
            Namespace: ingress-nginx
            Version: 4.13.2
            AppVersion: 1.13.2
            Release: 1
  INFO    No existing Ingress found, creating one                                                                                                                                                                                                    
 SUCCESS  Ingress created                                                                                                                                                                                                                            
  ERROR   Timed out waiting for ingress                                                                                                                                                                                                              
  ERROR   Unable to install Airbyte locally                                                                                                                                                                                                          
  ERROR   browser liveness check failed: context deadline exceeded
current abctl version is v0.13.1. I'm not upgrading this because i have a airbyte db backup and i'm affraid to loose all my config of connections. (but currently my airbyte is down)
k
It looks like the install completed, but abctl couldn’t verify the ingress became reachable (“browser liveness check failed”). This commonly happens due to: - Proxy/SSL issues blocking image pulls or ingress readiness. If you’re behind a corporate proxy, exec into the kind control-plane and ensure containerd/DNS/proxy are configured so outbound requests work (e.g., curl succeeds), then rerun install. Some users fixed it by setting proxy inside airbyte-abctl-control-plane or configuring containerd mirrors, then re-running abctl install ([issue 56386](https://github.com/airbytehq/airbyte/issues/56386)). - Port conflicts or alternate ingress controllers (e.g., k3s with Traefik) causing nginx/ingress to not become ready. Check for conflicts and logs of ingress-nginx pods; port conflicts have been reported to cause similar failures ([issue 56386](https://github.com/airbytehq/airbyte/issues/56386)). - General “timed out waiting for the condition” during Helm phases; inspect component logs (bootloader, server, webapp, ingress) to identify what’s blocking readiness. For example, check bootloader first when installs hang, and then deployments/ingress events ([Troubleshooting abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy)). Quick steps to diagnose and unblock: - Check bootloader logs: - docker exec -it airbyte-abctl-control-plane kubectl -n airbyte-abctl logs airbyte-abctl-airbyte-bootloader ([issue 44928](https://github.com/airbytehq/airbyte/issues/44928)). - Check ingress controller and ingress events: - docker exec -it airbyte-abctl-control-plane kubectl -n ingress-nginx get pods,events - docker exec -it airbyte-abctl-control-plane kubectl get ingress -A - If behind a proxy, configure it inside the kind control-plane so pulls/health checks work, then rerun: - docker exec -it airbyte-abctl-control-plane bash - Verify curl https://ifconfig.io succeeds; if not, add proxy/env or containerd mirror, then abctl local install again ([issue 56386](https://github.com/airbytehq/airbyte/issues/56386)). - Ensure enough resources; low CPU can slow readiness. Contributors recommend at least 4 CPUs/8 GB RAM for smoother installs ([issue 48720](https://github.com/airbytehq/airbyte/issues/48720)). About upgrading abctl: several install issues were resolved in newer releases; users reported successful installs after updating abctl, uninstalling, and reinstalling. If you’re worried about losing configuration, note your state is in the Airbyte database—upgrading abctl itself doesn’t wipe your DB backup. You can: - Keep your DB backup safe, run abctl local uninstall, then install with the newer abctl, and restore from your DB backup if needed. Multiple users resolved stuck installs by uninstall/install with newer abctl or after a reboot ([issue 45456](https://github.com/airbytehq/airbyte/issues/45456), [issue 48720](https://github.com/airbytehq/airbyte/issues/48720), [issue 44931](https://github.com/airbytehq/airbyte/issues/44931)). If the ingress still times out, try the Helm path to isolate ingress: - Manually install ingress-nginx per Helm docs, verify it’s Ready, then run abctl install (users reported success with manual Helm steps when SSL/proxy blocked pulls) ([issue 56386](https://github.com/airbytehq/airbyte/issues/56386)).
p
@kapa.ai now i'm getting this trying to log:
Copy code
Your credentials were correct, but the server failed to set a cookie. You appear to have deployed over HTTP. Make sure you have disabled secure cookies.
k
A message from kapa.ai
This error means secure cookies are still enabled while you’re accessing Airbyte over HTTP (non-HTTPS). Fix options: - Reinstall with insecure cookies enabled: - abctl v0.29+ fixes a bug where the flag could be ignored. Upgrade abctl to ≥0.29, then reinstall with: - abctl local install --host MY_HOST_NAME --insecure-cookies (Make sure you actually deploy with this flag) ([Troubleshoot abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#make-sure-you-have-disabled-secure-cookies)). - The same guidance applies to the “Next” docs variant ([Troubleshoot abctl (Next)](https://docs.airbyte.com/platform/next/deploying-airbyte/troubleshoot-deploy#make-sure-you-have-disabled-secure-cookies)). - If you cannot upgrade abctl or the flag is ignored in your version, set it via values.yaml and reinstall: - Helm chart V1:
Copy code
global:       auth:         cookieSecureSetting: "false"
- Helm chart V2:
Copy code
global:       auth:         security:           cookieSecureSetting: "false"
- Then run: abctl local install --values ./values.yaml ([Cookie security settings](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication#cookie-security-settings); “Next” docs include both V1/V2 snippets ([Cookie security settings (Next)](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication#cookie-security-settings))). Notes: - The abctl flag exists in the quickstart/EC2 guides as well (abctl local install --host [HOSTNAME] --insecure-cookies) ([EC2 deploy](https://docs.airbyte.com/platform/deploying-airbyte/abctl-ec2); [Quickstart](https://docs.airbyte.com/platform/using-airbyte/getting-started/oss-quickstart#part-3-run-airbyte)). - If you stay on old abctl versions, you may hit the known bug where the flag is ignored; upgrading to ≥0.29 is the recommended fix ([Troubleshoot abctl](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#make-sure-you-have-disabled-secure-cookies)). - Some users reported needing the values.yaml workaround or specific abctl versions when the flag didn’t take effect ([GitHub issue](https://github.com/airbytehq/airbyte/issues/61586)).
p
@kapa.ai I have installed it using latest version of abctl and this
Copy code
abctl local install --host ec2-xx-xx-xx-xx.eu-west-3.compute.amazonaws.com --insecure-cookies
k
A message from kapa.ai
Two things to check: 1) Ensure the host flag is a plain FQDN without a scheme. Use: - abctl local install --host ec2-xx-xx-xx-xx.eu-west-3.compute.amazonaws.com --insecure-cookies Including http:// in --host can break cookie/security handling (the docs show the hostname only) ([EC2 with abctl](https://docs.airbyte.com/platform/deploying-airbyte/abctl-ec2); [Quickstart](https://docs.airbyte.com/platform/using-airbyte/getting-started/oss-quickstart#part-3-run-airbyte)). 2) If you still see the cookie error, apply the values.yaml workaround and reinstall: - Helm chart V1:
Copy code
global:     auth:       cookieSecureSetting: "false"
- Helm chart V2:
Copy code
global:     auth:       security:         cookieSecureSetting: "false"
Then run: abctl local install --host ec2-xx-xx-xx-xx.eu-west-3.compute.amazonaws.com --values ./values.yaml ([Cookie security settings](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication#cookie-security-settings)). Note: A past bug caused --insecure-cookies to be ignored in older abctl versions; it’s fixed in ≥0.29, but some users on 0.30.x still needed the values.yaml approach. If necessary, try abctl v0.29.0 specifically or use the values.yaml fix ([Troubleshooting: disable secure cookies](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#make-sure-you-have-disabled-secure-cookies); [GitHub issue](https://github.com/airbytehq/airbyte/issues/61586)).
p
@kapa.ai where to modify values.yaml
k
A message from kapa.ai
Create your own values.yaml locally (in your airbyte working directory), add the overrides, then pass it to abctl/Helm during install or upgrade. - Create the file: - Example:
Copy code
global:       auth:         cookieSecureSetting: "false"
([Cookie security settings](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication#cookie-security-settings)). - Use it during deploy: - abctl:
Copy code
abctl local install --values ./values.yaml
([abctl reference](https://docs.airbyte.com/platform/deploying-airbyte/abctl#reference)). - Helm (if deploying via Helm):
Copy code
helm upgrade \       --namespace airbyte \       --values ./values.yaml \       --install airbyte-enterprise \       airbyte/airbyte
([Implementation guide](https://docs.airbyte.com/platform/enterprise-setup/implementation-guide#customizing-your-deployment)). Notes: - You only need to include overrides in your values.yaml; you don’t have to copy the whole chart file ([Create a values.yaml override file](https://docs.airbyte.com/platform/deploying-airbyte#3-create-a-valuesyaml-override-file)). - Place the file where your install command can read it (e.g., the current directory or specify the full path). If the path is wrong you’ll see “unable to read values from yaml file” errors ([Troubleshooting](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#unable-to-read-values-from-yaml-file)).
p
@kapa.ai but i'm installing using abctl
k
A message from kapa.ai
With abctl, you still provide a local values.yaml file and pass it via --values during install. - Create a values.yaml on your machine with the override:
Copy code
global:     auth:       cookieSecureSetting: "false"
(Only overrides are needed; you don’t need the whole chart file) ([Create a values.yaml override file](https://docs.airbyte.com/platform/deploying-airbyte#3-create-a-valuesyaml-override-file), [Cookie security settings](https://docs.airbyte.com/platform/1.7/deploying-airbyte/integrations/authentication#cookie-security-settings)). - Reinstall with abctl using that file (and your host):
Copy code
abctl local install --host ec2-xx-xx-xx-xx.eu-west-3.compute.amazonaws.com --values ./values.yaml
(abctl supports passing a Helm values file) ([abctl usage](https://docs.airbyte.com/platform/deploying-airbyte/abctl#install-and-manage-local-airbyte-instances), [abctl reference](https://docs.airbyte.com/platform/deploying-airbyte/abctl#reference)).
p
@kapa.ai i've done all of it but still get the same message
k
A message from kapa.ai
A few targeted checks to resolve this when --insecure-cookies and values.yaml didn’t help: - Ensure you’re passing a hostname without scheme and you’re accessing the UI via that exact host (not localhost/IP). Example: - abctl local install --host ec2-xx-xx-xx-xx.eu-west-3.compute.amazonaws.com --values ./values.yaml - Then open http://ec2-xx-xx-xx-xx.eu-west-3.compute.amazonaws.com:8000 (docs show host only, no http:// in --host) ([EC2 with abctl](https://docs.airbyte.com/platform/deploying-airbyte/abctl-ec2)). - Verify your values.yaml matches your chart version: - Helm chart V1:
Copy code
global:       auth:         cookieSecureSetting: "false"
- Helm chart V2:
Copy code
global:       auth:         security:           cookieSecureSetting: "false"
Reinstall with --values after updating the file ([Cookie security settings](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication#cookie-security-settings), [Next cookie settings](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication#cookie-security-settings)). - If you’re on HTTP and cross-site context is involved (embeds/reverse proxy), also set SameSite: - V1:
Copy code
global:       auth:         cookieSameSiteSetting: "None"
- V2:
Copy code
global:       auth:         security:           cookieSameSiteSetting: "None"
Then reinstall with --values ([Cookie SameSite](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication#cookie-security-settings)). - Confirm abctl is ≥ v0.29 to avoid the flag being ignored bug; otherwise the error can persist even when configured correctly. If needed, upgrade and reinstall (or keep using the values.yaml override) ([Troubleshoot: disable secure cookies](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#make-sure-you-have-disabled-secure-cookies)). - Last resort: explicitly set env overrides alongside values.yaml:
Copy code
server:     extraEnv:       - name: AB_COOKIE_SECURE         value: "false"
Then reinstall with --values (users reported this workaround when the flag alone didn’t take effect) ([related GitHub discussion](https://github.com/airbytehq/airbyte/issues/61586)). If after these changes the message persists, please share: - Your abctl version - Which values.yaml snippet you used (V1 vs V2) - The exact URL you’re using to access the UI So we can pinpoint whether it’s a host mismatch or a chart-version/value mismatch.
p
full install log
Copy code
abctl local install --host ec2-xx-xx-xx-xx.eu-west-3.compute.amazonaws.com --low-resource-mode --insecure-cookies --values values.yaml 
  INFO    Thanks for using Airbyte!
          Anonymous usage reporting is currently enabled. For more information, please see https://docs.airbyte.com/telemetry
  INFO    Using Kubernetes provider:
            Provider: kind
            Kubeconfig: /home/ec2-user/.airbyte/abctl/abctl.kubeconfig
            Context: kind-airbyte-abctl
 SUCCESS  Found Docker installation: version 25.0.6                                                                                                                                                                                                  
  INFO    No existing cluster found, cluster 'airbyte-abctl' will be created                                                                                                                                                                         
 SUCCESS  Port 8000 appears to be available                                                                                                                                                                                                          
 SUCCESS  Cluster 'airbyte-abctl' created                                                                                                                                                                                                            
  INFO    Patching image airbyte/db:1.7.0-17                                                                                                                                                                                                         
  INFO    Pulling image airbyte/cron:1.8.2                                                                                                                                                                                                           
  INFO    Pulling image airbyte/db:1.7.0-17                                                                                                                                                                                                          
  INFO    Pulling image airbyte/server:1.8.2                                                                                                                                                                                                         
  INFO    Pulling image airbyte/worker:1.8.2                                                                                                                                                                                                         
  INFO    Pulling image airbyte/workload-api-server:1.8.2                                                                                                                                                                                            
  INFO    Pulling image airbyte/workload-launcher:1.8.2                                                                                                                                                                                              
  INFO    Pulling image temporalio/auto-setup:1.27.2                                                                                                                                                                                                 
  INFO    Namespace 'airbyte-abctl' created                                                                                                                                                                                                          
  INFO    Persistent volume 'airbyte-local-pv' created                                                                                                                                                                                               
  INFO    Persistent volume claim 'airbyte-storage-pvc' created                                                                                                                                                                                      
  INFO    Persistent volume 'airbyte-volume-db' created                                                                                                                                                                                              
  INFO    Persistent volume claim 'airbyte-volume-db-airbyte-db-0' created                                                                                                                                                                           
  INFO    Starting Helm Chart installation of 'airbyte/airbyte' (version: 2.0.12)                                                                                                                                                                    
 SUCCESS  Installed Helm Chart airbyte/airbyte:                                                                                                                                                                                                      
            Name: airbyte-abctl
            Namespace: airbyte-abctl
            Version: 2.0.12
            AppVersion: 1.8.2
            Release: 1
  INFO    Starting Helm Chart installation of 'nginx/ingress-nginx' (version: 4.13.2)                                                                                                                                                                
 SUCCESS  Installed Helm Chart nginx/ingress-nginx:                                                                                                                                                                                                  
            Name: ingress-nginx
            Namespace: ingress-nginx
            Version: 4.13.2
            AppVersion: 1.13.2
            Release: 1
  INFO    No existing Ingress found, creating one                                                                                                                                                                                                    
 SUCCESS  Ingress created                                                                                                                                                                                                                            
 WARNING  Failed to launch web-browser.                                                                                                                                                                                                              
          Please launch your web-browser to access http://localhost:8000
 SUCCESS  Airbyte installation complete.                                                                                                                                                                                                             
            A password may be required to login. The password can by found by running
            the command abctl local credentials
@kapa.ai full install log
Copy code
abctl local install --host ec2-xx-xx-xx-xx.eu-west-3.compute.amazonaws.com --low-resource-mode --insecure-cookies --values values.yaml 
  INFO    Thanks for using Airbyte!
          Anonymous usage reporting is currently enabled. For more information, please see https://docs.airbyte.com/telemetry
  INFO    Using Kubernetes provider:
            Provider: kind
            Kubeconfig: /home/ec2-user/.airbyte/abctl/abctl.kubeconfig
            Context: kind-airbyte-abctl
 SUCCESS  Found Docker installation: version 25.0.6                                                                                                                                                                                                  
  INFO    No existing cluster found, cluster 'airbyte-abctl' will be created                                                                                                                                                                         
 SUCCESS  Port 8000 appears to be available                                                                                                                                                                                                          
 SUCCESS  Cluster 'airbyte-abctl' created                                                                                                                                                                                                            
  INFO    Patching image airbyte/db:1.7.0-17                                                                                                                                                                                                         
  INFO    Pulling image airbyte/cron:1.8.2                                                                                                                                                                                                           
  INFO    Pulling image airbyte/db:1.7.0-17                                                                                                                                                                                                          
  INFO    Pulling image airbyte/server:1.8.2                                                                                                                                                                                                         
  INFO    Pulling image airbyte/worker:1.8.2                                                                                                                                                                                                         
  INFO    Pulling image airbyte/workload-api-server:1.8.2                                                                                                                                                                                            
  INFO    Pulling image airbyte/workload-launcher:1.8.2                                                                                                                                                                                              
  INFO    Pulling image temporalio/auto-setup:1.27.2                                                                                                                                                                                                 
  INFO    Namespace 'airbyte-abctl' created                                                                                                                                                                                                          
  INFO    Persistent volume 'airbyte-local-pv' created                                                                                                                                                                                               
  INFO    Persistent volume claim 'airbyte-storage-pvc' created                                                                                                                                                                                      
  INFO    Persistent volume 'airbyte-volume-db' created                                                                                                                                                                                              
  INFO    Persistent volume claim 'airbyte-volume-db-airbyte-db-0' created                                                                                                                                                                           
  INFO    Starting Helm Chart installation of 'airbyte/airbyte' (version: 2.0.12)                                                                                                                                                                    
 SUCCESS  Installed Helm Chart airbyte/airbyte:                                                                                                                                                                                                      
            Name: airbyte-abctl
            Namespace: airbyte-abctl
            Version: 2.0.12
            AppVersion: 1.8.2
            Release: 1
  INFO    Starting Helm Chart installation of 'nginx/ingress-nginx' (version: 4.13.2)                                                                                                                                                                
 SUCCESS  Installed Helm Chart nginx/ingress-nginx:                                                                                                                                                                                                  
            Name: ingress-nginx
            Namespace: ingress-nginx
            Version: 4.13.2
            AppVersion: 1.13.2
            Release: 1
  INFO    No existing Ingress found, creating one                                                                                                                                                                                                    
 SUCCESS  Ingress created                                                                                                                                                                                                                            
 WARNING  Failed to launch web-browser.                                                                                                                                                                                                              
          Please launch your web-browser to access http://localhost:8000
 SUCCESS  Airbyte installation complete.                                                                                                                                                                                                             
            A password may be required to login. The password can by found by running
            the command abctl local credentials
k
A message from kapa.ai
Thanks for the log. Two issues stand out: 1) Host flag format - You passed --host with a Markdown-style value containing http:// and a pipe. The host must be a plain FQDN, no scheme or pipes. Reinstall like: - abctl local uninstall - abctl local install --host ec2-xx-xx-xx-xx.eu-west-3.compute.amazonaws.com --insecure-cookies --values ./values.yaml Docs show hostname-only for --host (no http://) (EC2 guide; Quickstart) ([Using EC2 with abctl](https://docs.airbyte.com/platform/deploying-airbyte/abctl-ec2), [Quickstart](https://docs.airbyte.com/platform/using-airbyte/getting-started/oss-quickstart#part-3-run-airbyte)). 2) Ensure values.yaml matches Helm chart V2 - Your install used Helm chart 2.0.12, so use the V2 keys:
Copy code
global:     auth:       security:         cookieSecureSetting: "false"
If needed for cross-site, also:
Copy code
global:     auth:       security:         cookieSameSiteSetting: "None"
Then reinstall with --values (Cookie Security Settings, Helm chart V2) ([Cookie settings](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication#cookie-security-settings), [Cookie settings (Next)](https://docs.airbyte.com/platform/next/deploying-airbyte/integrations/authentication#cookie-security-settings)). Access URL - After install, open http://ec2-xx-xx-xx-xx.eu-west-3.compute.amazonaws.com:8000 (abctl prints localhost by default, but you should use your host). If you deploy over HTTP, disabling secure cookies is required; abctl ≥0.29 fixes a bug where the flag was ignored in earlier versions (Troubleshooting) ([Common error: disable secure cookies](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#make-sure-you-have-disabled-secure-cookies)).