# Dgrave live and unknown service api.Dgraph

**URL:** <https://discuss.dgraph.io/t/dgrave-live-and-unknown-service-api-dgraph/3257>\
**Category:** Dgraph\
**Created:** [September 20, 2018, 1:23pm UTC](https://discuss.dgraph.io/t/dgrave-live-and-unknown-service-api-dgraph/3257 "2018-09-20T13:23:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![christianspindler](https://avatars.discourse-cdn.com/v4/letter/c/9fc348/32.png) [@christianspindler](https://discuss.dgraph.io/u/christianspindler)\
**Post date:** [September 20, 2018, 1:23pm UTC](https://discuss.dgraph.io/t/dgrave-live-and-unknown-service-api-dgraph/3257/1 "2018-09-20T13:23:45Z")

</div>

Hi folks,  
I think I have to open this new post to get things answered. A similar posts is [Go client and grdp, Alter returns 'unknown service api.Dgraph'](http://discuss.hypermode.com/t/go-client-and-grdp-alter-returns-unknown-service-api-dgraph/2178), but I couldn’t really get it solved. So:

I am trying to bulk insert data into dgraph with dgraph live, using

```auto
dgraph live -r 1million.rdf.gz --zero localhost:5080 -c 1

```

(This is a tutorial example from [https://tour.dgraph.io/moredata/1/](https://tour.dgraph.io/moredata/1/))  
The command fails with a huge number of error messages, each reading

```auto
2018/09/20 15:03:20 batch.go:125: Error while mutating unknown service api.Dgraph

```

and alike.  
I have the following running:

```auto
dgraph zero
dgraph server --lru_mb 4096 --zero localhost:5080 -o 10

```

No ratel running. System is ubuntu 18.04.01, Dgraph version: v1.0.8

Thanks for your support!

---

<div class="post-metadata">

**Author:** ![dmai](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/dmai/32/1254_2.png) [@dmai](https://discuss.dgraph.io/u/dmai)\
**Post date:** [September 20, 2018, 1:30pm UTC](https://discuss.dgraph.io/t/dgrave-live-and-unknown-service-api-dgraph/3257/2 "2018-09-20T13:30:50Z")

</div>

You’ve passed in the port offset flag `-o 10` to `dgraph server`. In the dgraph live command, you’ll also need to specify the endpoint for the server since it’s not on the default port.

---

<div class="post-metadata">

**Author:** ![christianspindler](https://avatars.discourse-cdn.com/v4/letter/c/9fc348/32.png) [@christianspindler](https://discuss.dgraph.io/u/christianspindler)\
**Post date:** [September 20, 2018, 6:19pm UTC](https://discuss.dgraph.io/t/dgrave-live-and-unknown-service-api-dgraph/3257/3 "2018-09-20T18:19:10Z")

</div>

Thanks dmai  
Adding a

```auto
-d localhost:9090

```

did the job.

---

<div class="post-metadata">

**Author:** ![dmai](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/dmai/32/1254_2.png) [@dmai](https://discuss.dgraph.io/u/dmai)\
**Post date:** [September 20, 2018, 7:37pm UTC](https://discuss.dgraph.io/t/dgrave-live-and-unknown-service-api-dgraph/3257/4 "2018-09-20T19:37:20Z")

</div>

Nice. Glad you got it working as expected.
