# Dgraph Clients

**URL:** https://discuss.dgraph.io/c/issues/clients/46.md?page=1

[Latest](https://discuss.dgraph.io/latest.md) · [Categories](https://discuss.dgraph.io/categories.md) · [Tags](https://discuss.dgraph.io/tags.md)

**Page:** 2

---

## [Status = StatusCode.UNAVAILABLE details = “failed to connect to all addresses”](https://discuss.dgraph.io/t/status-statuscode-unavailable-details-failed-to-connect-to-all-addresses/11415)

<div class="topic-metadata">

**Author:** [@Soultrans](https://discuss.dgraph.io/u/Soultrans)\
**Replies:** 7\
**Last updated:** [June 14, 2022, 4:42am UTC](https://discuss.dgraph.io/t/status-statuscode-unavailable-details-failed-to-connect-to-all-addresses/11415 "2022-06-14T04:42:00Z")

</div>

File "/root/anaconda3/lib/python3.7/site-packages/pydgraph/txn.py", line 62, in query return self.do\_request(req, timeout=timeout, metadata=metadata, credentials=credentials) File "/root/anaconda3/lib/python3.7/s…

---

## [PyDgraph client failed to connect to the cloud via endpoint](https://discuss.dgraph.io/t/pydgraph-client-failed-to-connect-to-the-cloud-via-endpoint/17317)

<div class="topic-metadata">

**Author:** [@Ann\_Zhang](https://discuss.dgraph.io/u/Ann_Zhang)\
**Replies:** 1\
**Last updated:** [May 18, 2022, 9:04pm UTC](https://discuss.dgraph.io/t/pydgraph-client-failed-to-connect-to-the-cloud-via-endpoint/17317 "2022-05-18T21:04:09Z")

</div>

Report a Dgraph Client Bug What Dgraph client (and version) are you using? (put “x” in the box to select) Dgo PyDgraph Dgraph4J Dgraph-js Dgraph-js-http Dgraph.NET Version: 21.3.2 What version of Dgraph are y…

---

## [Rpc error: code = Internal desc = grpc: error unmarshalling request: proto: wrong wireType = 2 for field StartTs](https://discuss.dgraph.io/t/rpc-error-code-internal-desc-grpc-error-unmarshalling-request-proto-wrong-wiretype-2-for-field-startts/14470)

<div class="topic-metadata">

**Author:** [@Ravi\_Jagannathan](https://discuss.dgraph.io/u/Ravi_Jagannathan)\
**Replies:** 2\
**Last updated:** [May 15, 2022, 12:04am UTC](https://discuss.dgraph.io/t/rpc-error-code-internal-desc-grpc-error-unmarshalling-request-proto-wrong-wiretype-2-for-field-startts/14470 "2022-05-15T00:04:19Z")

</div>

— I am new to Dgraph . I tried the create schema sample for go client. My dgrap servers is running on gke with the env var root@dgraph-0:/dgraph# echo $DGRAPH\_ALPHA\_SECURITY whitelist=0.0.0.0/0 The go client seems to …

---

## [Go client dgo subscriptions](https://discuss.dgraph.io/t/go-client-dgo-subscriptions/17288)

<div class="topic-metadata">

**Author:** [@ngladbach](https://discuss.dgraph.io/u/ngladbach)\
**Replies:** 0\
**Last updated:** [May 12, 2022, 5:24am UTC](https://discuss.dgraph.io/t/go-client-dgo-subscriptions/17288 "2022-05-12T05:24:23Z")

</div>

Hey, how can I implement a subscription with the dgo go client? Did not found a documentation for that. Or is this not supported?

---

## [Propose to use @grpc/grpc-js instead of grpc that currently will not be maintain in the near future](https://discuss.dgraph.io/t/propose-to-use-grpc-grpc-js-instead-of-grpc-that-currently-will-not-be-maintain-in-the-near-future/17228)

<div class="topic-metadata">

**Author:** [@vireakvibol](https://discuss.dgraph.io/u/vireakvibol)\
**Replies:** 1\
**Last updated:** [April 29, 2022, 12:09am UTC](https://discuss.dgraph.io/t/propose-to-use-grpc-grpc-js-instead-of-grpc-that-currently-will-not-be-maintain-in-the-near-future/17228 "2022-04-29T00:09:02Z")

</div>

What Dgraph client (and version) are you using? v21.3.1 (put “x” in the box to select) Dgo PyDgraph Dgraph4J Dgraph-js Dgraph-js-http Dgraph.NET Hello currently by default dgraph-js using grpc as dependency. …

---

## [DGO local data directory](https://discuss.dgraph.io/t/dgo-local-data-directory/17214)

<div class="topic-metadata">

**Author:** [@Aledoo](https://discuss.dgraph.io/u/Aledoo)\
**Replies:** 1\
**Last updated:** [April 27, 2022, 7:50pm UTC](https://discuss.dgraph.io/t/dgo-local-data-directory/17214 "2022-04-27T19:50:56Z")

</div>

Hi! Can I define different directories for Dgraph data in DGO client projects used locally? Regards.

---

## [Database not connected when using namespace python client](https://discuss.dgraph.io/t/database-not-connected-when-using-namespace-python-client/17054)

<div class="topic-metadata">

**Author:** [@Romesh\_Shil](https://discuss.dgraph.io/u/Romesh_Shil)\
**Replies:** 0\
**Last updated:** [March 21, 2022, 10:21am UTC](https://discuss.dgraph.io/t/database-not-connected-when-using-namespace-python-client/17054 "2022-03-21T10:21:57Z")

</div>

client\_stub = pydgraph.DgraphClientStub('localhost:9080') client = pydgraph.DgraphClient(client\_stub) client.login\_into\_namespace("groot", "password", "5") Exception Type: AttributeError Exception Value: 'NoneType' objec…

---

## [Invalid syntax parsing Named node](https://discuss.dgraph.io/t/invalid-syntax-parsing-named-node/17002)

<div class="topic-metadata">

**Author:** [@adlerfaulkner](https://discuss.dgraph.io/u/adlerfaulkner)\
**Replies:** 2\
**Last updated:** [March 15, 2022, 3:01am UTC](https://discuss.dgraph.io/t/invalid-syntax-parsing-named-node/17002 "2022-03-15T03:01:34Z")

</div>

When submitting this mutation { set { \_:m \<uri\> \<https://comake.io\> . } } I get: { "name": "t", "url": "http://localhost:8080/mutate?commitNow=true", "errors": \[ { "message": "strconv.ParseUint:…

---

## [Does Dgraph java client support gRPC retry?](https://discuss.dgraph.io/t/does-dgraph-java-client-support-grpc-retry/16950)

<div class="topic-metadata">

**Author:** [@itsjay](https://discuss.dgraph.io/u/itsjay)\
**Replies:** 2\
**Last updated:** [March 7, 2022, 6:38pm UTC](https://discuss.dgraph.io/t/does-dgraph-java-client-support-grpc-retry/16950 "2022-03-07T18:38:29Z")

</div>

Let’s say I setup the client like this (there are separate instances of Dgraph running on ports 9080 and 9083) ManagedChannel channel1 = ManagedChannelBuilder .forAddress("localhost", 9080) .defaultLoadBalancing…

---

## [Mutation of 2 different nodes from a same type , query showing only 1 node, what happened?](https://discuss.dgraph.io/t/mutation-of-2-different-nodes-from-a-same-type-query-showing-only-1-node-what-happened/16808)

<div class="topic-metadata">

**Author:** [@gwajnberg](https://discuss.dgraph.io/u/gwajnberg)\
**Replies:** 0\
**Last updated:** [February 8, 2022, 8:14pm UTC](https://discuss.dgraph.io/t/mutation-of-2-different-nodes-from-a-same-type-query-showing-only-1-node-what-happened/16808 "2022-02-08T20:14:18Z")

</div>

Hello I am trying to upload a whole dataset to a database, but the query after the mutation doesn’t show the expected results the variable has two dicts final = { ‘uid’: ‘:Scol1’, ‘dgraph.type’: ‘SuperCollection’, ‘…

---

## [.NET Client cannot delete node from graph!](https://discuss.dgraph.io/t/net-client-cannot-delete-node-from-graph/16644)

<div class="topic-metadata">

**Author:** [@EElenov](https://discuss.dgraph.io/u/EElenov)\
**Replies:** 3\
**Last updated:** [January 25, 2022, 4:10pm UTC](https://discuss.dgraph.io/t/net-client-cannot-delete-node-from-graph/16644 "2022-01-25T16:10:33Z")

</div>

Report a Dgraph Client Bug What Dgraph client (and version) are you using? Dgo PyDgraph Dgraph4J Dgraph-js Dgraph-js-http Dgraph.NET Version: (21.3.1.2) Latest What version of Dgraph are you using? Dgraph back…

---

## [Alter fails after successful login with .NET client](https://discuss.dgraph.io/t/alter-fails-after-successful-login-with-net-client/16571)

<div class="topic-metadata">

**Author:** [@zwu](https://discuss.dgraph.io/u/zwu)\
**Replies:** 0\
**Last updated:** [January 17, 2022, 3:36pm UTC](https://discuss.dgraph.io/t/alter-fails-after-successful-login-with-net-client/16571 "2022-01-17T15:36:17Z")

</div>

Report a Dgraph Client Bug What Dgraph client (and version) are you using? Dgo PyDgraph Dgraph4J Dgraph-js Dgraph-js-http Dgraph.NET Version: 21.3.1.2 What version of Dgraph are you using? docker image dgraph/s…

---

## [Does Dgraph support Dgraph Module for Nestjs?](https://discuss.dgraph.io/t/does-dgraph-support-dgraph-module-for-nestjs/14765)

<div class="topic-metadata">

**Author:** [@longdl97](https://discuss.dgraph.io/u/longdl97)\
**Replies:** 1\
**Last updated:** [January 13, 2022, 4:28pm UTC](https://discuss.dgraph.io/t/does-dgraph-support-dgraph-module-for-nestjs/14765 "2022-01-13T16:28:07Z")

</div>

Hello im new in Dgraph. When i tried to inject Dgraph as a module in Nestjs, I can see Dgraph does not support for module. So i want to recommended Dgraph should support it. It’s seem like export declare class Dgraph…

---

## [Inserting zero on integer with golang dgo client, inserts null instead](https://discuss.dgraph.io/t/inserting-zero-on-integer-with-golang-dgo-client-inserts-null-instead/16484)

<div class="topic-metadata">

**Author:** [@Paul](https://discuss.dgraph.io/u/Paul)\
**Replies:** 2\
**Last updated:** [January 7, 2022, 12:46pm UTC](https://discuss.dgraph.io/t/inserting-zero-on-integer-with-golang-dgo-client-inserts-null-instead/16484 "2022-01-07T12:46:38Z")

</div>

Report a Dgraph Client Bug Here is my type: type PersonGraphQL struct { Uid string \`json:"uid,omitempty"\` Name string \`json:"Person.name,omitempty"\` Private bool \`json:"Person.private,omitempty"\` Po…

---

## [Int64 type?](https://discuss.dgraph.io/t/int64-type/16344)

<div class="topic-metadata">

**Author:** [@stephenskory](https://discuss.dgraph.io/u/stephenskory)\
**Replies:** 3\
**Last updated:** [December 15, 2021, 9:49pm UTC](https://discuss.dgraph.io/t/int64-type/16344 "2021-12-15T21:49:00Z")

</div>

How does one use the Int64 type? According to this page versions \>= 20.11 support it. I am using the latest Docker image: docker run -it -p 5080:5080 -p 6080:6080 -p 8080:8080 -p 9080:9080 -p 8000:8000 -v ~/dgraph:/dgra…

---

## [How to add indexes in pydgraph?](https://discuss.dgraph.io/t/how-to-add-indexes-in-pydgraph/16337)

<div class="topic-metadata">

**Author:** [@stephenskory](https://discuss.dgraph.io/u/stephenskory)\
**Replies:** 2\
**Last updated:** [December 15, 2021, 12:15am UTC](https://discuss.dgraph.io/t/how-to-add-indexes-in-pydgraph/16337 "2021-12-15T00:15:25Z")

</div>

This example works for me: import pydgraph stub = pydgraph.DgraphClientStub('localhost:9080') client = pydgraph.DgraphClient(stub) client.alter(pydgraph.Operation(drop\_all=True)) schema = """ name: string @index(exact…

---

## [PyDgraph failing to call self-hosted dgraph (in k8s) over grpc](https://discuss.dgraph.io/t/pydgraph-failing-to-call-self-hosted-dgraph-in-k8s-over-grpc/16141)

<div class="topic-metadata">

**Author:** [@StrangerDanger](https://discuss.dgraph.io/u/StrangerDanger)\
**Replies:** 7\
**Last updated:** [November 25, 2021, 7:30pm UTC](https://discuss.dgraph.io/t/pydgraph-failing-to-call-self-hosted-dgraph-in-k8s-over-grpc/16141 "2021-11-25T19:30:38Z")

</div>

What I want to do I am trying to use pydgraph client over a private ingress on kubernetes to talk to a self-hosted dgraph (based on the tutorial on how to host dgraph in kubernetes). So I have definitely verified that t…

---

## [Do dgraph js clients support any sort of error handling for set, delete, upsert operations?](https://discuss.dgraph.io/t/do-dgraph-js-clients-support-any-sort-of-error-handling-for-set-delete-upsert-operations/16020)

<div class="topic-metadata">

**Author:** [@samadadi](https://discuss.dgraph.io/u/samadadi)\
**Replies:** 0\
**Last updated:** [November 10, 2021, 9:48pm UTC](https://discuss.dgraph.io/t/do-dgraph-js-clients-support-any-sort-of-error-handling-for-set-delete-upsert-operations/16020 "2021-11-10T21:48:16Z")

</div>

There is no error management section for js client’s github page. I have some question related to error handling in dgraph: How to know if there is an error for an operation(set, delete, update, …)? Does server return…

---

## [Asp.net Core .net 6 Grpc Exception](https://discuss.dgraph.io/t/asp-net-core-net-6-grpc-exception/15868)

<div class="topic-metadata">

**Author:** [@bakkar](https://discuss.dgraph.io/u/bakkar)\
**Replies:** 6\
**Last updated:** [October 26, 2021, 6:32am UTC](https://discuss.dgraph.io/t/asp-net-core-net-6-grpc-exception/15868 "2021-10-26T06:32:11Z")

</div>

Hi, I am having an issue to execute a command on Asp.net core .net 6. Thanks What Dgraph client (and version) are you using? (put “x” in the box to select) Dgraph.NET Version: 21.3.1.2 What version of Dgraph are yo…

---

## [Dgo Mutation preds 1-\\u0000 error during mutation](https://discuss.dgraph.io/t/dgo-mutation-preds-1-u0000-error-during-mutation/15469)

<div class="topic-metadata">

**Author:** [@chaostheory](https://discuss.dgraph.io/u/chaostheory)\
**Replies:** 5\
**Last updated:** [September 3, 2021, 1:25pm UTC](https://discuss.dgraph.io/t/dgo-mutation-preds-1-u0000-error-during-mutation/15469 "2021-09-03T13:25:58Z")

</div>

What Dgraph client (and version) are you using? (put “x” in the box to select) Dgo Version: v210 What version of Dgraph are you using? 21.03.1 When I run the following mutation type Path struct { Title string \`…

---

## [Running upserts with pydrgaph using pure dictionary objects](https://discuss.dgraph.io/t/running-upserts-with-pydrgaph-using-pure-dictionary-objects/15394)

<div class="topic-metadata">

**Author:** [@mrwunderbar666](https://discuss.dgraph.io/u/mrwunderbar666)\
**Replies:** 1\
**Last updated:** [August 27, 2021, 4:46am UTC](https://discuss.dgraph.io/t/running-upserts-with-pydrgaph-using-pure-dictionary-objects/15394 "2021-08-27T04:46:34Z")

</div>

Experience Report for Feature Request Using pydgraph is an experience with mixed feelings. Most stuff runs pretty well, but there are still issues, that make using it very painful. I want to run an upsert, and currently…

---

## [Increase usefulness of dgraph-js stack traces](https://discuss.dgraph.io/t/increase-usefulness-of-dgraph-js-stack-traces/15104)

<div class="topic-metadata">

**Author:** [@dpk](https://discuss.dgraph.io/u/dpk)\
**Replies:** 1\
**Last updated:** [July 28, 2021, 8:14pm UTC](https://discuss.dgraph.io/t/increase-usefulness-of-dgraph-js-stack-traces/15104 "2021-07-28T20:14:10Z")

</div>

Experience Report for Feature Request Note: Feature requests are judged based on user experience and modeled on Go Experience Reports. These reports should focus on the problems: they should not focus on and need not pro…

---

## [GRPC and Node, getting errors](https://discuss.dgraph.io/t/grpc-and-node-getting-errors/15077)

<div class="topic-metadata">

**Author:** [@jmarlow4](https://discuss.dgraph.io/u/jmarlow4)\
**Replies:** 8\
**Last updated:** [July 27, 2021, 2:11pm UTC](https://discuss.dgraph.io/t/grpc-and-node-getting-errors/15077 "2021-07-27T14:11:23Z")

</div>

I’m having a hard time getting the javascript GRPC client working in Node, specifically NestJS. I’ve been using this for reference: GitHub - val-samonte/nestjs-dgraph: dgraph-js module for Nest I’m not using this packag…

---

## [Cannot read property 'DgraphClientStub' of undefined](https://discuss.dgraph.io/t/cannot-read-property-dgraphclientstub-of-undefined/14563)

<div class="topic-metadata">

**Author:** [@Anton](https://discuss.dgraph.io/u/Anton)\
**Replies:** 12\
**Last updated:** [July 27, 2021, 1:39am UTC](https://discuss.dgraph.io/t/cannot-read-property-dgraphclientstub-of-undefined/14563 "2021-07-27T01:39:29Z")

</div>

This is probably not a bug, but more likely a lack of knowledge on my part. I’m trying to use Dgraph-js-http with Sveltekit (SvelteKit v1.0.0-next.114). I have the following javascript, to create a store: import {writ…

---

## [Does Java Client support GraphQL](https://discuss.dgraph.io/t/does-java-client-support-graphql/11999)

<div class="topic-metadata">

**Author:** [@mkerkhoff](https://discuss.dgraph.io/u/mkerkhoff)\
**Replies:** 4\
**Last updated:** [July 21, 2021, 3:16pm UTC](https://discuss.dgraph.io/t/does-java-client-support-graphql/11999 "2021-07-21T15:16:03Z")

</div>

I am using the Java client and when using DQL queries it works all fine. When trying to use GraphQL queries it seems that these are not working. Could it be that the Java client only supports DQL? Using 20.03.3 java clie…

---

## [Dgraph4j sample app is not clear](https://discuss.dgraph.io/t/dgraph4j-sample-app-is-not-clear/14549)

<div class="topic-metadata">

**Author:** [@itsjay](https://discuss.dgraph.io/u/itsjay)\
**Replies:** 1\
**Last updated:** [July 8, 2021, 3:03pm UTC](https://discuss.dgraph.io/t/dgraph4j-sample-app-is-not-clear/14549 "2021-07-08T15:03:26Z")

</div>

Dgraph4j sample app What Dgraph client (and version) are you using? (put “x” in the box to select) Dgo PyDgraph Dgraph4J Dgraph-js Dgraph-js-http Dgraph.NET Version: 20.11.0 What version of Dgraph are you usin…

---

## [Support Official Rust client for Dgraph](https://discuss.dgraph.io/t/support-official-rust-client-for-dgraph/14776)

<div class="topic-metadata">

**Author:** [@Al\_Liu](https://discuss.dgraph.io/u/Al_Liu)\
**Replies:** 1\
**Last updated:** [July 1, 2021, 12:58pm UTC](https://discuss.dgraph.io/t/support-official-rust-client-for-dgraph/14776 "2021-07-01T12:58:45Z")

</div>

Hi, could the team support an official Rust client for Dgraph? Thanks.

---

## [How to do upserts with dgraph-js-http?](https://discuss.dgraph.io/t/how-to-do-upserts-with-dgraph-js-http/10545)

<div class="topic-metadata">

**Author:** [@scroobius-pip](https://discuss.dgraph.io/u/scroobius-pip)\
**Replies:** 2\
**Last updated:** [June 30, 2021, 10:20pm UTC](https://discuss.dgraph.io/t/how-to-do-upserts-with-dgraph-js-http/10545 "2021-06-30T22:20:16Z")

</div>

I’m trying to port my code from dgraph-js to dgraph-js-http. But i don’t see how to do upserts in the docs.

---

## [Golang dgraph client connection error](https://discuss.dgraph.io/t/golang-dgraph-client-connection-error/14646)

<div class="topic-metadata">

**Author:** [@taemon](https://discuss.dgraph.io/u/taemon)\
**Replies:** 9\
**Last updated:** [June 19, 2021, 6:27pm UTC](https://discuss.dgraph.io/t/golang-dgraph-client-connection-error/14646 "2021-06-19T18:27:07Z")

</div>

Report a Dgraph Client Bug What Dgraph client (and version) are you using? (put “x” in the box to select) Dgo PyDgraph Dgraph4J Dgraph-js Dgraph-js-http Dgraph.NET Version: github.com/dgraph-io/dgo/v210 What …

---

## [Python, upsert and cryptic error](https://discuss.dgraph.io/t/python-upsert-and-cryptic-error/14523)

<div class="topic-metadata">

**Author:** [@Anton](https://discuss.dgraph.io/u/Anton)\
**Replies:** 6\
**Last updated:** [June 10, 2021, 12:36am UTC](https://discuss.dgraph.io/t/python-upsert-and-cryptic-error/14523 "2021-06-10T00:36:15Z")

</div>

Report a Dgraph Client Bug What Dgraph client (and version) are you using? (put “x” in the box to select) Dgo PyDgraph Dgraph4J Dgraph-js Dgraph-js-http Dgraph.NET Hi I dont think this is a bug, its more likely…

[Previous page](https://discuss.dgraph.io/c/issues/clients/46.md)

[Next page](https://discuss.dgraph.io/c/issues/clients/46.md?page=2)
