PakhomovAlexander commented on PR #2762:
URL: https://github.com/apache/ignite-3/pull/2762#issuecomment-1787157988

   Playing around and getting some inconsistency in cli configuration: 
   
   ```bash
   
   [a1:defaultNode]> cli config show
   ignite.auth.basic.username=a1
   ignite.auth.basic.password=a1
   [a1:defaultNode]>
   [a1:defaultNode]>
   [a1:defaultNode]> connect
   You are already connected to http://localhost:10300
   [a1:defaultNode]> connect http://localhost:10300 --username a2 --password 
wrong_password
   You are already connected to the http://localhost:10300 as 
org.apache.ignite.internal.cli.core.style.element.UiElements$$Lambda$705/0x0000000139439e80@2ca5f1ed,
 do you want to connect as 
org.apache.ignite.internal.cli.core.style.element.UiElements$$Lambda$705/0x0000000139439e80@6c03fb16?
 [Y/n]
   Authentication error occurred while connecting to the node, it could be due 
to the wrong basic auth configuration. Do you want to configure them now? [Y/n]
   Enter username: a2
   Enter user password: **  <-- here is the correct password typed
   Remember current credentials? [Y/n]
   Config saved
   Connected to http://localhost:10300
   [a2:defaultNode]> cli config show
   ignite.auth.basic.username=a2
   ignite.auth.basic.password=wrong_password
   [a2:defaultNode]>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to