First of all my apologies for writing in English, I am afraid that Google translate to Chinese may garble what I am about to say. I have similar error to what Arthritis encountered. I have Nebula installed and working (1.0) under docker-compose, can access it via command-line client and Nebula studio. However when I try to connect via Go client (same code as above) I have same error.
I went to nebula-docker-compose_graphd_1 and edited the nebula-graphd.conf (switched --enable_authorise to false and true) - this had an effect on command-line client. When --enable_authorize=true it refused to connect with default username/password
when set to false command line client connected without username/password no problem at all.
However this has no effect at all on Go client. The error remains. Could you kindly direct me, what am I doing wrong? yet again, sorry for writing in foreign language. Any help is much appreciated.
many thanks for your help. I have checked go.mod and the version was right. I have created another user with admin privileges on nba. Explicitly enabled the password authentication in nebula-graphd.conf. I ran the code in the debugger and nailed it, where the error appears.
ah, if you need, we have an international forum:https://discuss.nebula-graph.io/, which has more English details and a better site visit speed for other places out of China.