Online/offline status indicator in the Mac App broken

I’ve had a problem for a few days that I can’t explain. Maybe someone here has an idea? That would be great!

In the desktop app, the user’s online status (green tick next to the profile picture) has only been displayed as ‘offline’ for a few days now.
If the user is logged into the browser, the status is displayed correctly both in the browser and in the app. However, if the user is only logged into the app, the status is marked as offline. Manual changes to the status are only retained until the next reload/restart of the app.

Reinstalling, updating the app, clearing the cache and restarting the server have been tried. Without success.
I can’t find anything in the server logs, in the app logs or in the app’s Dev Console. No comparable case can be found on Google, on Github (desktop app), there is only an older issue for the Windows app.

Is it the same for others? Does anyone have an idea?

Desktop App version 5.9.0 (but also 5.2.2), server version 9.10.1., installation via Cloudron (Package Version 2.2.0)

This only happens to one user of many? This sounds like a WebSockets issue. See if Integrations configuration settings - Mattermost documentation helps.

I have same fresh report from users running desktop app v5.9.0 (in one case MacOS, in the second one Linux). People are marked offline repeatedly.

The problem occurs with several users under Mac OS.

In a small survey, 10 out of 12 users told me that the online status is NOT set automatically. Two of them seem to have no problems.

The affected systems have different OS versions (Mac OS 11.2 to 14.6.1) and run on ARM or Intel. Mattermost app version 5.9.0 is used in all cases

But to note again: the use in the browser (Webapp) or iOS app works without errors.

This sounds like a WebSockets issue.

The following log entry from the app would fit:

[2024-09-11 11:40:13.681] [warn] [WebContentsEventM…] [team] [TAB_MESSAGING] [renderer] [1726047613.68] Polling websockets connection for state: 1
[2024-09-11 11:40:13.681] [warn] [WebContentsEventM…] [team] [TAB_MESSAGING] [renderer] [1726047613.68] WSClient reconnected
[2024-09-11 12:42:40.569] [error] [WebContentsEventM…] [team] [TAB_MESSAGING] [renderer] [1726051360.57] WSClient has been closed, connect fail count: 1

See if Integrations configuration settings - Mattermost documentation 3 helps.

What would be the recommendation here? As I said, apart from the status in the desktop app, everything works on all devices.

1 Like