Report a GraphQL Bug
What edition and version of Dgraph are you using?
Edition:
- Dgraph Cloud (GraphQL feature)
- Dgraph On-Prem (EE)
- Dgraph (community edition)
If you are using the community edition or enterprise edition of Dgraph, please list the version:
Dgraph (community edition)
$ dgraph version
Dgraph version : v23.1.0
Have you tried reproducing the issue with the latest release?
yes
Steps to reproduce the issue (paste the query/schema if possible)
I have started Dgraph alpha with below command
dgraph alpha --my=192.168.1.103:7080 --zero=192.168.1.103:5080 --bindall=true --security "whitelist=0.0.0.0/0" --security "token=d2837127beff45a8a486775e1b" --expose_trace=0
But when I try to login it always getting below error
FTL failed to login error="rpc error: code = Unknown desc = unauthorized ip address: 192.168.1.103"
I can able to login using localhost so I understand it is , Dgraph is not supporting to connect with ip, even if we try to login in with same system using ip address , it will not able to connect , it is only can connect with localhost even is we are give blindall=true
, and whitelist 0.0.0.0/0
.
Expected behaviour and actual result.
I need connect with ip address like 192.168.1.103 with dgraph port 8080 admin port and 8090 Grpc port , 192.168.1.103:8090/
Experience Report for Feature Request
Note: Feature requests are judged based on user experience and modeled on Go Experience Reports. These reports should focus on the problems: they should not focus on and need not propose solutions.
What you wanted to do
I want to connect and login with ip address like 192.168.1.103 from inside and outside system same network .
Please note is this ip only I have started dgraph alpha using option --my=192.168.1.103:7080
blindall=true
, and whitelist 0.0.0.0/0
.
What you actually did
I have started dgrapha alpha using below command and tried to login as per previously created user. it is working fine when i used localhost:8090. but not working if i use system IP address like 192.168.1.103:8090