Moved from GitHub pydgraph/95
Posted by kashesha:
Hi,
I have a zero, alpha and ratel running (from installed binaries). The ratel instance works fine on http://localhost:8080/. I’m trying to run sample.py with:
def create_client_stub():
return pydgraph.DgraphClientStub(‘localhost:8080’)
but get the error:
Error: <_Rendezvous of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = “Trying to connect an http1.x server”
debug_error_string = “{“created”:”@1573172159.765943000",“description”:“Error received from peer ipv6:[::1]:8080”,“file”:“src/core/lib/surface/call.cc”,“file_line”:1055,“grpc_message”:“Trying to connect an http1.x server”,“grpc_status”:14}"
I’m not sure what this error relates to since I can connect to Alpha fine from terminal/ratel.
Thanks