The error message you’re seeing—“Your credentials ...
# ask-ai
k
The error message you’re seeing—“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.”—is a common issue when deploying Airbyte over HTTP without properly disabling secure cookies. ### Steps to Fix #### 1. Check abctl Version A bug in abctl versions prior to 0.29.0 caused the
--insecure-cookies
flag to be ignored, resulting in this exact error. Solution: - Make sure you are using abctl version 0.29.0 or higher. - You can check your version with:
Copy code
abctl version
- If you are on an older version, upgrade abctl and redeploy Airbyte. #### 2. Use the --insecure-cookies Flag If you are on abctl 0.29.0 or newer, redeploy Airbyte with the
--insecure-cookies
flag:
Copy code
abctl local install --host <ip-host> --insecure-cookies
This should disable secure cookies and allow login over HTTP [source](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#make-sure-you-have-disabled-secure-cookies). #### 3. If the Issue Persists (abctl 0.30.x and above) There are reports that even with abctl 0.30.x, the flag may not always work as expected. In this case, you need to explicitly set the cookie security settings in a
values.yaml
file and use it during installation: Create a
values.yaml
file with:
Copy code
yaml global:   auth:     enabled: true     cookieSecureSetting: "false"     security:       cookieSecureSetting: "false"  server:   extraEnv:     - name: AB_COOKIE_SECURE       value: "false"     - name: AB_COOKIE_SAME_SITE       value: "Lax"
Then install Airbyte with:
Copy code
abctl local install --host <ip-host> --insecure-cookies --values ./values.yaml
This workaround has been confirmed by users to resolve the issue in recent abctl versions where the flag alone does not work [source](https://github.com/airbytehq/airbyte/issues/61586). --- Summary: - Upgrade abctl to at least v0.29.0. - Use
--insecure-cookies
during install. - If that fails, use a
values.yaml
as shown above and pass it with
--values
. If you follow these steps, you should be able to log in to Airbyte over HTTP without encountering the secure cookie error. If you still encounter issues after these steps, please provide your abctl version and the exact install command you are using for further troubleshooting.