Topic: I cannot login with MDB CLI
diegoft free asked 4 years ago
Expected behavior Login success
Actual behavior Login failed
Resources (screenshots, code snippets etc.)
> mdb -v
? Which package manager do you use? npm
2.0.1
> mdb login
? Enter your MDB username \user name\
? Enter your MDB password ********
(node:7300) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
│ (index) │ Status │ Message │
│ 0 │ 400 │ 'Login failed' │
I've tried to change the user name and password and try again but fail anyway
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB Vue
- MDB Version: 6.7.1
- Device: Desktop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No
bigjac42 free commented 4 years ago
Same problem here. Any update on this question?
techspert free commented 4 years ago
Same here. Any ideas? :(
mdb -v
returns2.0.1
. My Node version:v12.18.3
.mdb login
returns'Login failed'
Sebastian Kaczmarek staff commented 4 years ago
Hello guys, sorry for the inconvenience. Does the issue still occur? We had a little problem with one of our servers which I have just fixed and everything should be working fine.
Syed Sibtain Haider priority commented 4 years ago
Yes am having same problem with same error. any solution????
diegoft free commented 4 years ago
I still can't access with mdb login
Sebastian Kaczmarek staff commented 4 years ago
@diegoft You need to use your user login - the one you have provided during registration. In your case, it is
Diego_Forero
. Try using this username and your password and let me know if it works.Sebastian Kaczmarek staff commented 4 years ago
@Syed Sibtain Haider If you are logged in via Google, you can't log in to MDB CLI as it is not supported yet.
diegoft free commented 4 years ago
@Sebastian Kaczmarek I was able to log in, thanks!
Brian Davis free commented 4 years ago
same issue here.. I first logged into MDB when I made the order with facebook. and I tried that email, and even the email I have since changed it to, and nogo
nd_stevens free commented 4 years ago
Can somebody check what was my username during registration? I changed it along the way but I can't remember it. I think this is the problem why I cant login.
┌─────────┬────────┬────────────────┐│ (index) │ Status │ Message │├─────────┼────────┼────────────────┤│ 0 │ 400 │ 'Login failed' │└─────────┴────────┴────────────────┘
When I use my current login that I use for the GUI login it works fine. I dont use google/fb login and my password is 100% correct.
Sebastian Kaczmarek staff commented 4 years ago
@Brian Davis Sorry for your inconveniences. As stated in the docs, social login is not supported yet. We are working on supporting it
Sebastian Kaczmarek staff commented 4 years ago
@nd_stevens your user login is
Nd_Stevens
. You should be able to log in with this loginbharath237 free commented 4 years ago
I cannot login with my credentials through cli but can login through GUI. Can I not login through CLI if I am not a Pro user ? I get a message as below.
(node:7472) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.Error: connect ETIMEDOUT 93.105.88.243:3033 at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) { errno: 'ETIMEDOUT', code: 'ETIMEDOUT', syscall: 'connect', address: '93.105.88.243', port: 3033}
Sebastian Kaczmarek staff commented 4 years ago
@bharath237 The CLI is available for both Pro and Free users. I cannot reproduce this issue. Does it still occur? If so, please try changing your network or see if you don't have any firewall rules that block our CLI.
bharath237 free commented 4 years ago
@Sebastian Kaczmarek - Yes, it still occurs. AFAIK, there is no firewall that blocks the CLI. What do you mean by changing the network ?
Sebastian Kaczmarek staff commented 4 years ago
@bharath237 By that I mean for example try connecting to another WiFi network or from some mobile hotspot. Also, do you use some kind of proxy? Or VPN?
bharath237 free commented 4 years ago
@Sebastian Kaczmarek- Thanks,it is indeed a firewall issue. So, I installed VS Code and Node on another computer and tried to do the same on a fresh solution. But, when I give the command "mdb login" , I get back a message :
mdb : The term 'mdb' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + mdb login + ~~~ + CategoryInfo : ObjectNotFound: (mdb:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Sebastian Kaczmarek staff commented 4 years ago
@bharath237 Have you installed the MDB CLI?
npm i mdb-cli -g
bharath237 free commented 4 years ago
@Sebastian Kaczmarek - Yes.
bharath237 free commented 4 years ago
@Sebastian Kaczmarek - I did all these in the same order :
Installed vs code Installed node (v14.11.0) Installed Angular CLI on a fresh VS Code solution Installed MDB CLI on the same VS Code Solution Then tried to run "mdb login" on the same VS Code solution and encountered the issue.
Sebastian Kaczmarek staff commented 4 years ago
@bharath237 What operating system do you use? Have you installed MDB CLI globally?
bharath237 free commented 4 years ago
@Sebastian Kaczmarek - I use Windows 10. I installed MDB using the following command .
npm install -g mdb-cli
After executing this, I also tried with the command you sent here.
Sebastian Kaczmarek staff commented 4 years ago
@bharath237 Something is wrong with the installation. It seems like the
mdb
command has not been created. What command line do you use? CMD, PowerShell, GitBash, or something else? Could you please confirm that no errors showed up during themdb-cli
installation?Tovuti free commented 4 years ago
mdb login doesn't work for me either! I've went back and looked through all the documentation for install. I'm fairly positive I've covered all my bases.
C:\Users\Bryan Funk (Tovuti)>npm i mdb-cli -g npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. C:\Users\Bryan Funk (Tovuti)\AppData\Roaming\npm\mdb -> C:\Users\Bryan Funk (Tovuti)\AppData\Roaming\npm\node_modules\mdb-cli\index.js + mdb-cli@2.2.0 updated 1 package in 8.15s
C:\Users\Bryan Funk (Tovuti)>mdb login 'mdb' is not recognized as an internal or external command, operable program or batch file.
C:\Users\Bryan Funk (Tovuti)>npm -v 6.14.6
C:\Users\Bryan Funk (Tovuti)>node -v v12.18.3
Sebastian Kaczmarek staff commented 4 years ago
@Tovuti Is this location:
C:\Users\Bryan Funk (Tovuti)\AppData\Roaming\npm
added to yourPATH
env variable? I can see that themdb
command has been linked correctly (C:\Users\Bryan Funk (Tovuti)\AppData\Roaming\npm\mdb -> C:\Users\Bryan Funk (Tovuti)\AppData\Roaming\npm\node_modules\mdb-cli\index.js
) so if it doesn't work it may mean that you need to update yourPATH
value3li7u free commented 4 years ago
please can any one help me with the this problem? mdb login ? Enter your MDB username 3li7u ? Enter your MDB password **** (node:10324) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification. ┌─────────┬────────┬────────────────┐ │ (index) │ Status │ Message │ ├─────────┼────────┼────────────────┤ │ 0 │ 400 │ 'Login failed' │ └─────────┴────────┴────────────────┘
Sebastian Kaczmarek staff commented 4 years ago
@3li7u As stated in the docs, social login is not supported yet. We are working on supporting it. We can convert your account to non-social if you want. If so, please email us at m.leciejewski@mdbootstrap.com to confirm.
goodfellastech priority commented 3 years ago
MDB CLI Login has failed as well. I checked and changed password to be safe. nothing in any support documents has helped. Anything you can offer to help?
Sebastian Kaczmarek staff commented 3 years ago
@goodfellastech What error message are you getting? Are you using your username or email to log in? (you should use
goodfellastech
) Also, try updating the CLI to the latest version (3.0.0
) and let me know if you still encounter this issue.rwenzo free commented 3 years ago
(node:21980) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.I am getting thi problem
Sebastian Kaczmarek staff commented 3 years ago
@rwenzo Yeah, we are aware of that. Although pretty annoying, it's just a warning and it should not cause any errors with the CLI tool itself. Do you have any other issues with MDB CLI?