Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref(http): Don't send X-ClickHouse-Key header when no password is configured #5857

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

john-z-yang
Copy link
Member

@john-z-yang john-z-yang commented May 3, 2024

Overview

When a user has no password configured, sending a request with empty X-ClickHouse-Key header causes a 400.

Maybe the clickhouse_password field should have been an Option<&str> instead of a &str, in case people have an empty password configured, but I would like this to be fixed now.

@john-z-yang john-z-yang requested review from a team as code owners May 3, 2024 17:32
@MeredithAnya
Copy link
Member

MeredithAnya commented May 3, 2024

Just adding some context - 400's don't happen in ClickHouse 22.8, so this is just affecting self-hosted folks (who should be able to upgrade soon) but yeah - I guess if we had had 21.8 test suite for #5818 we might have caught it oh we did, that's the default, but self-hosted uses 21.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants