Images, messages, not working

Description

Server Setup Information

  • Version of Rocket.Chat Server: 7.1.0rc3
  • Operating System: centos9
  • Deployment Method:
  • Number of Running Instances: 10 for all except nat(1 instance) and stream hub(3ins)
  • DB Replicaset Oplog: 3 nodes
  • NodeJS Version: 20.18.0
  • MongoDB Version: 7.x.x
  • Proxy:
  • Firewalls involved:

I have encounter with images and message problems. My rocketchat deploy as microservices with k8s. But when i send images the images was send but not show on message box, i need refresh web for it appear but the receiver can receive imidiately. About messages, it not mark read when i click into chat box.

But when i change to monolith deployment, all problem was fixed. Have anyone face with that problems can explain for me.. i want to deploy it as microservice because my number of user above 20k.

More over, have any solution for using redis instead of mongodb oplog for capture changelog when deploy as microservice.

Thanks

:exploding_head: upgrade, and NEVER run RC in production.

They are for testing only.

You should be on 7.8.x No one will help you with EOL code.

Nope.

Because of limitations of node anything above 200 users can be problematic.

For 20k you really need EE, and that includes microservices. That is not free.

I also note last time you asked a question you found a solution but never posted it:

This is comminuty support and that includes both taking, and giving back.

Sorry about that.. i will update now but how about the images sending. Due to company policy i can not update app right now.
So that i have to found a solution for that images issue when deploy with k8s and microservice. At my version it seem to be call 2 api for send a image room.media and room.mediaconfirm but when both done it not show the images imidiately in my chatbox. I need refresh for it appear. However when i change to monolith deploy also with k8s it has show right after these api done.

Due to RocketChat policy they do not support anything over 6 months. That’s it. That is their terms of use.

You need to upgrade your company policy, and your version of RocketChat.

As for your issue I think the answer is here:

Essentially microservices are not supported on any version of CE.

Multiple instances have the Premium tag, meaning they’re available on paid plans or Starter.
On community the behavior is what you see: only one instance will work at a time. When you refresh it changes the instance and fetches the message. You can make it work changing to Starter plan

I still have one question:
I deployed Rocket.Chat in monolith mode with 20 instances on a single Kubernetes cluster, and I didn’t encounter any issues with image uploads.
Is multi-instance deployment only intended for microservices?
Because the issue I’m facing only happens when sending image or file uploads—regular text messages work without any problems.

Essentially if you are over 200 users then they expect you should be contributing because you are likely making profit yourself (or your company), and they can’t develop 24/7 for free - does your company work for free?

Devs need to put food on the table.

Remember, it’s open source. Not free.

Duplicated here.