# Messages not refreshing in Linux App

**URL:** <https://forum.mattermost.com/t/messages-not-refreshing-in-linux-app/2950>\
**Category:** Troubleshooting\
**Created:** [February 21, 2017, 3:37pm UTC](https://forum.mattermost.com/t/messages-not-refreshing-in-linux-app/2950 "2017-02-21T15:37:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ngcnelson](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@ngcnelson](https://forum.mattermost.com/u/ngcnelson)\
**Post date:** [February 21, 2017, 3:37pm UTC](https://forum.mattermost.com/t/messages-not-refreshing-in-linux-app/2950/1 "2017-02-21T15:37:16Z")

</div>

#### Summary

From version 3.4 to 3.6: Messages do not refresh automatically if I have the app open in a channel. I have to move to another channel and come back to see the new messages.

#### Steps to reproduce

Using Docker, upgraded to version 3.6 from 3.4. Mattermost is sitting behind a reverse proxy nginx. Previously everything was working.  
Now, from time to time, messages do not refresh automatically, specially those posted by incoming webhooks.  
The app is open for several hours at a time (if that has any bearing)

#### Expected behavior

Channel should show new messages and corresponding notifications

#### Observed behavior

Didn’t see anything in the UI (maybe there is something that I can activate to show some info if connection is broken?) unless I move from one channel to another.

---

<div class="post-metadata">

**Author:** ![afrodrumunit](https://avatars.discourse-cdn.com/v4/letter/a/a5b964/32.png) [@afrodrumunit](https://forum.mattermost.com/u/afrodrumunit)\
**Post date:** [February 21, 2017, 7:13pm UTC](https://forum.mattermost.com/t/messages-not-refreshing-in-linux-app/2950/2 "2017-02-21T19:13:17Z")

</div>

Perhaps you can try [this](http://forum.mattermost.com/t/update-from-3-5-to-3-6-broke-chrome-refresh/2763/6?u=afrodrumunit) solution from when I hit very similar symptoms on an upgrade to 3.6?

---

<div class="post-metadata">

**Author:** ![ngcnelson](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@ngcnelson](https://forum.mattermost.com/u/ngcnelson)\
**Post date:** [February 21, 2017, 7:28pm UTC](https://forum.mattermost.com/t/messages-not-refreshing-in-linux-app/2950/3 "2017-02-21T19:28:57Z")

</div>

I enabled DEBUG in the logs and what I’m getting is this “unexpected EOF”:

`[2017/02/21 14:25:12 EST] [DEBG] websocket.read: closing websocket for userId=y8wsrxifb7rgzbgyzwghhab9jo error=websocket: close 1006 (abnormal closure): unexpected EOF`

---

<div class="post-metadata">

**Author:** ![ngcnelson](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@ngcnelson](https://forum.mattermost.com/u/ngcnelson)\
**Post date:** [February 21, 2017, 7:49pm UTC](https://forum.mattermost.com/t/messages-not-refreshing-in-linux-app/2950/4 "2017-02-21T19:49:20Z")

</div>

ha! That seems to work.  
I’m behind a reverse proxy, so maybe it’s because of the difference in “hosts” names (from external host name to internal docker host, including different protocol: https external, internal is just http)  
The weird thing is that this was working fine (with the URL set) in version 3.4

Update: False alarm. Issue still there. It seems like it worked but today, the message from an incoming webhook was not highlighted or notified as a new message in a channel. And I know to look for it, because it always posts at around the same time every day. So no fix yet (I’m restoring the URL so that we can have batch emails again). Perhaps it has to do with that kind of messages? (posted by incoming webhooks)

---

<div class="post-metadata">

**Author:** ![jasonblais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jasonblais/32/720_2.png) [@jasonblais](https://forum.mattermost.com/u/jasonblais)\
**Post date:** [March 2, 2017, 1:59pm UTC](https://forum.mattermost.com/t/messages-not-refreshing-in-linux-app/2950/5 "2017-03-02T13:59:46Z")

</div>

@ngcnelson

We had a bug where [if the webhook creator leaves the channel bot messages are sent to, the messages don’t appear until channel refresh if you’re already viewing it](https://mattermost.atlassian.net/browse/PLT-5284).

Wondering if that’s the issue you’re facing?

If so, that will be fixed in Mattermost 3.7, which will be released on March 16th

---

<div class="post-metadata">

**Author:** ![ngcnelson](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@ngcnelson](https://forum.mattermost.com/u/ngcnelson)\
**Post date:** [March 2, 2017, 2:28pm UTC](https://forum.mattermost.com/t/messages-not-refreshing-in-linux-app/2950/6 "2017-03-02T14:28:44Z")

</div>

Yes! That’s exactly what’s going on @jasonblais. I notice other bots were posting with no problem. But the web hook this bot posts to, the creator, is no longer in those channels  
I guess I could create the web hook again with a different user in the mean time

---

<div class="post-metadata">

**Author:** ![jasonblais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jasonblais/32/720_2.png) [@jasonblais](https://forum.mattermost.com/u/jasonblais)\
**Post date:** [March 2, 2017, 3:09pm UTC](https://forum.mattermost.com/t/messages-not-refreshing-in-linux-app/2950/7 "2017-03-02T15:09:53Z")

</div>

Glad to hear @ngcnelson!

And you’re correct, I think the workaround is to either have the webhook creator join the channel or re-create the webhook until Mattermost 3.7 is released on the 16th of March.
