Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images are not sent #1647

Closed
giterium opened this issue Feb 1, 2020 · 14 comments
Closed

Images are not sent #1647

giterium opened this issue Feb 1, 2020 · 14 comments

Comments

@giterium
Copy link

giterium commented Feb 1, 2020

  • Your Rocket.Chat app version: 4.2.3.273
  • Your Rocket.Chat server version: 2.4.1
  • Device (or Simulator) you're running with: Iphone XS

Error uploading image into direct chat or channel. From the desktop are sent.

There is no such problem with older versions of the server (0.7.4)

If the image format is png then there is no problem. Although maybe they are already reduced

@diegolmello
Copy link
Member

How are you uploading?
Do you know the server file upload setting?
Can you reproduce it on https://open.rocket.chat?

@giterium
Copy link
Author

giterium commented Feb 3, 2020

In 4.3.1 this bug is not present you can close it

@giterium
Copy link
Author

giterium commented Feb 3, 2020

No the problem has not disappeared. One specific photo is loaded and the others are not. I didn't change the file upload settings. Docker version.

@giterium
Copy link
Author

giterium commented Feb 3, 2020

And I can send this one photo as many times as I want

@giterium
Copy link
Author

giterium commented Feb 3, 2020

Photos sent via watsapp are also transmitted

@giterium
Copy link
Author

giterium commented Feb 3, 2020

Probably problems with the file size

@giterium
Copy link
Author

giterium commented Feb 3, 2020

The only photo made on the phone that is sent weighs less than others-1107 kb, the rest is more than 1.5 mb

@giterium
Copy link
Author

giterium commented Feb 3, 2020

Changed to store upload files in the file system nothing has changed. Only small photos are uploaded. :(
The limit was set to -1

@giterium
Copy link
Author

giterium commented Feb 3, 2020

No there are smaller photos that are not loaded. I don't know what's going on. :)

@giterium
Copy link
Author

giterium commented Feb 3, 2020

Screenshots taken from the screen uploads normally. Apparently there is a problem with heic processing.

@giterium
Copy link
Author

giterium commented Feb 3, 2020

Small horizontal photos are sent normally (heic). I'm not sure of anything, though. Does anyone even care about this? :)

@giterium
Copy link
Author

giterium commented Feb 3, 2020

If you set the camera to save as jpg, they are not sent either

@diegolmello
Copy link
Member

Can you upload that photo to https://open.rocket.chat?
Try sending it to me: @diego.mello

@giterium
Copy link
Author

giterium commented Feb 3, 2020

Thanks for the help. Everything was solved by setting the client_max_body_size parameter in config of nginx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants