m4nuC / async-busboy

Promise based multipart form parser for KoaJS
MIT License
167 stars 58 forks source link

504 Gateway timeout for specific files (.csv / .xlsx) #57

Open vtex-uday opened 1 year ago

vtex-uday commented 1 year ago

Send the files with csv or xlsx in formdata, But async busboy just keep on waiting for the response and ending up with 504 gateway timeout. But if I use .xls file extension , It successfully parsing that incoming file. Could not find what's the issue for other file formats like .csv or .xlsx.

andreeacalinvtex commented 11 months ago

Same problem for me, but upload is not working for any of these formats. @vtex-uday did you manage to fix this somehow? we think this is because the node version. @m4nuC are there any plans for making the library work for newer Node versions?

vtex-uday commented 11 months ago

Hey @andreeacalinvtex , Unfortunately No, I tried many ways but it doesn't seems working. For now we have restricted the user to only upload ".xls" as only that extension is working.

vtex-uday commented 11 months ago

@andreeacalinvtex , We tried to use co-busboy library, which is simple and easy to use. You can try to use it.