Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] unknown method Mutate for service api.Dgraph when running init-dgraph #7

Open
SeanDunford opened this issue May 16, 2020 · 0 comments

Comments

@SeanDunford
Copy link

Exploring this and i'm noticing that when i run:

./graphschema.sh init-dgraph --schema-file AuthorPosts.graphql --dgraph-alpha "docker.for.mac.localhost:9080"  --force --verbose

I receive:

Installing schema file /data/AuthorPosts.graphql into Dgraph alpha docker.for.mac.localhost:9080.
Reading /data/AuthorPosts.graphql.
Preparing schema.
Generating Dgraph schema.
Connecting to Dgraph docker.for.mac.localhost:9080.
Succesfully connected to docker.for.mac.localhost:9080 (version v20.03.0)
Couldn't read current schema.  Reasons : [ExceptionalError {Exception=RpcException {Status=Status {StatusCode=null, Detail=null}, StatusCode=Internal, Trailers=[], Message="Status(StatusCode=Internal, Detail=\"grpc: error unmarshalling request: proto: wrong wireType = 2 fo…", Data=[], InnerException=null, TargetSite=Void Throw(), StackTrace="   at Grpc.Core.Internal.AsyncCall`2.UnaryCall(TRequest msg)\n   at Grpc.Core.DefaultCallInvoker.Blo…", HelpLink=null, Source="System.Private.CoreLib", HResult=-2146233088}, Reasons=[], Message="Status(StatusCode=Internal, Detail=\"grpc: error unmarshalling request: proto: wrong wireType = 2 fo…", Metadata={}}]
Installing this schema.

Author: bool @index(bool) .
Post: bool @index(bool) .
Like: bool @index(bool) .
author: uid @reverse .
likedPost: uid .
likedBy: uid .
name: string @index(hash) .
level: string .
title: string @index(term) .
text: string @index(fulltext) .
password: password .


Adding GraphSchema failed. Result: IsSuccess='False', Reasons='ExceptionalError with Message='Status(StatusCode=Unimplemented, Detail="unknown method Mutate for service api.Dgraph")', Exception='Grpc.Core.RpcException: Status(StatusCode=Unimplemented, Detail="unknown method Mutate for service api.Dgraph")
   at Grpc.Core.Internal.AsyncCall`2.UnaryCall(TRequest msg)
   at Grpc.Core.DefaultCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
   at Grpc.Core.Interceptors.InterceptingCallInvoker.<BlockingUnaryCall>b__3_0[TRequest,TResponse](TRequest req, ClientInterceptorContext`2 ctx)
   at Grpc.Core.ClientBase.ClientBaseConfiguration.ClientBaseConfigurationInterceptor.BlockingUnaryCall[TRequest,TResponse](TRequest request, ClientInterceptorContext`2 context, BlockingUnaryCallContinuation`2 continuation)
   at Grpc.Core.Interceptors.InterceptingCallInvoker.BlockingUnaryCall[TRequest,TResponse](Method`2 method, String host, CallOptions options, TRequest request)
   at Api.Dgraph.DgraphClient.Mutate(Mutation request, CallOptions options)
   at Api.Dgraph.DgraphClient.Mutate(Mutation request, Metadata headers, Nullable`1 deadline, CancellationToken cancellationToken)
   at DgraphDotNet.GRPCConnection.Mutate(Mutation mut)
   at DgraphDotNet.Transactions.Transaction.Mutate(Mutation mutation)''

Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant