Error uploading image. Try again. IOS

Some photos do not want to be uploaded to the chat on my iPhone. I have my own server, everything works in a desktop application. Also, everything works on https://open.rocket.chat Tell me what could be the problem?

Switched to the appropriate category.

Do you have your site url set to the exact url which you access it at?

What file store do you have selected for file uploads?

What guide did you use to setup your server?

I am facing the same issue here. Everything worked in browser. With mobile (ios) I can upload a pic smaller than 2mb, anything bigger than that, will have error instantly after click upload.

General setting Site URL is matching with ‘docker-compose.yml’

File system is s3

Installation was using https://github.com/RocketChat/docs/pull/1638/files as guide because of Ubuntu LTS (18.04)

UPDATE:

Fixed the issue by updating Nginx config.

in ‘server’ block, add client_max_body_size 10M; you can change the max size accordingly

2 Likes