Log in with Dev version

I have build a Dev version and go to localhost:4200/auth. I can use default account that admin:admin. I received this logs:

[post_login] Exception: Could not login., Type: <class 'cmdb.errors.provider.provider_errors.AuthenticationError'> (auth_routes.py)

Hi @duongdz123,
can you provide us more input ?

  • with which parameters are you starting the frontend?
  • with which parameters are you starting the backend?

BR Adnan

I use:
python3 -m cmdb -s -d for backend
ng serve for frontend.
I cant know what username and password to log in from frontend.
When I visit localhost:4000 for backend, I can’t see nothing


When I visit localhost:4200, it has a form login, but I don’t know what username and password to login

Can I add --cloud when start backend to login with my Datagerry account?
python3 -m cmdb -s -d --cloud for backend

have you changed anything in your cmdb.conf ?
Are there any error logs in the frontend in the developer console ?

You could try deleting your database (default name is: cmdb) and restart frontend and backend. The default user is then created with username=admin and password=admin.

I am not able to reproduce your issue.

I will add improved logs for the backend which will be live tomorrow.

BR Adnan

The --cloud flag wont help

I don’t change anything in etc/cmdb.conf. I have only error log in backend console:
[post_login] Exception: Could not login., Type: <class 'cmdb.errors.provider.provider_errors.AuthenticationError'> (auth_routes.py)