# \[SOLVED\] No notification - occasionally have to refresh to see new messages

**URL:** <https://forum.mattermost.com/t/solved-no-notification-occasionally-have-to-refresh-to-see-new-messages/2386>\
**Category:** Troubleshooting\
**Created:** [October 19, 2016, 4:45am UTC](https://forum.mattermost.com/t/solved-no-notification-occasionally-have-to-refresh-to-see-new-messages/2386 "2016-10-19T04:45:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ktechmidas](https://avatars.discourse-cdn.com/v4/letter/k/e9bcb4/32.png) [@ktechmidas](https://forum.mattermost.com/u/ktechmidas)\
**Post date:** [October 19, 2016, 4:45am UTC](https://forum.mattermost.com/t/solved-no-notification-occasionally-have-to-refresh-to-see-new-messages/2386/1 "2016-10-19T04:45:56Z")

</div>

#### Summary

No notification - occasionally have to refresh to see new messages. (Probably a WSS issue, can someone advise on how to fix? Is there a config I’ve missed in the migration?)

#### Steps to reproduce

I started on a LXC container, copied the rootfs of the mattermost container into another LXC host as we were migrating from one host to another (with a different IP). I’ve updated the internal IP address on the container and changed the config.json to reflect the new host (MySQL etc)

#### Expected behavior

For mattermost to work as expected, people to be online etc.

#### Observed behavior

Mattermost came up okay once the container started and I can login and see old messages and send messages - however if someone sends a message to anyone else they need to refresh the page in order to see it, and they cannot see anyone online even if they are. I also occasionally have WebRTC errors.

My nginx config is quite simple and looks like:

server {  
listen 80;  
server\_name chat.xx;  
return 301 https://$host$request\_uri;  
}

server {

```
listen 443 ssl;
server_name chat.xx;

ssl_certificate /etc/letsencrypt/live/chat.xx/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/chat.xx/privkey.pem;

ssl on;
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;

access_log /var/log/nginx/chat.ibbchina.com.access.log;
error_log /var/log/nginx/chat.ibbchina.com..asia.error.log;

location / {
    gzip off;
    proxy_set_header X-Forwarded-Ssl on;
    client_max_body_size 100M;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header Host $http_host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Frame-Options SAMEORIGIN;
    proxy_pass http://172.30.254.107:8065;

```

}}

---

<div class="post-metadata">

**Author:** ![ktechmidas](https://avatars.discourse-cdn.com/v4/letter/k/e9bcb4/32.png) [@ktechmidas](https://forum.mattermost.com/u/ktechmidas)\
**Post date:** [October 20, 2016, 1:59pm UTC](https://forum.mattermost.com/t/solved-no-notification-occasionally-have-to-refresh-to-see-new-messages/2386/2 "2016-10-20T13:59:45Z")

</div>

Okay I fixed it. For anyone else having this issue when we moved it we used a different proxy host. Unfortunately that proxy was running a rather old version of nginx (being on Ubuntu 12.04) and didn’t support the use of websockets.

Upgrading to Ubuntu 14 appears to have fixed the issue.

---

<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:** [October 24, 2016, 7:38am UTC](https://forum.mattermost.com/t/solved-no-notification-occasionally-have-to-refresh-to-see-new-messages/2386/3 "2016-10-24T07:38:52Z")

</div>

Thanks @ktechmidas, pleased the issue is fixed for you!
