# Getting error with Sensu backend Authorization

**URL:** <https://discourse.sensu.io/t/getting-error-with-sensu-backend-authorization/1168>\
**Category:** Sensu Go\
**Created:** [May 10, 2019, 3:38am UTC](https://discourse.sensu.io/t/getting-error-with-sensu-backend-authorization/1168 "2019-05-10T03:38:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mk00559179](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@mk00559179](https://discourse.sensu.io/u/mk00559179)\
**Post date:** [May 10, 2019, 3:38am UTC](https://discourse.sensu.io/t/getting-error-with-sensu-backend-authorization/1168/1 "2019-05-10T03:38:35Z")

</div>

I’ve successfully Installed and configure sensu-backend and sensu-go services.

But when I start sensu-backend start I am getting below error

{“component”:“sensu-enterprise”,“level”:“fatal”,“msg”:“dial tcp [::1]:2379: connect: connection refused”,“time”:“2019-05-09T23:23:12-04:00”}  
I am not using enterprise feature.

Also when I configured sensuctl configure I am getting below error.

Error: unable to authenticate with error: Get [http://127.0.0.1:8080/auth:](http://127.0.0.1:8080/auth:) dial tcp 127.0.0.1:8080: connect: connection refused

I’ve checked port 8080 is not used by any other service.

I’ve tried to connect port 8080 but it gave me connection refused error

nc -vz 127.0.0.1 8080  
nc: connect to 127.0.0.1 port 8080 (tcp) failed: Connection refused

---

<div class="post-metadata">

**Author:** ![palourde](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/palourde/32/60_2.png) [@palourde](https://discourse.sensu.io/u/palourde)\
**Post date:** [May 10, 2019, 2:05pm UTC](https://discourse.sensu.io/t/getting-error-with-sensu-backend-authorization/1168/2 "2019-05-10T14:05:40Z")

</div>

Hi @mk00559179

The first error you are getting is actually happening because Sensu can’t connect to etcd, therefore it cannot start. Therefore, you won’t be able to configure sensuctl if the backend isn’t running.

You should start by double checking the backend configuration, especially around the datastore. Are you running an external etcd cluster or are you using the embedded one? Are you running a single node cluster or multiple nodes? Feel free to share your backend configuration.

Thanks

---

<div class="post-metadata">

**Author:** ![mk00559179](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@mk00559179](https://discourse.sensu.io/u/mk00559179)\
**Post date:** [May 13, 2019, 3:49am UTC](https://discourse.sensu.io/t/getting-error-with-sensu-backend-authorization/1168/3 "2019-05-13T03:49:18Z")

</div>

HI @palourde

Thanks for response.

I am not sure what is going wrong, But I’ve reinstall sensu docker and everything is working fine now.

---

<div class="post-metadata">

**Author:** ![Asfawh](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/asfawh/32/793_2.png) [@Asfawh](https://discourse.sensu.io/u/Asfawh)\
**Post date:** [October 3, 2022, 6:37pm UTC](https://discourse.sensu.io/t/getting-error-with-sensu-backend-authorization/1168/4 "2022-10-03T18:37:43Z")

</div>

I got the same problem and am trying to install sensu backend, agent, and sensuctl on the same machine or standalone.

Trying 10.104.107.144…  
telnet: connect to address 10.104.107.144: Connection refused. not sure what might go wrong here?

---

<div class="post-metadata">

**Author:** ![aaronsachs](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.sensu.io/aaronsachs/32/47_2.png) [@aaronsachs](https://discourse.sensu.io/u/aaronsachs)\
**Post date:** [October 4, 2022, 3:36am UTC](https://discourse.sensu.io/t/getting-error-with-sensu-backend-authorization/1168/5 "2022-10-04T03:36:44Z")

</div>

@Asfawh I would very politely suggest that you start a fresh thread with logs, configuration and details rather than trying to resurrect an old thread. At three years old, the problems that started the thread are likely not to be the problem you’re encountering. Please refrain from resurrecting old threads.
