# Channels not loading in mobile app

**URL:** <https://forum.mattermost.com/t/channels-not-loading-in-mobile-app/13638>\
**Category:** Mobile Apps\
**Created:** [July 7, 2022, 3:03am UTC](https://forum.mattermost.com/t/channels-not-loading-in-mobile-app/13638 "2022-07-07T03:03:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brace01](https://avatars.discourse-cdn.com/v4/letter/b/ad7895/32.png) [@brace01](https://forum.mattermost.com/u/brace01)\
**Post date:** [July 7, 2022, 3:03am UTC](https://forum.mattermost.com/t/channels-not-loading-in-mobile-app/13638/1 "2022-07-07T03:03:45Z")

</div>

Since I can’t post more than three replies… (strange!)

I’m struggling with the description of the issue within this post:

> [@Constant websocket errors](https://forum.mattermost.com/t/constant-websocket-errors/13597):
>
> Summary Constant websocket errors on version 7.0.1. Steps to reproduce Since updating to version 7.0.0 about two weeks ago, our server is constantly getting this websocket error. I’ve checked the logs prior to the update, and there was no instance of this error before. During the weekend we have updated to version 7.0.1 as an attempt to fix it, but with no luck. We were previosuly on version 6.3, and updated straight away to 7.0, following the recommended guide, with nothing special, and with…

However, I do not believe the “websocket errors” are the cause of that issue but I cannot figure out what is. Would the websockets need to use a different port than what Mattermost is running on? I don’t have a LB in front either.

In my case I’m self hosting since 2019 but this has only started in the past couple of months since an upgrade in April. Previously we had great response times now mobile apps are behaving very slowly. It seems limited to mobile apps and the website and desktop apps still function quickly. Another wrinkle is that if I use mobile app but on local network with wifi it works fine. Only happens via mobile data.

If I wait long enough the app finally responds but there is a ~1min delay in it loading anything. I put the server into DEBUG mode and nothing really is happening during this. Is the mobile app waiting on a response that isn’t coming? Is it being throttled for some reason due to being overly chatty? It used to work just fine and now is very painful to use due to the initial delay.

Anyone else having this issue?

---

<div class="post-metadata">

**Author:** ![agnivade](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/agnivade/32/3846_2.png) [@agnivade](https://forum.mattermost.com/u/agnivade)\
**Post date:** [July 7, 2022, 7:48am UTC](https://forum.mattermost.com/t/channels-not-loading-in-mobile-app/13638/2 "2022-07-07T07:48:03Z")

</div>

> but this has only started in the past couple of months since an upgrade in April.

What version did you upgrade to?

And what is your mobile app version?

---

<div class="post-metadata">

**Author:** ![agriesser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/agriesser/32/5644_2.png) [@agriesser](https://forum.mattermost.com/u/agriesser)\
**Post date:** [July 15, 2022, 10:38am UTC](https://forum.mattermost.com/t/channels-not-loading-in-mobile-app/13638/3 "2022-07-15T10:38:40Z")

</div>

> [@brace01](#):
>
> Would the websockets need to use a different port than what Mattermost is running on? I don’t have a LB in front either.

No, websockets will use the same HTTP/HTTPs port as your mattermost connection does. Websockets live “on-top” of a normal HTTP request, if you want, so the connection will be “upgraded” to a socket connection and mattermost will take care of that with its integrated webserver (if there’s nothing in front of it, a loadbalancer or a reverse proxy, etc.).

In the other ticket you linked, you said:

> I have a personal server setup with an Apache HTTPD router in front of my sites

And this actually contradicts with “I don’t have an LB in front either”, because even though there’s just one backend, Apache is still interfering with the connections here and could be the culprit.

Try to enable the Apache Server Status Module as well as the extended Status:

```auto
a2enmod status
systemctl reload apache2

```

You should then be able to see the running worker processes of your Apache webserver as well as their usage when going to [http://your-server-ip/server-status](http://your-server-ip/server-status).

Please check the configuration in /etc/apache2/mods-enabled/status.conf, it might need to be adjusted for you to actually see the worker usage.  
If the workers are full (lots of Websocket connections, keepalive connections, etc.) this can explain the behaviour you’re experiencing.

On a side note: Apache is not the best option to reverse proxy into Mattermost, haproxy or nginx would be much better fits, if possible.
