# Unable to reach leader in group 1 - dir structures help

**URL:** <https://discuss.dgraph.io/t/unable-to-reach-leader-in-group-1-dir-structures-help/18464>\
**Category:** Dgraph\
**Created:** [April 3, 2023, 3:37pm UTC](https://discuss.dgraph.io/t/unable-to-reach-leader-in-group-1-dir-structures-help/18464 "2023-04-03T15:37:00Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![rahst12](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/rahst12/32/2416_2.png) [@rahst12](https://discuss.dgraph.io/u/rahst12)\
**Post date:** [April 3, 2023, 7:22pm UTC](https://discuss.dgraph.io/t/unable-to-reach-leader-in-group-1-dir-structures-help/18464/12 "2023-04-03T19:22:19Z")

</div>

Is there a way to manually set the leader?

In Group #1, we had 2 Alpha’s fail, out of 3. The remaining “good” Alpha never elected itself the leader. We’ve brought the other 2 Alpha’s back-up with empty `p`, `w`, and `t` directories.

The message we see on the two Alpha’s that are “new” are:

```auto
Error while calling hasPeer: Unable to reach leader in group 1. Retrying...

```

The message we see on the Alpha that’s been up the whole time, but not the leader is:

```auto
is starting a new election at term 833
became pre-candidate at term 833
[logterm: 833, index 93495359] sent MsgPreVote request to 1 at term 833
[logterm: 833, index 93495359] sent MsgPreVote request to 2 at term 833
Unable to send message to peer: 0x1. Error: Do not have address of peer 0x1
Unable to send message to peer: 0x2. Error: Do not have address of peer 0x2

```

---

_[View the full topic](https://discuss.dgraph.io/t/unable-to-reach-leader-in-group-1-dir-structures-help/18464)._
