Uh oh!
There was an error while loading. Please reload this page.
[Fix](Authenticator)defaultAuthenticator not init - #43057
Merged
Conversation
1: The `defaultAuthenticator` is not initialized. When a configured authentication plugin implements the `canDea`l method and returns `false`, the `defaultAuthenticator` will be used, resulting in a login failure. The client exception message is `RROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization packet', system error: 2`. This issue only affects users who use non-built-in authentication plugins that implement `canDeal` and return false under certain circumstances. apache#40113 introduced this issue
doris-robot
commented
Nov 1, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
CalvinKirs
marked this pull request as draft
November 21, 2024 07:54
CalvinKirs
marked this pull request as ready for review
February 17, 2025 03:27
CalvinKirs
commented
Feb 17, 2025
MemberAuthor
run buildall |
doris-robot
commented
Feb 17, 2025
TPC-H: Total hot run time: 31695 ms |
doris-robot
commented
Feb 17, 2025
TPC-DS: Total hot run time: 184155 ms |
doris-robot
commented
Feb 17, 2025
ClickBench: Total hot run time: 30.34 s |
morningman
approved these changes
Feb 18, 2025
Contributor
PR approved by at least one committer and no changes requested. |
Contributor
PR approved by anyone and no changes requested. |
wuwenchi
approved these changes
Feb 18, 2025
lzyy2024 pushed a commit
to lzyy2024/doris
that referenced
this pull request
Feb 21, 2025
### What problem does this PR solve? The `defaultAuthenticator` is not initialized. When a configured authentication plugin implements the `canDea`l method and returns `false`, the `defaultAuthenticator` will be used, resulting in a login failure. The client exception message is `RROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization packet', system error: 2`. This issue only affects users who use non-built-in authentication plugins that implement `canDeal` and return false under certain circumstances. apache#40113 introduced this issue
koarz pushed a commit
to koarz/doris
that referenced
this pull request
Jun 4, 2025
### What problem does this PR solve? The `defaultAuthenticator` is not initialized. When a configured authentication plugin implements the `canDea`l method and returns `false`, the `defaultAuthenticator` will be used, resulting in a login failure. The client exception message is `RROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization packet', system error: 2`. This issue only affects users who use non-built-in authentication plugins that implement `canDeal` and return false under certain circumstances. apache#40113 introduced this issue
CalvinKirs added a commit
to CalvinKirs/incubator-doris
that referenced
this pull request
Jun 30, 2025
### What problem does this PR solve? The `defaultAuthenticator` is not initialized. When a configured authentication plugin implements the `canDea`l method and returns `false`, the `defaultAuthenticator` will be used, resulting in a login failure. The client exception message is `RROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization packet', system error: 2`. This issue only affects users who use non-built-in authentication plugins that implement `canDeal` and return false under certain circumstances. apache#40113 introduced this issue (cherry picked from commit dd0c2d8)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
The
defaultAuthenticatoris not initialized. When a configured authentication plugin implements thecanDeal method and returnsfalse, thedefaultAuthenticatorwill be used, resulting in a login failure. The client exception message isRROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization packet', system error: 2. This issue only affects users who use non-built-in authentication plugins that implementcanDealand return false under certain circumstances.#40113 introduced this issue