# \[solved\] Incoming messages not automatically loading

**URL:** <https://forum.mattermost.com/t/solved-incoming-messages-not-automatically-loading/6083>\
**Category:** Troubleshooting\
**Created:** [November 5, 2018, 4:22pm UTC](https://forum.mattermost.com/t/solved-incoming-messages-not-automatically-loading/6083 "2018-11-05T16:22:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nosus\_Decipio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/nosus_decipio/32/2498_2.png) [@Nosus\_Decipio](https://forum.mattermost.com/u/Nosus_Decipio)\
**Post date:** [November 5, 2018, 4:22pm UTC](https://forum.mattermost.com/t/solved-incoming-messages-not-automatically-loading/6083/1 "2018-11-05T16:22:04Z")

</div>

This question is similar to the unresolved issues discussed by the OP and another commenter here:

> [@Desktop Client/application Notififcations not working. Need to refresh or switch channels to view new messages](https://forum.mattermost.com/t/desktop-client-application-notififcations-not-working-need-to-refresh-or-switch-channels-to-view-new-messages/3562):
>
> Hi, I am not getting real time perfomance in mattermost. Details of my mattermost setup is mentioned below : I am using Mattermost 3.10.0. Installed this on Docker and deployed on AWS ECS cluster. Having 2 Mattermost instances behind application load balancer using AWS managed MySql service. The site is accessed via url created Route53. Mobile application is working fine. Here are the issues : Not getting notification sometime. When chatting with someone/channel, need to reload or switch …

#### Summary

When person A sends a message to person B, the mattermost client for user B does not show the message until user B clicks away from the channel and returns to it.

#### Steps to reproduce

mattermost-team-5.1.0-linux-amd64.tar.gz

#### Expected behavior

Messages should send and receive automatically.

#### Observed behavior

When standing beside a coworker on the same network, or when on the phone with a coworker on a different network, we can test the sending of messages and see that the messages don’t come through until we click away and return, or refresh the page.

This image shows a chrome browser developer’s console after letting it sit for some time (not necessarily waiting on a message, but sitting on the same page in the background for a while).  
[https://imgur.com/a/kVkza7U](https://imgur.com/a/kVkza7U)

---

<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:** [November 5, 2018, 5:28pm UTC](https://forum.mattermost.com/t/solved-incoming-messages-not-automatically-loading/6083/2 "2018-11-05T17:28:29Z")

</div>

Hi @Nosus_Decipio,

What device and browser are you seeing this on? Also, is there any specific time it takes for the messages to load without performing a refresh (just wanted to get a sense of whether you’re talking about seconds / minutes / hours / etc.)?

---

<div class="post-metadata">

**Author:** ![Nosus\_Decipio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/nosus_decipio/32/2498_2.png) [@Nosus\_Decipio](https://forum.mattermost.com/u/Nosus_Decipio)\
**Post date:** [November 5, 2018, 6:12pm UTC](https://forum.mattermost.com/t/solved-incoming-messages-not-automatically-loading/6083/3 "2018-11-05T18:12:52Z")

</div>

Thanks for your reply, Amy!

We are having this reported in multiple browsers as well as the mac desktop client, leading me to believe that we have something configured improperly.

I’ve tried waiting to see if a message loads in on it’s own, but I haven’t tried it for longer than 5 minutes. I’ll update you here if I’m able to get more precise results.

_Note: I’ve updated the OP with an image containing the console log after letting it sit for a while_

---

<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:** [November 5, 2018, 6:54pm UTC](https://forum.mattermost.com/t/solved-incoming-messages-not-automatically-loading/6083/4 "2018-11-05T18:54:42Z")

</div>

Hi @Nosus_Decipio,

This sounds like it could be a websocket issue - can you help take a look at these troubleshooting tips in our docs (you may have already):

- [https://docs.mattermost.com/install/troubleshooting.html#please-check-connection-mattermost-unreachable-if-issue-persists-ask-administrator-to-check-websocket-port](https://docs.mattermost.com/install/troubleshooting.html#please-check-connection-mattermost-unreachable-if-issue-persists-ask-administrator-to-check-websocket-port)
- [https://docs.mattermost.com/install/troubleshooting.html#failed-to-upgrade-websocket-connection](https://docs.mattermost.com/install/troubleshooting.html#failed-to-upgrade-websocket-connection)
- [https://docs.mattermost.com/install/troubleshooting.html#websocket-closed-or-websocket-re-established-connection](https://docs.mattermost.com/install/troubleshooting.html#websocket-closed-or-websocket-re-established-connection)

---

<div class="post-metadata">

**Author:** ![Nosus\_Decipio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/nosus_decipio/32/2498_2.png) [@Nosus\_Decipio](https://forum.mattermost.com/u/Nosus_Decipio)\
**Post date:** [November 9, 2018, 2:28pm UTC](https://forum.mattermost.com/t/solved-incoming-messages-not-automatically-loading/6083/5 "2018-11-09T14:28:46Z")

</div>

[SOLVED] The F5 load balancer was using a layer 7 (HTTP) load balancer and this was not allowing websocket connections.
