Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUE-432: While logging to pulsar admin which says username or password are incorrect . #237

Open
sijie opened this issue Nov 19, 2021 · 0 comments

Comments

@sijie
Copy link
Member

sijie commented Nov 19, 2021

Original Issue: apache#432


Below steps i followed

For installing pulsar-manager :

  1. docker pull apachepulsar/pulsar-manager:v0.2.0

  2. docker run -it
    -p 9527:9527 -p 7750:7750
    -e SPRING_CONFIGURATION_FILE=/pulsar-manager/pulsar-manager/application.properties
    -e URL='jdbc:postgresql://127.0.0.1:5432/pulsar_manager'
    -e USERNAME=pulsar
    -e PASSWORD=postgres
    --link pulsar-standalone
    apachepulsar/pulsar-manager:v0.2.0

    Pulsar manager installed successfully . Then i need to set administrator account and password , for that i followed below command

CSRF_TOKEN=$(curl http://localhost:7750/pulsar-manager/csrf-token)
curl
-H "X-XSRF-TOKEN: $CSRF_TOKEN"
-H "Cookie: XSRF-TOKEN=$CSRF_TOKEN;"
-H "Content-Type: application/json"
-X PUT http://localhost:7750/pulsar-manager/users/superuser
-d "{"name": "admin", "password": "apachepulsar", "description": "test", "email": "username@test.org"}"

After this step , i hit this url http://127.0.0.1:9527 in browser and logging with credentials ( admin/apachepulsar ) . But it says incorrect username or password .

FYI , But this issue is not happened when i am using pulsar-manager v0.1.0 . Here i am able to login with ( pulsar/pulsar ). For this v0.1.0 , i didn't use the command to set account and password because by default ( pulsar/pulsar ) are the credentials .

Please help me on this issue .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant