Summary
After setting up a high availability cluster, many users are experiencing issues with displaying images in chats.
Expected behavior
there is a mattermost 9.5.6 Enterprise running in a cluster in docker swarm on physical servers in high availability mode. repmgr bitnami is used as a database cluster. pgpool bitnami is used to balance requests. cloudflare loadbalancer is used as a frontend loadbalancer. S3 ovh is used as a file storage. Often many people have a problem with displaying images sent in chats or personally. The image is not displayed until you click on it. I turned on debug in the logs and did not find any errors. Also, when disabling the loadbalancer, all users connect to one leg, but the problem remains. I don’t know where to look anymore, I ask for help.
Hi @Luckym_Boop, thanks for sharing the details of your setup! It sounds like a complex environment. I’d recommend reviewing our documentation on high availability and cluster-based deployment to ensure everything is aligned. If the issue persists, checking network configurations or reaching out to support might also help. Let us know how it goes!
John, thanks for the answer. I have studied your documentation in detail and checked all the settings that are mentioned there. The documentation describes the deployment of a high availability cluster in aws, but we cannot do this. We use physical hetzner servers. They are in the same network and the response time between them is 1ms and the channel width is 1gbit. Also, the problem is not reproduced by all users. Perhaps you can tell me in more detail what I need to check and what I need to pay attention to. While there was only one server, such a problem was not observed.
@luckym-boop first thing I’d strongly recommend is to upgrade to 9.5.13 to get all of the bugfixes in the 9.5 tree. There are several references to “image” in our v9 changelog - Mattermost documentation Then, I’d recommend upgrading to 9.11.6 to get on the most recent ESR… 9.5 support is effectively over according to our release policy Release policy - Mattermost documentation