# Device will not register

**URL:** <https://hub.mender.io/t/device-will-not-register/7601>\
**Category:** General Discussions\
**Created:** [February 27, 2025, 2:02pm UTC](https://hub.mender.io/t/device-will-not-register/7601 "2025-02-27T14:02:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![keithrobinson67](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/keithrobinson67/32/2433_2.png) [@keithrobinson67](https://hub.mender.io/u/keithrobinson67)\
**Post date:** [February 27, 2025, 2:02pm UTC](https://hub.mender.io/t/device-will-not-register/7601/1 "2025-02-27T14:02:19Z")

</div>

I’ve gone throughthe tutorial to try and connect my RPi 4 to mnder hosted server but it won’t show up. I’ve followed each step exactly. After pasting the supplied command line text to run on the device, it finishes with the following error:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/mender/original/2X/0/0b29a5b03810a47b6405c7bf0f3da9d5852e85aa.png)

I also run mender-setup as requested, but still it doesn’t connect.

Very lost, there seems to be no way to connect my device following the supplied procedure.

---

<div class="post-metadata">

**Author:** ![keithrobinson67](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/keithrobinson67/32/2433_2.png) [@keithrobinson67](https://hub.mender.io/u/keithrobinson67)\
**Post date:** [February 27, 2025, 2:15pm UTC](https://hub.mender.io/t/device-will-not-register/7601/2 "2025-02-27T14:15:19Z")

</div>

Turns out I had to restart my device. This step was not mentioned in the tutorial. Perhaps is should be

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [February 27, 2025, 2:30pm UTC](https://hub.mender.io/t/device-will-not-register/7601/3 "2025-02-27T14:30:15Z")

</div>

Hi @keithrobinson67,

glad to hear the problem is (almost) solved. Just so I understand correctly, you ran the copy-pasteable command that your Hosted Mender dashboard gave you for adding a Raspberry Pi, and the above error was shown? Essentially:

```auto
JWT_TOKEN="..."
wget -O- https://get.mender.io | sudo bash -s -- --demo --commercial --jwt-token $JWT_TOKEN --force-mender-client4 -- --quiet --device-type "raspberrypi4" --tenant-token $TENANT_TOKEN --retry-poll 300 --update-poll 1800 --inventory-poll 28800 --server-url https://hosted.mender.io --server-cert=""

```

I think that the reboot is actually not necessary, but the polling interval is maybe unexpectedly long. Thanks for raising this!

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![keithrobinson67](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/keithrobinson67/32/2433_2.png) [@keithrobinson67](https://hub.mender.io/u/keithrobinson67)\
**Post date:** [February 27, 2025, 2:35pm UTC](https://hub.mender.io/t/device-will-not-register/7601/4 "2025-02-27T14:35:03Z")

</div>

Yes, this is exactly what I did. It may that my reboot was coincidental, but it appeared on the host almost immediately that the device rebooted.
