Meteor-Community-Packages / Meteor-CollectionFS

Reactive file manager for Meteor
MIT License
1.05k stars 237 forks source link

CollectionFS - Nginx - Issue on Chrome #967

Open mlecoq opened 8 years ago

mlecoq commented 8 years ago

Hi,

My meteor app is behind a nginx server. I have one issue when I try to upload files (bigger than 2Mb) on Chrome (Firefox and Safari are ok): files are partially uploaded (like cropped)

I have this issue in the navigator console :

Failed to load resource: the server responded with a status of 502 () 8b2841a….js?meteor_js_resource=true:294 Error: "Queue" failed [502] <!DOCTYPE html> <html> <head> <title>Error</title> <style> body { width: 35em; margin: 0 auto; font-family: Tahoma, Verdana, Arial, ... [undefined], Error: failed [502] <!DOCTYPE html> <html> <head> <title>Error</title> <style> body { width: 35em; margin: 0 auto; font-family: Tahoma, Verdana, Arial, ... [undefined] at 8b2841a….js?meteor_js_resource=true:296 at 8b2841a….js?meteor_js_resource=true:296 at 8b2841a….js?meteor_js_resource=true:1 at XMLHttpRequest.k.onreadystatechange (8b2841a….js?meteor_js_resource=true:296)u.runTaskDone @ 8b2841a….js?meteor_js_resource=true:294 https://fr.office.epiderm.co/sockjs/911/i1p1vez4/xhr Failed to load resource: the server responded with a status of 502 ()

mlecoq commented 8 years ago

I have the same issue with apache. I have tried to remove compression with graphicsmagick and I still have my images that are cropped.

rafa-munoz commented 8 years ago

Same issue here. Did you find any solution?

mlecoq commented 8 years ago

In fact, I was using nginx 1.9.xx (compiled manually).

I have reinstalled an older version of nginx using apt-get and now it works fine