I’m testing the lambda functionality and for that I need the lambda server. I have a docker-compose file that setups alpha, zero and lambda containers.
Containers setup correctly but in alpha container i get thease kind of logs:
E0228 10:06:49.042653 19 groups.go:1148] Error during SubscribeForUpdates for prefix "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x15dgraph.graphql.schema\x00": Unable to find any servers for group: 1. closer err: <nil>
I had similar error messages (prefixes with \x00 s prepended) when using different versions of alpha and ratel docker images. Each time I restarted the stack there were more \x00 prepended.
I have fixed the issue by making sure the versions matched, and removing the volume.
I think it would be useful if alpha/zero/ratel nodes exchanged info about their versions, and refused to start if their versions differ (unless overriden with --force-version-mismatch)
Yup this was the problem. There is no dgraph:latest container. Changed it to graph:master. and it started working. But then when i tried to upload schema it returned this message
resolving updateGQLSchema failed because unauthorized ip address: 172.18.0.1
Then I added this part to alpha command
--security "whitelist=172.18.0.1"
and afer that it started giving me the same errors as before.
E0301 12:30:10.913978 19 groups.go:1148] Error during SubscribeForUpdates for prefix "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x15dgraph.graphql.schema\x00": error from client.subscribe: rpc error: code = Unavailable desc = connection closed. closer err: <nil>