# Failed to connect Cumulocity cloud

**URL:** <https://community.cumulocity.com/t/failed-to-connect-cumulocity-cloud/4306>\
**Category:** Forum\
**Tags:** cumulocity-edge, thin-edge-io, device-connectivity, cumulocity\
**Created:** [August 9, 2023, 1:10pm UTC](https://community.cumulocity.com/t/failed-to-connect-cumulocity-cloud/4306 "2023-08-09T13:10:53Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![Bayrem\_Trabelsi](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/bayrem_trabelsi/32/14349_2.png) [@Bayrem\_Trabelsi](https://community.cumulocity.com/u/Bayrem_Trabelsi)\
**Post date:** [August 16, 2023, 8:50am UTC](https://community.cumulocity.com/t/failed-to-connect-cumulocity-cloud/4306/21 "2023-08-16T08:50:49Z")

</div>

now the file it looks like you said what should I do next to establish the connection

---

<div class="post-metadata">

**Author:** ![Reuben\_Miller2](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/reuben_miller2/32/317_2.png) [@Reuben\_Miller2](https://community.cumulocity.com/u/Reuben_Miller2)\
**Post date:** [August 16, 2023, 9:54am UTC](https://community.cumulocity.com/t/failed-to-connect-cumulocity-cloud/4306/22 "2023-08-16T09:54:54Z")

</div>

This is where reading the official documentation helps, [A tour of thin-edge.io | Thin-edge](https://thin-edge.github.io/thin-edge.io/next/start/getting-started/)

But in short, you can run the commands I posted earlier:

```sh
sudo tedge disconnect c8y
sudo tedge connect c8y

```

---

<div class="post-metadata">

**Author:** ![Bayrem\_Trabelsi](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/bayrem_trabelsi/32/14349_2.png) [@Bayrem\_Trabelsi](https://community.cumulocity.com/u/Bayrem_Trabelsi)\
**Post date:** [August 16, 2023, 11:31am UTC](https://community.cumulocity.com/t/failed-to-connect-cumulocity-cloud/4306/24 "2023-08-16T11:31:56Z")

</div>

Here is the outcome

```auto
sudo tedge connect c8y
The system config file '/etc/tedge/system.toml' doesn't exist. Use '/bin/systemctl' as a service manager.

Checking if systemd is available.

Checking if configuration for requested bridge already exists.

Validating the bridge certificates.

Creating the device in Cumulocity cloud.

ERROR: ConnectionRefused(NotAuthorized)
Error: failed to connect Cumulocity cloud.

Caused by:
    Connection check failed
```

---

<div class="post-metadata">

**Author:** ![Reuben\_Miller2](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/reuben_miller2/32/317_2.png) [@Reuben\_Miller2](https://community.cumulocity.com/u/Reuben_Miller2)\
**Post date:** [August 16, 2023, 12:22pm UTC](https://community.cumulocity.com/t/failed-to-connect-cumulocity-cloud/4306/25 "2023-08-16T12:22:05Z")

</div>

I would just suggest going through the getting started document steps again.

But I’ll have to let someone else take over for the moment.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [February 12, 2024, 12:22pm UTC](https://community.cumulocity.com/t/failed-to-connect-cumulocity-cloud/4306/26 "2024-02-12T12:22:31Z")

</div>

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

[Previous page](https://community.cumulocity.com/t/failed-to-connect-cumulocity-cloud/4306.md?page=1)
