apache / apache/pulsar-manager

While logging to pulsar admin which says username or password are incorrect .

Open
#432 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
539
Forks
239
PR merge metrics
No merged PRs in 30d

Description

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 .

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.