You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/11/19 10:15:39 UTC

[GitHub] [pulsar-manager] pgandhap opened a new issue #432: While logging to pulsar admin which says username or password are incorrect .

pgandhap opened a new issue #432:
URL: https://github.com/apache/pulsar-manager/issues/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 . 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org