# Mender-connect remote terminal access suddenly dissappeared in all devices

**URL:** https://hub.mender.io/t/mender-connect-remote-terminal-access-suddenly-dissappeared-in-all-devices/3845
**Category:** General Discussions
**Tags:** mender-connect, remote-terminal
**Created:** [July 7, 2021, 10:30am UTC](https://hub.mender.io/t/mender-connect-remote-terminal-access-suddenly-dissappeared-in-all-devices/3845 "2021-07-07T10:30:24Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![anishmonachan](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/anishmonachan/32/802_2.png) [@anishmonachan](https://hub.mender.io/u/anishmonachan)
#### Post date: [July 7, 2021, 10:30am UTC](https://hub.mender.io/t/mender-connect-remote-terminal-access-suddenly-dissappeared-in-all-devices/3845/1 "2021-07-07T10:30:24Z")

</div>

Hello,  
I’ve an issue with mender-connect. Yesterday, all fleet of devices which are running on meta-mender, the mender remote terminal access has disappeared. That means there is no button to launch remote terminal from the server. When I checked the logs, I’ve the following info,

```auto
journalctl -fu mender-connect
-- Logs begin at Sun 2020-09-20 10:43:58 UTC. --
Jul 07 10:21:00 j140-tx2-d02 mender-connect[24127]: time="2021-07-07T10:21:00Z" level=info msg="Loaded configuration file: /etc/mender/mender-connect.conf"
Jul 07 10:21:01 j140-tx2-d02 mender-connect[24127]: time="2021-07-07T10:21:01Z" level=warning msg="The server certificate cannot be loaded: no file provided"
Jul 07 10:21:07 j140-tx2-d02 systemd[1]: Stopping Mender Connect service...
Jul 07 10:21:08 j140-tx2-d02 systemd[1]: mender-connect.service: Succeeded.
Jul 07 10:21:08 j140-tx2-d02 systemd[1]: Stopped Mender Connect service.
Jul 07 10:21:08 j140-tx2-d02 systemd[1]: Started Mender Connect service.
Jul 07 10:21:08 j140-tx2-d02 mender-connect[24323]: time="2021-07-07T10:21:08Z" level=info msg="Loaded configuration file: /etc/mender/mender-connect.conf"
Jul 07 10:21:08 j140-tx2-d02 mender-connect[24323]: time="2021-07-07T10:21:08Z" level=warning msg="call to GetJWTToken on the Mender D-Bus API failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name io.mender.AuthenticationManager was not provided by any .service files"
Jul 07 10:21:08 j140-tx2-d02 mender-connect[24323]: time="2021-07-07T10:21:08Z" level=info msg="waiting for JWT token (waitForJWTToken)"
Jul 07 10:21:08 j140-tx2-d02 mender-connect[24323]: time="2021-07-07T10:21:08Z" level=warning msg="The server certificate cannot be loaded: no file provided"

```

I’m wondering what changed now, why all the remote terminals are disappeared suddenly.

---

<div class="post-metadata">

### Author: ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)
#### Post date: [July 7, 2021, 10:50am UTC](https://hub.mender.io/t/mender-connect-remote-terminal-access-suddenly-dissappeared-in-all-devices/3845/2 "2021-07-07T10:50:59Z")

</div>

This is a known bug in the Mender client (it fails to provide the token to mender-connect). It is in the process of being released as we speak, and should be available in a matter of days.

---

<div class="post-metadata">

### Author: ![anishmonachan](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/anishmonachan/32/802_2.png) [@anishmonachan](https://hub.mender.io/u/anishmonachan)
#### Post date: [July 7, 2021, 11:10am UTC](https://hub.mender.io/t/mender-connect-remote-terminal-access-suddenly-dissappeared-in-all-devices/3845/3 "2021-07-07T11:10:00Z")

</div>

Ok, Which is going to be the version with this fix? is this going to be a server side fix or client side?

---

<div class="post-metadata">

### Author: ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)
#### Post date: [July 7, 2021, 12:09pm UTC](https://hub.mender.io/t/mender-connect-remote-terminal-access-suddenly-dissappeared-in-all-devices/3845/4 "2021-07-07T12:09:15Z")

</div>

It is a client side fix, and will be available in Mender Client 2.5.2, 2.6.1 and 3.0.0.

---

<div class="post-metadata">

### Author: ![anishmonachan](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/anishmonachan/32/802_2.png) [@anishmonachan](https://hub.mender.io/u/anishmonachan)
#### Post date: [July 7, 2021, 12:25pm UTC](https://hub.mender.io/t/mender-connect-remote-terminal-access-suddenly-dissappeared-in-all-devices/3845/5 "2021-07-07T12:25:22Z")

</div>

I see that v2.7 is not listed. Does that mean v2.7 has already this fix?

---

<div class="post-metadata">

### Author: ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)
#### Post date: [July 7, 2021, 12:51pm UTC](https://hub.mender.io/t/mender-connect-remote-terminal-access-suddenly-dissappeared-in-all-devices/3845/6 "2021-07-07T12:51:05Z")

</div>

There is no 2.7 **client**. What you are talking about is the Mender Product offering, which is the complete offering of all the tools. The mapping then becomes as follows:

- Mender client 2.5.1 \<= Mender Product offering 2.6.1
- Mender client 2.6.2 \<= Mender Product offering 2.7.2
- Mender client 3.0.0 \<= Mender Product offering 3.0.0

---

<div class="post-metadata">

### Author: ![anishmonachan](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/anishmonachan/32/802_2.png) [@anishmonachan](https://hub.mender.io/u/anishmonachan)
#### Post date: [July 7, 2021, 2:58pm UTC](https://hub.mender.io/t/mender-connect-remote-terminal-access-suddenly-dissappeared-in-all-devices/3845/7 "2021-07-07T14:58:32Z")

</div>

That’s very clear. Thank you . May I ask one more question, if there was a bug in the client side, why I was able to access the remote terminal until yesterday?

---

<div class="post-metadata">

### Author: ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)
#### Post date: [July 8, 2021, 7:15am UTC](https://hub.mender.io/t/mender-connect-remote-terminal-access-suddenly-dissappeared-in-all-devices/3845/8 "2021-07-08T07:15:33Z")

</div>

It’s a [race condition](https://en.wikipedia.org/wiki/Race_condition#In_software), so it does not always happen, only when you are unlucky. 🙂
