Forwarded GIF does not show (403)

Description

When forwarding a gif from one user to the next, it does not show up, in the browser log it shows an error 403 forbidden.

When directly sending it, it works flawlessly.


here in the screenshot the first 2.gif line is the failed one when clicked on the forwarded image, the second 2.gif is when clicked on the directly send image.

What can be the issue here?

thanks a lot for help!

Server Setup Information

  • Version of Rocket.Chat Server:
  • Operating System: Debian
  • Deployment Method: Docker 7.7.1
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: see docker
  • MongoDB Version: see docker
  • Proxy: nginx reverse proxy
  • Firewalls involved: ufw
(base) root@serve /opt # ufw status
Status: active

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW       Anywhere                  
80,443,996,2377,3000,4789,7946/tcp ALLOW       Anywhere                  
2377,4789,7946/udp         ALLOW       Anywhere                  
22                         ALLOW       Anywhere                  
22/tcp (v6)                ALLOW       Anywhere (v6)             
80,443,996,2377,3000,4789,7946/tcp (v6) ALLOW       Anywhere (v6)             
2377,4789,7946/udp (v6)    ALLOW       Anywhere (v6)             
22 (v6)                    ALLOW       Anywhere (v6)             

80,443,996,2377,3000,4789,7946/tcp ALLOW FWD   Anywhere                  
2222/tcp                   ALLOW FWD   Anywhere                  
10000/udp                  ALLOW FWD   Anywhere                  
80,443,996,2377,3000,4789,7946/tcp (v6) ALLOW FWD   Anywhere (v6)             
2222/tcp (v6)              ALLOW FWD   Anywhere (v6)             
10000/udp (v6)             ALLOW FWD   Anywhere (v6)             

(base) root@serve /opt # 

Any additional Information

If you are using GridFS, don’t.

Don’t think you are but just to be clear.

Check file perms.

Note docker changed some uid stuff relatively recently that messes with files.

See 1.2 & 1.3 here for more:

On mine using host mode I had to add a rocketchat user/group uid 65533

Please check. Also check your nginx logs for the 403.