Using Java Client to connect to Dgraph failed

while sending the records to the dgraph, encountered with errors like;
Caused by: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception;

i.g.i.ManagedChannelOrphanWrapper : ~~~ Channel ManagedChannelImpl{logId=4073, target=localhost:9080} was not shutdown properly!!! ~~~
Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true.

java.lang.RuntimeException: ManagedChannel allocation site.

I am using the dgraph version 20.03.0

i tried using this solution [dgraph4j] Using java client connect to dgraph alpha failed. (docker on AWS EC2),
but still facing the same issue.

Please help me to resolve this.
thanks.

Hey @krishnaFL,
Can you share a few things like:

  • dgraph4j version you are using
  • pom.xml or build.gradle file, basically the dependencies
  • a reproducible code sample of what you were trying to do

It would greatly help me to debug the issue.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.