# Infinite refresh loop in browser clients, with “Invalid or expired session” log error spam

**URL:** https://forum.mattermost.com/t/infinite-refresh-loop-in-browser-clients-with-invalid-or-expired-session-log-error-spam/8336
**Category:** Troubleshooting
**Created:** [October 23, 2019, 7:40pm UTC](https://forum.mattermost.com/t/infinite-refresh-loop-in-browser-clients-with-invalid-or-expired-session-log-error-spam/8336 "2019-10-23T19:40:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![RazvanZ](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@RazvanZ](https://forum.mattermost.com/u/RazvanZ)
#### Post date: [October 23, 2019, 7:40pm UTC](https://forum.mattermost.com/t/infinite-refresh-loop-in-browser-clients-with-invalid-or-expired-session-log-error-spam/8336/1 "2019-10-23T19:40:01Z")

</div>

I installed an Turnkey Mattermost server on a local Proxmox server, and after I setup the DNS and redirect it with Cloudflare, I see the infinite refresh loop, and if I turn off the CloudFlare redirect, I keep receiving the Invalid or expired session.

What can I do? I downloaded the latest version.

Thanks,  
Razvan
