Sorry @matthewmcneely Iam not given full details, I have added most of them now.
I have started alpha with two systems using below command, and this time I have removed token, IP address 192.168.1.103 and 192.168.1.108.
dgraph alpha --my=192.168.1.103:7080 --zero=192.168.1.103:5080 --bindall=true --security "whitelist=0.0.0.0/0" --expose_trace=0
and
dgraph alpha --my=192.168.1.103:7080 --zero=192.168.1.180:5080 --bindall=true --security "whitelist=0.0.0.0/0" --expose_trace=0
also I tested with single alpha system as well, same error only I got
"errors":[{"message":"resolving login failed because invalid username or password",
zero started using below command
dgraph zero --my=192.168.1.103:5080 --bindall=true --replicas 3 --raft idx=1 --expose_trace=0
I have trying to using /admin
endpoint from the same system 192.168.1.103, in this system only alpha running.
below my command for login with admin endpoint .
curl http://localhost:8080/admin --silent --request POST \
--header "Content-Type: application/graphql" \
--upload-file login.graphql
cat login.graphql
mutation {
login(userId: "groot", password: "password") {
response {
accessJWT
refreshJWT
}
}
}
below error message getting while try to login using admin, I dont know why it is , but previously I got successful login using localhost , right now Iam getting error.
I0224 12:03:26.139685 3277648 http.go:239] namespace: 0. Got GraphQL request over HTTP.
I0224 12:03:26.139929 3277648 middlewares.go:223] GraphQL admin mutation. Name = login
I0224 12:03:26.139935 3277648 login.go:39] Got login request
I0224 12:03:26.139966 3277648 server.go:1686] Got Login request from: "127.0.0.1:39272"
E0224 12:03:26.141021 3277648 access_ee.go:81] Authentication from address 127.0.0.1:39272 failed: unable to authenticate: invalid credentials