# MM iOS Stuck on Opening/Loading?

**URL:** <https://forum.mattermost.com/t/mm-ios-stuck-on-opening-loading/7649>\
**Category:** Mobile Apps\
**Created:** [July 10, 2019, 12:48am UTC](https://forum.mattermost.com/t/mm-ios-stuck-on-opening-loading/7649 "2019-07-10T00:48:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![RbDev](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/rbdev/32/1827_2.png) [@RbDev](https://forum.mattermost.com/u/RbDev)\
**Post date:** [July 10, 2019, 12:48am UTC](https://forum.mattermost.com/t/mm-ios-stuck-on-opening-loading/7649/1 "2019-07-10T00:48:27Z")

</div>

Hi all,

MM Server: 5.12.3  
MM Client: 1.20.1  
iOS Firmware: 12.3.1

I tried to use this afternoon on my iPhone XS and the app just stood stuck.

It didn’t display “Now Loading” or “No connection”. It just stayed stuck like that.

It was on 4G and it seems I had normal internet.

Cheers,

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/2/250847efb60c7ea7981b779af79b8558a31508aa.jpeg)

---

<div class="post-metadata">

**Author:** ![lindy65](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lindy65/32/1811_2.png) [@lindy65](https://forum.mattermost.com/u/lindy65)\
**Post date:** [July 11, 2019, 9:12am UTC](https://forum.mattermost.com/t/mm-ios-stuck-on-opening-loading/7649/2 "2019-07-11T09:12:05Z")

</div>

Hi @RbDev

Sorry, I’m not able to reproduce this on server v5.12.3 app version 1.21.0 build 206

However, verifying that there definitely seems to be a “connection” issue when logging in to a v5.12.3 server as after trying to reproduce your issue [here](https://forum.mattermost.com/t/mm-ios-messy-messages/7621/2), and going back to the app to try to reproduce this current issue (I did not log out and back in, just opened the lock screen on my device), I got the grey notification bar “Connecting…” and trying to post a message results in the “i” to the right of the post.

The device _does_ connect in about 4 minutes and then gives the notification “Refreshing messages failed. Pull up to try again”. If I then tap the “i” to the right of the post and then “try again” the message posts successfully.

I’m thinking that this current issue could be related to [your issue here](https://forum.mattermost.com/t/mm-ios-messy-messages/7621/2) where the device doesn’t connect once you’ve logged in (but doesn’t give any notification either that you’re not connected)

---

<div class="post-metadata">

**Author:** ![aleksa.todorovic](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@aleksa.todorovic](https://forum.mattermost.com/u/aleksa.todorovic)\
**Post date:** [May 7, 2020, 8:18am UTC](https://forum.mattermost.com/t/mm-ios-stuck-on-opening-loading/7649/3 "2020-05-07T08:18:22Z")

</div>

I have same issue on my IPhone 6s, following are specifications and screenshot:

MM Server: 5.22.0, Build Hash 64922547a34fed47c045cc14273a8f86f0c1b9fa  
MM Client: 1.30.1  
iOS Sofware Version: 13.3.1

The problem happens once a week or once in two weeks, and I just keep reinstalling and asking people to send me messages. After enough tries, after I click on notification on my phone, application opens and everything works fine.

 ![mm_issues](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/2/2578fdc69491749886a3b1e6b1bcc8f0f259009a.jpeg)

---

<div class="post-metadata">

**Author:** ![ahmaddanial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ahmaddanial/32/2938_2.png) [@ahmaddanial](https://forum.mattermost.com/u/ahmaddanial)\
**Post date:** [May 19, 2020, 1:40am UTC](https://forum.mattermost.com/t/mm-ios-stuck-on-opening-loading/7649/4 "2020-05-19T01:40:30Z")

</div>

Hello, @aleksa.todorovic @RbDev

Can I please check if you have the `ExperimentalPrimaryTeam` configuration enabled in `config.json`? The easiest way to check is to run the following command and share the result.

```auto
ahmaddanial@mattermost:~$ cat /opt/mattermost/config/config.json | grep "ExperimentalPrimaryTeam"
        "ExperimentalPrimaryTeam": "",

```

This could be one of the reason behind this issue. If you have any, can you please disable it by leaving the field blank similar to the setting I have above?

Additionally, may I know if you belong to any teams that were archived / deleted from the instance?

---

<div class="post-metadata">

**Author:** ![aleksa.todorovic](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@aleksa.todorovic](https://forum.mattermost.com/u/aleksa.todorovic)\
**Post date:** [May 25, 2020, 3:51pm UTC](https://forum.mattermost.com/t/mm-ios-stuck-on-opening-loading/7649/5 "2020-05-25T15:51:11Z")

</div>

Hi @ahmaddanial,

Thank you for getting in touch.

Indeed, I do have “ExperimentalPrimaryTeam” set to the name of our main team. I’ve disabled it, and will see if issue happens again.

As of your other question, I am not member of any archived/deleted team (or at least, I am not aware - how can I check that).

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [May 25, 2020, 4:30pm UTC](https://forum.mattermost.com/t/mm-ios-stuck-on-opening-loading/7649/6 "2020-05-25T16:30:48Z")

</div>

We also released v1.31.1 to fix a crash issue, perhaps you can upgrade to see if it fixes the issue you’re experiencing.

---

<div class="post-metadata">

**Author:** ![ahmaddanial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ahmaddanial/32/2938_2.png) [@ahmaddanial](https://forum.mattermost.com/u/ahmaddanial)\
**Post date:** [May 26, 2020, 1:21am UTC](https://forum.mattermost.com/t/mm-ios-stuck-on-opening-loading/7649/7 "2020-05-26T01:21:00Z")

</div>

Hi, @aleksa.todorovic

While you cannot check for deleted teams since they are removed completely from the system, you can actually run the following SQL query (if you have access to the backend database) to pull the information of the teams and channels that you belong to (archived and active):

```auto
SELECT DISTINCT u.Username, t.DisplayName AS TeamName, c.DisplayName AS ChannelName, cm.SchemeUser AS User, cm.SchemeAdmin AS Admin FROM ChannelMembers AS cm JOIN Channels AS c ON (cm.ChannelId=c.Id) JOIN Users AS u ON (cm.UserId=u.Id) JOIN Teams AS t ON (c.TeamId=t.Id) WHERE u.Username = "<username>";

```

Replace the parameter with your username in Mattermost.
