MDB CLI throws Login failed


Topic: MDB CLI throws "Login failed"

acoyani pro asked 2 months ago

Expected behavior

Issuing "mdb login", with my MDB username and password, returns a successful login.

Actual behavior

? Enter your MDB username acoyani
? Enter your MDB password **************
(node:12749) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
┌─────────┬────────┬────────────────┐
│ (index) │ Status │    Message     │
├─────────┼────────┼────────────────┤
│    0    │  400   │ 'Login failed' │
└─────────┴────────┴────────────────┘

Grzegorz Bujański staff commented 2 months ago

Which version of MDB Cli are you using? call mdb -v in the console. If it is version lower than 2.2.0 please update MDB Cli and try again.


acoyani pro commented 2 months ago

I am indeed using version 2.2.0 of MDB CLI.

In addition, I also tried using MDB CLI 2.2.0 on CentOS 8 Stream, and it doesn't work either; it throws the same error.


Sebastian Kaczmarek staff pro premium commented 2 months ago

Hi @acoyani, are you logged in via social media or normal login and password?


acoyani pro commented 2 months ago

I logged in through normal login and password and signed up with my e-mail, never with social media.


Sebastian Kaczmarek staff pro premium commented 2 months ago

@acoyani We had a little inconsistency in your user data. Please try now and let me know if you have any problems.


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: Other
  • MDB Version: -
  • Device: VMware Player 16
  • Browser: N/A
  • OS: Debian 10 Buster AMD64
  • Provided sample code: No
  • Provided link: No