<@U04S8PLJWMT> How do I resolve this error? "Finis...
# ask-ai
j
@kapa.ai How do I resolve this error? "Finished setup, but cannot login in browser: 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
To resolve the error: > "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." Follow these steps: 1. Upgrade abctl to v0.29.0 or higher Earlier versions of abctl had a bug where this error could appear even if you set the correct flags. Make sure you are using abctl version 0.29.0 or later. You can check your version with:
Copy code
abctl version
If needed, upgrade abctl to the latest version. 2. Deploy Airbyte with the
--insecure-cookies
flag
When running Airbyte over HTTP (not HTTPS), you must disable secure cookies. Do this by adding the
--insecure-cookies
flag to your install command. For example:
Copy code
abctl local install --host <your-host-or-ip> --insecure-cookies
Replace
<your-host-or-ip>
with your actual host or IP address. 3. If the flag does not work, update your
values.yaml
If you still encounter the error, explicitly disable secure cookies in your
values.yaml
file:
Copy code
yaml    global:      auth:        cookieSecureSetting: "false"
Then redeploy Airbyte using:
Copy code
abctl local install --values ./values.yaml
Note: - This setting should only be used if HTTPS is not available, as it reduces security by allowing cookies to be transmitted over non-secure connections. - If you are running Airbyte on
localhost
, this error should not occur unless you are accessing it from a different host. For more details and troubleshooting, see the official documentation: [Make sure you have disabled secure cookies](https://docs.airbyte.com/platform/deploying-airbyte/troubleshoot-deploy#make-sure-you-have-disabled-secure-cookies) and [Authentication settings](https://docs.airbyte.com/platform/deploying-airbyte/integrations/authentication#cookie-security-settings).